LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 06-16-2005, 02:43 AM   #1
koolgentoo
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.

Code:
partition info:


hda1 = ext3
hda5 = ext3
hda6 = swap

grub:
root (hd0,0)
setup (hd0)

any idea what might be causing this?
 
Old 06-16-2005, 11:21 AM   #2
madluther
Member
 
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.

Mad.
 
Old 06-21-2005, 01:22 AM   #3
comtux
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, 12:56 PM   #4
Netcrow
LQ Newbie
 
Registered: Jun 2006
Posts: 1

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

hi
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, 05:47 AM   #5
luckybtn
LQ Newbie
 
Registered: Jul 2008
Posts: 24

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

hi,

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.

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

Rep: Reputation: 0
Hi,

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 : http://www.kroah.com/lkn/

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

Pouer
 
  


Reply


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 03:01 AM
Kernel Panic: VFS: Unable to mount root fs on unknown-block Igor007 Programming 3 08-14-2005 07:54 PM
Kernel Panic: VFS: Unable to mount root fs on unknown-block(3,65) kpaske Linux - Newbie 1 08-07-2004 12:03 AM
Kernel Panic:VFS:Unable to mount root fs on Unknown block dinesha Linux - Software 2 02-27-2004 12:37 PM
kernel panic VFS: unable to mount root fs on unknown-block (0,0) demmylls Linux - General 2 02-08-2004 10:18 AM


All times are GMT -5. The time now is 07:40 PM.

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