Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 06-16-2005, 03:43 AM   #1
LQ Newbie
Registered: Dec 2004
Posts: 10

Rep: Reputation: 0
kernel panic: VFS unable to mount root fs on unknown-block(3,1)

built LFS 6.0 using nALFS and a profile from NALFS.

partition info:

hda1 = ext3
hda5 = ext3
hda6 = swap

root (hd0,0)
setup (hd0)

any idea what might be causing this?
Old 06-16-2005, 12:21 PM   #2
Registered: Aug 2004
Distribution: LFS
Posts: 350

Rep: Reputation: 30
The message means the kernel cannot find the root file system, make sure that grub is parsing the correct root=/dev/???? parameter, make sure that the device exists and that the kernel has driver support for the device compiled in.

Old 06-21-2005, 02:22 AM   #3
LQ Newbie
Registered: Jun 2005
Posts: 8

Rep: Reputation: 0
I had the same problem useing reiserfs untill i found that i had forgot to compile in reiserfs support into my kernel
Old 06-29-2006, 01:56 PM   #4
LQ Newbie
Registered: Jun 2006
Posts: 1

Rep: Reputation: 0
i fixed it!!!!!!!!!!!11

well i had that problem, but what i did was create an initial ram drive to init
i mean

mkinitrd -c -k 2.6.13 -m reiserfs

thats of course because i have kernel 2.6.13, in slackware, with reiserfs and i was in /boot

and then i added next line to /boot/grub/menu.lst after the kernel calling

initrd /boot/initrd.gz

and that was that
Old 08-15-2008, 06:47 AM   #5
LQ Newbie
Registered: Jul 2008
Posts: 24

Rep: Reputation: 15
bash: mkinitrd: command not found


i want to install initrd on my new lfs but the command not found error comes on the screen how to overcome the problem, is there any solution for it please forward it to me.

Old 08-15-2008, 08:06 AM   #6
LQ Newbie
Registered: Nov 2006
Location: Paris
Distribution: fedora core 3
Posts: 8

Rep: Reputation: 0

The best documentation on this has been written by kernel developper Greg Kroah-Hartman. His book "the linux kernel in a nutshell" deals with all you have to know to build a kernel by yourself. You can finf this book (free documentation) here :

The solution of your problem is detailled in "Chapter 7: Customizing a Kernel" but the whole book is worth reading.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel panic - not syncing : VFS: unable to mount root FS on unknown-block Dankles Slackware 23 01-28-2011 04:01 AM
Kernel Panic: VFS: Unable to mount root fs on unknown-block Igor007 Programming 3 08-14-2005 08:54 PM
Kernel Panic: VFS: Unable to mount root fs on unknown-block(3,65) kpaske Linux - Newbie 1 08-07-2004 01:03 AM
Kernel Panic:VFS:Unable to mount root fs on Unknown block dinesha Linux - Software 2 02-27-2004 01:37 PM
kernel panic VFS: unable to mount root fs on unknown-block (0,0) demmylls Linux - General 2 02-08-2004 11:18 AM

All times are GMT -5. The time now is 03:54 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration