VFS: Cannot open root device "hda3" or unknown block(0,0)

Submitted by Anonymous
on December 1, 2004 - 9:29pm

Hi all:
I have been stuck with this problem for a few days now. Can someone please help.

I was running version 2.6.7 image which worked fine on debian unstable. but i wanted to enable ACPI so the need arose to download the source and compile the kernel. So I did that, and then got this error!

I looked at all the posts of the internet. Here are the things I have tried:
1. Included the ATA/IDE/etc support as 'Y' and recompiled kernel.
2 Change the "root" option to hexadecimal number which was 0303 was "hda3"

I don't know what else to try. Does someone know the answer??

I can still boot into my old image, and the VFS message looks something like this:
VFS: Mounted root (Cramsfs filesystem) readonly
I don't know what it means.

Thanks you to anyone who can help.

Cheers,
--
Setu.

ahh i just fixed it. it was

Anonymous
on
December 2, 2004 - 2:46am

ahh i just fixed it. it was really stupid.

for those of you who are as stupid as me (HAHA) i found out that debian uses cramfs filesystem during boot (don't know the exact details), but either you have to compile this inside the kernel or make an initrd image with the --initrd option. I just made the initrd image. Then it worked.

ny questions email me if you want, boltmelots@gmail.com

Thanks for reading. Adios.

Heh.

Anonymous
on
December 3, 2004 - 1:08am

In the future be sure to copy over your .config file from your original source (for debian I believe its gzip'd under /boot).

With kernel 1.6.10 solve the problem!!

ChebaARG (not verified)
on
February 14, 2005 - 9:32am

Hi:
I solve the problem using kernel 2.6.10 and compile with default !!

When i get

on
February 16, 2005 - 6:06pm

When I have this sort of panic it is usally due to:
1. mkinird is not good.
2. check rdev on the kernel.
3. boot with root=/dev/hda2 ( for example ).

Raz Ben Jehuda

Comment viewing options

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