VFS: Cannot open root device

Submitted by chriz
on June 17, 2005 - 6:37am

Every time i`m trying to boot 2.6.9 kernel something like this appears:
"VFS: Cannot open root device or unknown block (3,65) ... append correct "root = " boot option. Kernel panic unable ...

I`ve tried many things and everything failed, i don` know what to do and i`m getting little bit dispaired. Could someone help me?

details

chriz
on
June 17, 2005 - 6:43am

I`ve forgotten to add:

system file: reiserfs
2 hard disks: hda &hdb
hda - windows
hdb - linux
kernel: 2.4.29 works more or less :)
and 2.6.9 - doesn`t work at all :(

compile the kernel

raziebe
on
June 18, 2005 - 3:54am

and mknitrd and check you have ram disk support in kernel
Raz Ben Jehuda

VFS...

chriz
on
June 19, 2005 - 1:10am

I`ve done what you said, but still there is a problem - kernel panic.
how can i load reiserfs module into ramdisk when i have no such module ( reiserfs is built into kernel) should i rebuild kernel with reiserfs as a module?

Make sure that there's a line

saisuman
on
June 19, 2005 - 10:16pm

Make sure that there's a line like this in your grub configuration.

kernel (hd0,0)/boot/vmlinuz root=/dev/hda4

NB: hd0,0 should be replaced by your boot filsystem, and /dev/hda4 is the root filesystem block device (the dev entry). Make sure they're both pointing to the right place.

Sure you've taken care of all this?

I had a similar problem df

cyberhawk (not verified)
on
June 27, 2005 - 3:55am

I had a similar problem
df -k output

/dev/hda2 /boot
/dev/hda1 /

My grub.conf before fixing the problem looked like:

root (hd0,0)
kernel /vmlinuz ro root=LABEL=/ /rhgb quiet

I just modified the second line to

kernel /vmlinuz and that solved the problem. I am a bit preplexed.

but it works!

S

it is not the file system

raziebe
on
June 20, 2005 - 2:28am

the problem is not the filesystem but the block device.
Check in the kernel whether you have support for the type of disks you trying to boot.

Raz Ben Jehuda

i` ve got IDE disks and all I

chriz
on
June 20, 2005 - 11:06am

i` ve got IDE disks and all IDE drivers are built into kernel. 2.4.29 with the same divers works, and 2.6.9 not.

Yes, I have similar problem,

Marcin (not verified)
on
July 3, 2005 - 2:27am

Yes, I have similar problem, and this was helpfull to solve it

the fastest way to solve this

rz (not verified)
on
July 4, 2005 - 11:32am

the fastest way to solve this is simply by copying .config from a working kernel src tree, make menuconfig and then make install.

doesn't works

elf (not verified)
on
July 20, 2005 - 12:11am

Nah. Doesn't work even when I copy .config (exactly I've copied /boot/config-2.4.27) to my /usr/src/linux-2.4.31/
U see I have similar problem with SATA disk. I describe one below.
I got Seagate SATA disk. After installation all works fine but when I try to recompile new kernel (either 2.4.31 or 2.6.12) during boot time it shows VFS: Cannot open root device...
I've set on both SATA and ReiserFS (I use one) into the kernel. ReiserFS support is inserted into the kernel and SATA support is built as module (I use sata_via and libata modules).

make sure that you have sata

McBeastie (not verified)
on
August 12, 2005 - 3:25am

make sure that you have sata chipset support in your kernel-conf.
In my case (NForce4), I had have to choose the nv-sata-support in the section "Device Drivers/SCSI device support/SCSI low-level drivers".

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.