Installing Kubuntu – notes

Disk Setup: 1 x 160Gb HDD
hd1 106 Mb ext3 /boot bootflag: on
hd2 1024Mb swap
hd3 20GB reiserfs / ##root dir
hd4 …the rest reiserfs /home

Raid setup: 5 x 160Gb HDD
5x hd1 106 Mb raid1 ext3 /boot bootflag: on all 5
5x hd2 1024Mb no raid swap
5x hd3 4GB Raid5 reiserfs / ##root dir
5x hdd4 …the rest Raid5

The rest will be installed with VML

When [!!] Finish the installation Message Appears:
ALT F2
chroot /target /bin/bash
passwd ##make root password

When computer starst after install the first time, RAID needs to be fixed:
su
cat /proc/mdstat
mount ##checking
mount -a ##Fixing
mount ##Checking for the changes
exit

Fixing Grub:
su
cp /boot/grub/menu.lst /boot/grub/menu.lst.bak
nano -w /boot/grub/menu.lst

look for line:
# kopt=root=/dev/md1 ro
or
# kopt=root=/dev/hd1 ro

change to

# kopt=root=/dev/md1 ro nohdparm
or
# kopt=root=/dev/hd1 ro nohdparm

ctrl o
ctrl x

(This will add the new parameter I put there to all new kernels I install)
Also all the kernel lines that are already there can be fixed this way…

Fixing Swap if Raid instal:

su
nano -w /etc/fstab

change on all 5 swap the “sw” to pri=”1″

ctrl o
ctrl x

then make the changes with
swapoff -a
swapon -a
swapon -s

How-to maximize raid rebuild speed:

su
cat /proc/sys/dev/raid/speed_limit_max
check the max speed, it is like 20000
cat /proc/sys/dev/raid/speed_limit_min
check the min speed, it is like 1000 only

echo 20000 > /proc/sys/dev/raid/speed_limit_min

##echo can write config data to the proc stuff
##cat reads settings
##echo changes settings

setting LVM:
su
cp /etc/lvm/lvm.conf /etc/lvm/lvm.conf.bak
nano -w /etc/lvm/lvm.conf

go down to line starting with filter…

Folyt Kov…

Leave a Reply