Linux Kernel panic VFS Unable to mount root fs and solution

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.

Want to read Linux tips and tricks, but don't have time to check our blog everyday? Subscribe to our daily email newsletter to make sure you don't miss a single tip/tricks. Subscribe to our weekly newsletter here!

{ 1 trackback }

jayeola.org » Solution (perphaps) for Xen and vfs on RAID
10.27.06 at 8:13 pm

{ 2 comments… read them below or add one }

1 Scott Smith 03.13.08 at 6:51 pm

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.

2 dockyard 04.02.09 at 12:42 pm

Please provide some knowledge about Linux “Kernel Panic error”

Leave a Comment

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

Tagged as: , , , , , , , , , , , , , , , ,

Previous post: Linux change the speed and duplex settings of an Ethernet card

Next post: GUI Tools for managing MySQL databases server