Linux in General > Linux Kernel

kernel recompilation : VFS: Cannot open root device

(1/1)

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

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

anil_garg5:
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???

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

Navigation

[0] Message Index

Go to full version