PDA

View Full Version : [ubuntu] Unable to boot to new kernel



ub007
November 20th, 2008, 07:47 AM
Hi,

I installed a new kernel by doing the following

wget http://www.kernel.org/pub/linux/kern....2.6.26.6.tar.gz


#mv linux-2.6.26.6.tar.gz /usr/src
#cd /usr/src
#tar zxvf linux-2.6.26.tar.gz
#cd linux-2.6.26.6
linux-2.6.26.6 #make menuconfig //didnt make any changes
linux-2.6.26.6#make dep
linux-2.6.26.6#make
linux-2.6.26.6#make modules_install
linux-2.6.26.6#make install

Now when i check /booot,i find the foll entries for the new kernel.


config-2.6....
System.map-2.6....
vmlinuz-2.6.....

I'm not seeing the initrd... file.Theres one entry -initrd.img-2.6.24-19-generic ,which is for the old kernel.

Now I add this stanza to /boot/grub/menu.lst
title Ubuntu
root (hd0,3)
kernel /boot/vmlinuz-2.6.26.6 ro root=LABEL=/

//initrd /initrd.img-2.6.24-19-generic - I couldnt make an entry corresponding to this as theres no initrd file in the /boot dir for the new kernel

Gives me error msg-kernel panic'

What am i missing here?


Cheers
David