Saturday, 5 March 2016

Windows 7 Slow Install

Not linux related, but if you're installing Windows 7 and it's slow to display setup screens when boot from DVD.

Go into BIOS, disable Floppy Disk, and change IDE timeout from default 35 to 10.
Also unplug any other USB devices, keeping only mouse and keyboard.

Source: https://www.youtube.com/watch?v=kMVOpUS7feU

If, Windows Update is slow to run, download the standalone Windows Update Installer:

http://www.microsoft.com/downloads/details.aspx?FamilyId=4fe566bd-31b1-4413-8c4c-412b52533669

Source: http://superuser.com/questions/951960/windows-7-sp1-windows-update-stuck-checking-for-updates

Friday, 4 March 2016

Google Chrome 64-bit repo issue

sudo sed -i -e 's/deb http/deb [arch=amd64] http/' "/etc/apt/sources.list.d/google-chrome.list"
sudo sed -i -e 's/deb http/deb [arch=amd64] http/' "/opt/google/chrome/cron/google-chrome"

Saturday, 28 February 2015

Keyboard and trackpad freeze after resume/sleep on T61

Remove xorg nouveau display driver, and replace with nvidia driver

Saturday, 13 September 2014

Nvidia Kernel Update

sudo dpkg-reconfigure nvidia-304-updates
^ rebuilds nvidia driver after kernel updates, need to find a way to automatically do this

Add automatic dpkg rebuilds:
http://askubuntu.com/questions/111177/triggering-driver-module-rebuild-on-kernel-update

Best config for 7600 GS:-

In Desktop Effects:
OpenGL 2.0
Raster

Keep window thumbnails: Never
Scale method: Smooth
Suspend desktop effects for fullscreen windows: Untick

OpenGL Options: Tearing Prevention (Vsync): Full scene repaints

https://userbase.kde.org/Desktop_Effects_Performance#Qt_Graphics_System



Nvidia X Server Settings, changed Image Settings to High Performance

Saturday, 9 August 2014

Software Raid 1

using madam

setup partitions
sudo fdisk -l
/dev/sda <- 1="" disk="" p="">/dev/sdc <- 2="" disk="" p="">
Using gparted, create paritions, start with 1 MiB, round to MiB

Change filesystem type to Linux RAID

sudo fdisk /dev/sda
p (print table)
t (change type)
fd (Hex code for Linux RAID)
w (write)

do same with /dev/sdc

create raid 1
sudo mdadm --create /dev/md1 --level=1 --raid-devices=2 /dev/sda1 /dev/sdc1
- ignore warning of boot device

filesystem
sudo mkfs.ext4 /dev/md1

mount raid
sudo mkdir /media/raid1
sudo mount /dev/md1 /media/raid1

view raid status
cat /proc/mdstat
- or watch raid status
watch -n 2 cat /proc/mdstat

view details
sudo mdadm --query --detail /dev/md1

backup config
cp /etc/mdadm/mdadm.conf ~/mdadm.conf.backup

regen config
sudo /usr/share/mdadm/mkconf force-generate /etc/mdadm/mdadm.conf
sudo update-initramfs -u
- config should now contain array definitions

Source:
http://linuxconfig.org/linux-software-raid-1-setup
http://www.howtoforge.com/software-raid1-grub-boot-debian-etch
http://www.linuxmanpages.com/man8/mdadm.8.php
http://www.cyberciti.biz/faq/linux-creating-software-raid-one-arrays/
https://wiki.archlinux.org/index.php/fstab
https://raid.wiki.kernel.org/index.php/RAID_setup#Downloading_and_installing_mdadm_-_the_RAID_management_tool

Friday, 20 June 2014

Bookmarks

http://www.noobslab.com/2014/04/thingstweaks-to-do-after-install-of.html

Saturday, 31 May 2014

T61 Kubuntu 14.04

To disable bluetooth on start up:

/etc/rc.local:
echo disable > /proc/acpi/ibm/bluetooth
source: http://askubuntu.com/questions/67758/how-can-i-deactivate-bluetooth-on-system-startup