Kernel panic: VFS: Unable to mount root fs on 03:01

Gregory Davis gregdavis at ieee.org
Wed Nov 12 07:51:36 PST 2003


Paul Sutherland wrote:

> Hey,
>    I'm really new to Linux in general.  I went through the Linux From
> Scratch 4.0 book as closely as I could.  The only exception was that I
> don't have another Linux partition installed.  Instead I used Knoppix
> and booted from the CD.  Since "8.4 Making The System Bootable" was
> geared toward people who are installing LFS on a different partition, I
> am not sure if I did that right.  Well, anyways, when I rebooted LFS for
> the first time, I got the error:
> 
>        kmod: failed to exec /sbin/modprobe -s -k block-major-3, errno = 2
>        VFS: Cannot open root device "301" or 03:01
>        Please append correct "root=" boot option
>        Kernel panic: VFS: Unable to mount root fs on 03:01
> 
> Does anyone know what this means or how to go about solving it?  Thanks
> for your help
> 
> Paul


Aside from module based filesystems, I've seen people try to make a ramdisk
and use initrd, without a loopback device in /dev.  So initrd was not made,
but the kernel was installed and people reboot into a similar error.  If
your FS types are not modules, try disabling ramdisk use altogether.

Greg



More information about the lfs-support mailing list