On Sat, Jan 26, 2013 at 08:43:49AM -0500, matthew gruda wrote:
>
> the grub entry for LFS looks like this:
>
> menuentry "Linux From Scratch (7.2) (on /dev/sda1)" --class gnu-linux
> --class gnu --class os {
> insmod part_msdos
> insmod ext2
> set root='(hd0,msdos1)'
> ##search --no-floppy --fs-uuid --set=root
> 5dd84417-6b84-4ce7-b165-a19e32cf6d31
> linux /boot/vmlinuz-3.5.2-lfs-7.2 root=/dev/sda1 ro
> }
>
> Eveything looks right, I commented out that line since the book didn't have
> it (tried with and without it), but it doesn't seem to work either way
In that case, I think that either you have the filesystem on sda1
defined as a module ('M' instead of 'Y' in .config for whichever of
ext2,3,4 you used), or the disk controller is missing or set as a
module. Distros use an initrd to load modules so that they can mount
the real root filesystem, LFS doesn't.
If the filesystem is ok, look under Device Drivers -> Serial ATA
and Parallel ATA drivers. On the host system (ubuntu in this case)
use lsmod to check which of these drivers are loaded as modules.
ĸ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