Kernel panic: VFS: Unable to mount root fs on
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)
kernel /vmlinuz-2.4.20-8 ro root=/dev/sda2
title Red Hat Linux(2.4.20-9)
kernel /bzImage-2.4.20-9 ro root=/dev/sda2
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?