On Sun, 19 Mar 2006, An Knut wrote:
Hi! I have finished my first LFS-system and when I rebooted I got Kernel
Panic. I'm running it from a SATA-disk (sda4). Grub boots and loads the
kernel but kernel hangs with the following message:
Cannot open device sda4 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).
What is the problem? SCSI-support is compiled as a module.
In this case, that must be at least part of the problem. *anything* you
need to use for the kernel to be able to boot (I guess that means
"anything needed before the bootscripts get run") has to be compiled in
- distros can get round this with initrds, but we just compile disk
drivers and filesystems into the kernel.
How do I do to compile the kernel again? I used the LFS-liveCD as host.
How ? as before (so, chroot to the new system, start from the config
you used before), but this time under Device Drivers -> SCSI device
support select SCSI disk support and on the SCSI low-level drivers
sub-menu select Serial ATA (SATA) support and whichever SATA driver
matches your hardware.
If the built kernel source is still there, save the old .config first,
then make mrproper.
Ken
--
das eine Mal als Tragödie, das andere Mal als Farce
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page