On 19-03-27 19:05, Xi Ruoyao via blfs-dev wrote:
Holy cow! My email client just auto-inputed blfs-dev when I entered "Bruce".
Another strange thing: in the trunk lfs-uefi.txt is a symlink to lfs-uefi-
20180409.txt, but
http://www.linuxfromscratch.org/hints/downloads/files/lfs-uefi.txt is still an
ancient one.
Hi Ruoyao,
Thank you so much for your valuable work. Your hint is very helpful and
came just at the right moment for me.
Perhaps would you like to get some feedback.
1. The grub-install command as by the hint was not working for me (this
is perhaps related to point 2. below); I had to specify explicitely the
mount point of the efi partition : --efi-directory=<DIR>
2. On my systems I like to put the grub bootloader stuff on a dedicated
disk partition, i.e. different of my built systems; this can be done by
adding the option --boot-directory=<DIR> where <DIR> is the mount point
of the separate dedicated partition.
Then I had to set the correct root in the menuentries. The statement set
root=(hd0,gpt3) did not work in the menuentry (partition not found at
boot time). I had to use the UUID to set the root :
menuentry "My LFS" {
search --no-floppy --fs-uuid --set=root <uuid of the LFS partition>
linux /boot/<kernel file> root=/dev/sda<y> ro
}
3. As you mentioned, the kernel option CONFIG_FB_EFI is not avalable on
some kernel versions (I am currently using 4.20.17); but this seems to
be harmless.
With best regards.
--
NicP
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page