On 08/04/2016 06:58 PM, Ray McCaffity wrote:
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)
What filesystem are you using for your root partition, and did you
compile that into the kernel?
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style