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
kernel /boot/kernel-genkernel root=/dev/ram0 real_root=/dev/sda9
title LFS 6.3
kernel /boot/lfskernel-188.8.131.52 root=/dev/sda10
in the LFS' /boot:System.map-184.108.40.206 lfskernel-220.127.116.11
nobody can help me.....
same problem for me.............what to do?
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.
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.
|All times are GMT -5. The time now is 12:23 AM.|