Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU |
Guys and Gals I recompiled 2.4.20 on a box which is running 2.4.18 from RedHat8.0. It has LVM installed on one of the disks. RH8.0 boots just fine. I did following for the new kernel: Build using 'make dep && make clean && make bzImage && make modules && make modules_install' (LVM was built as a module) copied bzImage file from new build to /boot/new_kernel. Copied /boot/initrd-2.4.18-14.img (the RH8 version) to /tmp cd /tmp mv initrd-2.4.18-14.img initrd-2.4.18-14.gz tar xf initrd-2.4.18-14.gz mount -o loop initrd-2.4.18-14 /mnt cd /mnt/lib Here I replaced all modules in this directory with newly built modules from /lib/modules/2.4.20 directory. cd /tmp umount /mnt tar cf initrd-2.4.20.gz initrd-2.4.18-14 cp initrd-2.4.20.gz /boot Added a new stanza to lilo.conf : image=/boot/new_kernel label=linux read-only initrd=/boot/initrd-2.4.20.gz root=/dev/hdb5 After this When I try to boot this new kernel, it goes as far as 'Checking filesystems' then errors out saying various file systems are not found (These file systems are in /etc/fstab and are mounted on a logical volume). So the problem is that it doesn't do 'vgchange -a y' before checking file systems. Although I do have 'insmod lvm-mod' in the linuxrc file. I can't get it to recognize logical volume at the right time! The same /etc/rc.sysinit file boots great for RH8 kernel.... Any ideas? Thanks
BLU is a member of BostonUserGroups | |
We also thank MIT for the use of their facilities. |