On Sat, Jul 14, 2012 at 09:06:13AM -0700, gmspro wrote:
> @martynvidler,
> 
> No, it's not usb device.
> It's the sata 2nd hard disk(sdb). partition = 8 , so /dev/sdb8
> Then first hard disk is a ATA(sda).
> 

 I think you had errors between starting to boot, and the part that
you showed us, which I've snipped.

 So far, I think we can assume that the root= part of your grub entry
is correct - you have managed to boot *a* kernel, and it has tried
to use the LFS system's bootscripts.

1, My one lingering suspicion is about /boot/vmlinuz : is that what
you called your LFS kernel, or is it either the host's kernel, or a
symlink to it ?

 ls -l /boot on the host (if you have a shared /boot). - I'm not sure
where to look, nor where to point grub, if the kernel for LFS is in
the /boot directory of the LFS '/' partition.

2. If the kernel is the correct LFS kernel, then I suggest you add
"init=/bin/bash" to the command line.

 That should drop you into a read-only shell.  It won't be very
pleasant, but you can login and then step through the commands in
/etc/rc.d/rcS.d/ in order, i.e. S00mountvirtfs, S05modules, etc.
These are all symlinks to the scripts in /etc/rc.d/init.d so you can
run them as
/etc/rc.d/init.d/mountvirtfs start
/etc/rc.d/init.d/modules start
and so forth

 Stop at the first error.  If you are able to, fix it or work around
it (if necessary by rebooting and re-entering chroot from the host).

 If you get through S90sysctl without errors, continue with the
scripts in rc3.d in the same manner.

 Take your time, this is where you will gain a better knowledge of
how it all fits together.  Good luck!

ĸen
-- 
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

Reply via email to