mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
Expand discussion of UEFI in kernel and grub sections
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11165 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
6bc94ca247
commit
8e65a6a3ae
@ -38,15 +38,18 @@
|
|||||||
grub-mkrescue --output=grub-img.iso
|
grub-mkrescue --output=grub-img.iso
|
||||||
xorriso -as cdrecord -v dev=/dev/cdrw blank=as_needed grub-img.iso</userinput></screen>
|
xorriso -as cdrecord -v dev=/dev/cdrw blank=as_needed grub-img.iso</userinput></screen>
|
||||||
|
|
||||||
<note><para>Most newer systems now come with system firmware that is in
|
<note>
|
||||||
UEFI (Unified Extensible Firmware Interface) mode by default. To boot LFS
|
<para>
|
||||||
on these systems using the instructions here, the UEFI Mode and Secure Boot
|
To boot LFS on host systems that have UEFI enabled, the kernel needs to
|
||||||
capabilities need to be turned off. There are ways to boot with these
|
have been built with the CONFIG_EFI_STUB capabality described in the
|
||||||
capabilities still enabled, but then are not covered here. For details,
|
previous section. However, LFS can be booted using GRUB2 without such
|
||||||
see <ulink
|
an addition. To do this, the UEFI Mode and Secure Boot capabilities in
|
||||||
|
the host system's BIOS need to be turned off. For details, see <ulink
|
||||||
url="http://www.linuxfromscratch.org/hints/downloads/files/lfs-uefi.txt">
|
url="http://www.linuxfromscratch.org/hints/downloads/files/lfs-uefi.txt">
|
||||||
the lfs-uefi.txt hint</ulink> at
|
the lfs-uefi.txt hint</ulink> at
|
||||||
http://www.linuxfromscratch.org/hints/downloads/files/lfs-uefi.txt.</para></note>
|
http://www.linuxfromscratch.org/hints/downloads/files/lfs-uefi.txt.
|
||||||
|
</para>
|
||||||
|
</note>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
|
@ -121,6 +121,24 @@ File systems --->
|
|||||||
Index of Kernel Settings</ulink>
|
Index of Kernel Settings</ulink>
|
||||||
(&lfs-root;blfs/view/&short-version;/longindex.html#kernel-config-index).</para>
|
(&lfs-root;blfs/view/&short-version;/longindex.html#kernel-config-index).</para>
|
||||||
|
|
||||||
|
<note>
|
||||||
|
<para>If your host hardware is using UEFI, then the 'make defconfig'
|
||||||
|
above should automatically add in some EFI-related kernel options.</para>
|
||||||
|
|
||||||
|
<para>In order to allow your LFS kernel to be booted from within your
|
||||||
|
host's UEFI boot environment, your kernel must have this option
|
||||||
|
selected:</para>
|
||||||
|
|
||||||
|
<screen role="nodump">Processor type and features --->
|
||||||
|
[*] EFI stub support [CONFIG_EFI_STUB]</screen>
|
||||||
|
|
||||||
|
<para>A fuller description of managing UEFI environments from within LFS
|
||||||
|
is covered by the lfs-uefi.txt hint at
|
||||||
|
<ulink
|
||||||
|
url="http://www.linuxfromscratch.org/hints/downloads/files/lfs-uefi.txt"/>.
|
||||||
|
</para>
|
||||||
|
</note>
|
||||||
|
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<title>The rationale for the above configuration items:</title>
|
<title>The rationale for the above configuration items:</title>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user