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

Friday, 28 February 2014

Nvidia driver keeps resetting after kernel update:

sudo apt-get purge nvidia-current
sudo apt-get install nvidia-current
Go to Additional Drivers reactivate 2nd driver
sudo modprobe nvidia

Frustrating as hell!

Monday, 12 November 2012

Saturday, 10 November 2012

Kubuntu 12.10 Upgrade

Killed my grub, so had to reinstall grub using Kubuntu 12.10 live cd

Boot splash screen wouldn't appear

in /etc/default/grub
Add:
GRUB_GFXPAYLOAD_LINUX=1280x1024x32


echo FRAMEBUFFER=y | sudo tee /etc/initramfs-tools/conf.d/splash
sudo update-grub2
sudo update-initramfs -u


Also had to put my desktop back (Folder View)

Source: http://askubuntu.com/questions/6033/enabling-nvidia-driver-messes-up-splash-screen

VMWare player patch:
http://communities.vmware.com/thread/401004