About Linux FAQ

Browse More FAQs:

Linux Kernel panic VFS Unable to mount root fs and solution

Posted by Vivek Gite [Last updated: March 13, 2008]

Q. I am using Linux on HP server and I am getting error that read as follows:
Linux Kernel panic: VFS: Unable to mount root fs

How do I solve this problem?

A. Most modern distributions including Debian uses loadable kernel module for ext3 file system. So to read ext3/ext2 file system kernel must load ext3 kernel module (ext3.ko).

This module is included in an initrd image. If an initrd image is missing or that image does not include suitable kernel modules to access the ext3 filesystem on the partition, an error message (Linux Kernel panic: VFS: Unable to mount root fs) will be displayed to you.

To solve this problem you need to use mkinitrd script that constructs a directory structure that can serve as an initrd root file system.

The instructions for creating initrd images are here on our site.

Subscribe to our free e-mail newsletter or RSS feed to get all updates. You can Email this page to a friend.

Related Other Helpful FAQs:

Discussion on This FAQ

  1. jayeola.org » Solution (perphaps) for Xen and vfs on RAID Says:

    [...] http://www.cyberciti.biz/faq/linux-kernel-panic-vfs-unable-to-mount-root-fs-and-solution/ Not on a *nix box right now but I ran the following in Jed `locate vfs` Which produced a few hundred lines. It’s veeeery low-level stuff but I know that there is no vfs module in the kernel. [...]

  2. Scott Smith Says:

    Most modern distributions including Debian uses loadable kernel module for ext3 file system. So to read ext3/ext2 file system kernel must load ext3 kernel module (ext3.ko).

    Would building ext2/ext3 into the kernel suffice? I have been trying to solve the problem by building everything needed for bootup into the kernel. If that is feasible in principle, how would I determine everything that needs to be built-in. This is on an Aspire 5720.

Leave a Reply

We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Tags: , , , , , , , , , , , , , , , ,

Copyright © 2006-2008 nixCraft. All rights reserved - TOS/Disclaimer - Privacy policy - Sitemap - Powered by Open source software.