As Pierre said, the guide in the LFS book is outdated. And you may have to patch grub make configs first to let it go smoothly.
Please find my attached patches, and patch it before make.
On 4/18/2019 20:05,Dharma Mati<[email protected]> wrote:
My system is multiboot with many distros.So I think I have some small experience in installing efi-grub.My suspicion is that when I compiled grub for LFS I didnt compile it with efi.OR that I havent yet installed efibootmgr.But is efibootmgr needed at the stage of grub-install?If not then I will add an efi boot entry for lfs later from my debian host.PS I tried to compile grub without the --disable-efiemu flag.But I got an error at compile time.On Thu, Apr 18, 2019 at 2:48 PM Dharma Mati <[email protected]> wrote:Hi,Thanks for your kind swift reply../configure --prefix=/usr \--sbindir=/sbin \ --sysconfdir=/etc \ --disable-efiemu \ --disable-werrorI used this stanzaOn Thu, Apr 18, 2019 at 2:37 PM niuneilneo <[email protected]> wrote:--Dear Dahrma,Have you built grub with efi support?Yours sincerely,Neil
On 4/18/2019 19:31,Dharma Mati<[email protected]> wrote:Hi All,I had a fantastic time building LFS-8.4.Everything went smoothly.I installed the 4.20 kernel and used a .config from my debian system--meaning that the kernel is built with full functionality.The problem is my system is uefi.When I try to do grub-install --target=x86_64-efi .................. i get an error about a missing script.Please clearly point me to how to install lfs grub for efi.Also I use lvm.So i created an initramfs with your script mkinitramfs.I hope everything will work nicely.Thanks for your consideration,Dharma
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
grub2.02-relocation0x4.patch
Description: Binary data
-- 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
