kernel panic!

Mauricio Casanova mcasanov at gmail.com
Thu Jan 4 07:40:11 PST 2007


Hello,
I've already finished compiling, configuring and installing my LFS 
system. But, I obviously did something wrong, because when booting from 
my new LFS a kernel panic appears.
The last lines of the booting output are:
[...]
NET: Registered protocol family 1
Using IPI Shortcut mode
VFS: Cannot open root device "hda3" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on 
unknown-block(0,0)


I've googled around and solutions I've found are vast and different 
between them, none worked for me though.
One thing that may be useful to figure out what I'm missing, is that I 
couldn't execute the GRUB's comands: root (hd0,2) and setup (hd0,0). 
GRUB said that "Error 21: Selected disk does not exist".

The LFS partition is hda3, but I use the GRUB located at MBR (hda1). I 
copied the lfskernel-2.6.16.27 from '(hda3)/boot' to '(hda1)/boot' (I'm 
trying to use my older GRUB located at hda1) in order to be able of 
booting the LFS kernel.
The menu.lst configured is:
...................................................................................
title            Ubuntu, kernel 2.6.15-26-server
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.15-26-server root=/dev/hda1 ro quiet 
splash
initrd          /boot/initrd.img-2.6.15-26-server
savedefault
boot

title           LFS-2.6.16.27-redBox
root            (hd0,2)
kernel          /boot/lfskernel-2.6.16.27 root=/dev/hda3
...................................................................................

I really don't know if this a GRUB or kernel miss-configuration problem, 
or any other kind of issue.
Please help me on this.

--
Mauricio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 1934 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20070104/192a8d6f/attachment.bin>


More information about the lfs-support mailing list