VFS: Cannot open root device
After updating linux RedHat Enterprise EL with the latest kernel .rpm, I rebooted the server to use the new Kernel, but now get the above error on bootup.
I have tried all kernel choices from the bootloader (Grub) and they all do the same thing, except 1. My grub.conf contains the following: -
default=3
timeout=10
splashimage=(hd0,2)/grub/splash.xpm.gz
title Red Hat Enterprise Linux ES (2.4.21-32.EL)
root (hd0,2)
kernel /vmlinuz-2.4.21-32.EL ro root=LABEL=/
initrd /initrd-2.4.21-32.EL.img
title Red Hat Enterprise Linux ES (2.4.21-32.ELsmp)
root (hd0,2)
kernel /vmlinuz-2.4.21-32.ELsmp ro root=LABEL=/
initrd /initrd-2.4.21-32.ELsmp.img
title Red Hat Enterprise Linux ES (2.4.21-27.0.4.EL)
root (hd0,2)
kernel /vmlinuz-2.4.21-27.0.4.EL ro root=LABEL=/
initrd /initrd-2.4.21-27.0.4.EL.img
title Red Hat Enterprise Linux ES (2.4.21-27.0.4.ELsmp)
root (hd0,2)
kernel /vmlinuz-2.4.21-27.0.4.ELsmp ro root=LABEL=/
initrd /initrd-2.4.21-27.0.4.ELsmp.img
title Red Hat Enterprise Linux ES (2.4.21-27.0.2.ELsmp)
root (hd0,2)
kernel /vmlinuz-2.4.21-27.0.2.ELsmp ro root=LABEL=/
initrd /initrd-2.4.21-27.0.2.ELsmp.img
title Red Hat Enterprise Linux ES (2.4.21-27.0.2.EL)
root (hd0,2)
kernel /vmlinuz-2.4.21-27.0.2.EL ro root=LABEL=/
initrd /initrd-2.4.21-27.0.2.EL.img
title Red Hat Enterprise Linux ES (2.4.21-4.ELsmp)
root (hd0,2)
kernel /vmlinuz-2.4.21-4.ELsmp ro root=LABEL=/
initrd /initrd-2.4.21-4.ELsmp.img
title Red Hat Enterprise Linux ES-up (2.4.21-4.EL)
root (hd0,2)
kernel /vmlinuz-2.4.21-4.EL ro root=LABEL=/
initrd /initrd-2.4.21-4.EL.img
My file system is as follows: -
/dev/sda6 /
/dev/sda3 /boot
/dev/shm swap
/dev/sda8 /tmp
/dev/sda5 /usr
/dev/sda7 /var
/dev/sda2 /home
I have tried replacing the root=LABEL=/ with root=/dev/sda3 or /dev/sda6
but with no luck.
All the image files and kernel binaries are in /boot
The permissions for the kernels are all rw-r--r, owned by root
The permissions for the .img files are all rw-r--r, owned by root
As my server is now using an old kernel and this seems like a grub misconfiguration, I would be grateful if someone could point me in the right direction as to why one option works (2.4.21-4.EL), but the rest don't?
Note: All the kernels prior to the upgrade used to work, so I cannot see the problem being with the kernels themselves.
Many thanks in advance.
Last edited by antony.booth; 05-24-2005 at 09:32 AM.
|