[lfs-support] grub.cfg

Ray McCaffity summitflier at yahoo.com
Thu Aug 4 15:58:23 PDT 2016


OK, so I have everything compiled, all the filesystems built and linked.I think I'm ready to boot.  So I tried it.  But it says unknown filesystem.
But I'm having some trouble with grub.  I'm sure it's just a config issue.I was hoping to add this to the existing grub.cfg 
menuentry 'GNU/Linux, Linux 4.4.2-lfs-20160804-systemd' --class gnu-linux --class gnu --class os  {       set root=(hd1)       linux /boot/vmlinuz-4.4.2-lfs-20160804-systemd root=/dev/sdb3 ro

The build host OS (CentOS 7.2) sees the lfs disks like this.
/dev/sdb3                72117368 5430576  63000392   8% /mnt/lfs/dev/sdb1                 8256952   35840   7801684   1% /mnt/lfs/boot/dev/sdb4                51474912   53272  48783816   1% /mnt/lfs/home/dev/sdb2               swap (unmounted currently)
The host OS lives on /dev/sda (1 thru 7)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20160804/89fa86d5/attachment.html>


More information about the lfs-support mailing list