Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Linux in General => Linux Kernel => Topic started by: anil_garg5 on January 27, 2005, 06:15:01 AM

Title: kernel recompilation : VFS: Cannot open root device
Post by: anil_garg5 on January 27, 2005, 06:15:01 AM
when I boot from recompiled kernel, got the follwing error msg:


VFS: Cannot open root device "LABEL=/" or 00:00
Please append a correct "root=" boot option

Kernel panic: VFS:Unable to mount root fs on 00:00

Pls guide.
Title: kernel recompilation : VFS: Cannot open root device
Post by: Ricky on January 27, 2005, 08:19:26 AM
probably you have specified or by mistake it is thinking wront partition as root partition. In that concern edit your grub.conf  and see if the root partition is the correct one there.
Title: kernel recompilation : VFS: Cannot open root device
Post by: anil_garg5 on January 27, 2005, 09:41:51 AM
here is my grub.conf file.

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

title Red Hat Linux-up (compiled kernel)
        root (hd0,0)
        kernel /bzImage  ro root=LABEL=/
        initrd /initrd-2.4.20-8.img

===============================
I also tried to specified root=/dev/hda2 ( my root / partition)
i m using the same initrd image for new kernel. Is it is required to make a new initrd image for  a new kernel???
Title: kernel recompilation : VFS: Cannot open root device
Post by: dragoncity99 on May 03, 2005, 03:15:11 PM
root=LABEL=/

have something very very wrong with it. Can u double confirm it?

One more thing is, can u double check ur kernel options on the filesystem section? I think something might be missing as well.