LinuxQuestions.org
Visit Jeremy's Blog.
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 09-24-2008, 04:44 AM   #1
wyylling
LQ Newbie
 
Registered: Sep 2008
Posts: 8

Rep: Reputation: 0
LFS 6.3 Kernel panic - not syncing:VFS: Unable to mount root fs on unknown-block(2,0)


VFS:Unable to mount root fs via NFS,trying floppy
VFS:Cannot open root device "sda10" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partions:
0340 78150744 hdb driver:ide-disk


Kernel panic - not syncing:VFS: Unable to mount root fs on unknown-block(2,0)

The harddisk layout is :

/dev/sda1 * .... HPFS/NTFS
/dev/sda2 .... W95 Ext'd(LBA)
/dev/sda5 .... HPFS/NTFS
/dev/sda6 .... HPFS/NTFS
/dev/sda7 * .... Linux
/dev/sda8 .... Linux swap/Solaris
/dev/sda9 .... Linux
/dev/sda10 .... Linux
My LFS is installed in the /dev/sda10


The grub/menu.lst is:

title Gentoo Linux 2.6
root (hd0,6)
kernel /boot/kernel-genkernel root=/dev/ram0 real_root=/dev/sda9
initrd /boot/initramfs-genkernel

title LFS 6.3
root (hd0,9)
kernel /boot/lfskernel-2.6.22.5 root=/dev/sda10

in the LFS' /boot:System.map-2.6.22.5 lfskernel-2.6.22.5

Last edited by wyylling; 09-24-2008 at 04:46 AM.
 
Old 09-24-2008, 07:02 AM   #2
wyylling
LQ Newbie
 
Registered: Sep 2008
Posts: 8

Original Poster
Rep: Reputation: 0
nobody can help me.....
 
Old 09-24-2008, 12:14 PM   #3
jestinjoy
Member
 
Registered: May 2004
Location: India
Distribution: Ubuntu 9.04, Debian Lenny
Posts: 121

Rep: Reputation: 22
same problem for me.............what to do?

Last edited by jestinjoy; 09-24-2008 at 12:20 PM.
 
Old 09-24-2008, 03:12 PM   #4
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
 
Old 09-24-2008, 03:15 PM   #5
FLLinux
Member
 
Registered: Jul 2004
Location: USA
Distribution: Fedora 9, LFS 6.3, Unbuntu 8.04, Slax 6.0.7
Posts: 145

Rep: Reputation: 15
Also looks like you might not have included the File system needed by the kernel to read the disk. I ran into this. Sometimes the config file leave out ext2 FS access. Make sure you have all the filesystems installed you need to read the hard drive.
 
  


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(8,1) anjanesh Ubuntu 9 01-27-2011 12:00 PM
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) OR13 Linux - Kernel 18 01-12-2008 09:23 AM
kernel panic - not syncing : VFS: unable to mount root FS on unknown-block kaplis Linux - Software 1 09-19-2006 01:44 AM
kernel panic - not syncing: VFS: unable to mount root fs on unknown-block(3,2) o2bfishn Slackware 5 04-28-2006 03:51 PM
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,2) Volgin Linux - Software 1 12-11-2005 07:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration