Unable to mount root fs.

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
^rooker
Site Admin
Posts: 1483
Joined: Fri Aug 29, 2003 8:39 pm

Unable to mount root fs.

Post by ^rooker »

[PROBLEM]
"kernel panic: VFS: unable to mount root fs on..."
after compiling a new kernel. This error may have several reasons, but if you've checked the most obvious ones, here might be another solution.

[POSSIBLE-SOLUTION]
Make sure that you have "CONFIG_EXT2_FS" set to "Y" in the config file. One might easily have un-selected this option with menuconfig, since it's labelled something like "Secondary extended fs". Personally I would have expected something containing "ext2" (since 'ext3' is labelled that way).
greuff
Absolute Beginner
Posts: 2
Joined: Mon Feb 28, 2005 4:34 pm

Post by greuff »

All kinds of reasons. If you are absolutely sure you have the right filesystem drivers built in, you can also try to change the root filesystem that is mounted on startup with the linux "root=" bootparam (man bootparam). "rdev" can be used to permanently change the root partition for a linux kernel image
Post Reply