LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   unable to boot an new kernel (http://www.linuxquestions.org/questions/linux-software-2/unable-to-boot-an-new-kernel-685487/)

shariefbe 11-23-2008 01:06 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 instal
l

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...

shariefbe 11-23-2008 02:36 AM

how to boot the new kernel please do favour for me.....i dont know what to do....when i boot from new kernel i am getting the error message..i mean in the last post.....somebody help me to clear this

salter 11-24-2008 07:06 PM

You either don't have an initrd image for your new kernel or it's not installed in /boot. Even if it's created and available, it certainly is not contained in your grub settings.

Linux Archive

shariefbe 11-25-2008 02:52 AM

sorry...i am newbie...how to boot the new kernel..please tell me and whats the procedure....Tanks 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:23 AM

KIndly refer post number 18 in the following link and find me solution please...

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


All times are GMT -5. The time now is 11:00 AM.