LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   unable to boot an new kernel (https://www.linuxquestions.org/questions/ubuntu-63/unable-to-boot-an-new-kernel-685535/)

shariefbe 11-23-2008 07:17 AM

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

#cd /usr/src/linux-2.6.22.14
#make menuconfig
#make
#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
quiet

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-2.6.22.14 root=/dev/hda1 ro


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

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 07: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 08:32 AM

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

shariefbe 11-23-2008 11:25 PM

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 11:28 AM

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

Begin :waiting for root file system

what to do?

shariefbe 11-27-2008 09:27 AM

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

http://www.linuxquestions.org/questi...154/page2.html

XavierP 11-27-2008 10: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: http://www.linuxquestions.org/questi...lation-685154/


All times are GMT -5. The time now is 01:21 PM.