LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Kernel panic: VFS: Unable to mount root fs on (https://www.linuxquestions.org/questions/linux-general-1/kernel-panic-vfs-unable-to-mount-root-fs-on-801569/)

lordofdarkness 04-12-2010 10:03 AM

Kernel panic: VFS: Unable to mount root fs on
 
Hi everyone;
I installed red hat 9 with VMware. i want to compile a new kernel. i did the steps of compilation and the version of my new kernel is 2.4.20-9. i also did the configuration in the /etc/grup.config for my new kernel. /grub.config looks like:

title Red Hat Linux(2.4.20-8)
root(hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=/dev/sda2
initrd /initrd-2.4.20-8.img

title Red Hat Linux(2.4.20-9)
root(hd0,0)
kernel /bzImage-2.4.20-9 ro root=/dev/sda2
initrd /initrd-2.4.20-9.img

The problem is ,when i try to boot from my new kernel(2.4.20-9) i get the error: "Kernel panic: VFS: Unable to mount root fs on" but if i boot the first kernel no error occurs. What should i write to grup.config as a root path?

zordrak 04-13-2010 03:51 AM

Your new kernel or initrd almost certainly is missing the drivers for your filesystem or for the VMware ATA controller. Double check that they are present.

scoobedoo 05-05-2010 07:10 AM

so,lordofdarkness can you tell us how you solved your problem?


All times are GMT -5. The time now is 12:41 PM.