-   Ubuntu (
-   -   unable to boot an new kernel (

shariefbe 11-23-2008 08:17 AM

unable to boot an new kernel
Hi..i am using ubuntu 7.10 that the preinstalled kernel is "linux-2.6.22-14 generic"...after that i planned to compile an new i downloaded from new kernel which i download is "linux-" i compiled that new kernel an d\tried to that i followed the below steps

#cd /usr/src/linux-
#make menuconfig
#make modules
#make modules_install
#make install

after this commands i opened this /boot/grub/menu.lst and i added the below lines extra which i given in the block letters...

title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=7ef4f8ec-7dd3-4c02-9f24-c9438e6b8bce ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic

title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=7ef4f8ec-7dd3-4c02-9f24-c9438e6b8bce ro single
initrd /boot/initrd.img-2.6.22-14-generic

title My Custom Kernel
root (hd0,0)
kernel /boot/vmlinuz- root=/dev/hda1 ro

title Ubuntu 7.10, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin

but now i am unable to boot from new kernel..when i select the new kernel means i am getting the following error

starting up.....
uncompressing linux...ok,booting the kernel
[ 53.987716]kernel panic - not syncing: VFS : unable to mount root fs on unknown -block(0.0)

so i dont know what to do...can any one suggest me what to do and how to do...cause i am new to linux...

dxqcanada 11-23-2008 08:55 AM

I think you have built some drivers as modular in your kernel that are required at boot time.

These usually are things like hard drive controllers and file systems.

If you use an initrd image then these get preloaded ... otherwise you will have to make those drivers built into the kernel.

amani 11-23-2008 09:32 AM

In Ubuntu, you can automate many of the steps. See the howtoforge site

shariefbe 11-24-2008 12:25 AM

ya i am telling that i dont know to create an initrd image...and the main thing is i am not having an initrd image in /boot/grub so can you tell the way of creating the image of initrd...the main thing is this command follows the error...

mkinitrd does not working...showing an error....what to do?

i edited the /boot/grub/menu.lst file to boot an new kernel...the edited things are typed in the first post itself...please see that and suggest me...and do favour....Thanks a lot

shariefbe 11-26-2008 12:28 PM

i made the changes even i am getting error as...

Begin :waiting for root file system

what to do?

shariefbe 11-27-2008 10:27 AM

please refer the post number 18 and find me solution please.....

XavierP 11-27-2008 11:54 AM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Continue here:

All times are GMT -5. The time now is 09:21 AM.