[lfs-support] Update lfs-uefi hint

Xi Ruoyao ryxi at stu.xidian.edu.cn
Tue Apr 10 01:52:06 PDT 2018

On 2018-04-10 08:48 +0800, niuneilneo wrote:
> Xi's work is great. But there are two minor issues that may need attention:
> 1, For my case, the ";" mark in the linux kernel  line of grub.cfg prevent grub to boot successfully, say:"linux
> /linuz-<lfs version> ; root=/dev/sda(partition num) ro" never works. I have to use "linux /linuz-<lfs version>
> root=/dev/sda(partition num) ro" I do not know whether this problem only exists in my environment.

Yes.  There should be no ";" here.  I didn't notice this issue
in 2017-02-07 hint.

> 2, If build the grub 2 after efibootmgr 15 version, it is compulsive to set the "EFIDIR" to the EFI boot directory.

Yes.  I forgot to add this.  And we should also set "EFI_LOADER"
to `grubx64.efi` though it's not strictly necessary.

A diff file is attached.
Xi Ruoyao <ryxi at stu.xidian.edu.cn>
School of Aerospace Science and Technology, Xidian University
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lfs-uefi-20180409.diff
Type: text/x-patch
Size: 1114 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20180410/c328e054/attachment.bin>

More information about the lfs-support mailing list