PDA

View Full Version : Initrd after kernel rebuild?



juerg
04-08-2005, 02:45 PM
I have a knoppix hd-install, which I operate with kernel 2.6.5. Now I wanted to switch to kernel 2.6.8 and did the following:


apt-get install kernel-source-2.6.8 (worked ok)
I then made a soft-link from /usr/src/linux to the dir of the new kernel source /usr/src/kernel-source-2.6.8 and did

make dep clean
make bzImage
make modules modules_install
mkinitrd -o /boot/initrd-2.6.8.img 2.6.8
Then I copied the new kernel into /boot and renamed it to /boot/vmlinuz-2.6.8

In GRUB menu.lst I copied the existing entry for the kernel 2.6.5, modified it to the above mentioned kernel name and changed the line with initrd
root (hd0,0)
kernel /vmlinuz-2.6.8 root=/dev/hde5 ro ramdisk_size=100000
initrd /initrd-2.6.8.img

It looks as if I missed something. I only get a blank screen when trying to boot - not even an error message.

All help will be much appreciated.

Juerg