From 1c16a05b81ec540ee72c74ff727e285b1440f385 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Fri, 9 Apr 2021 19:07:48 +0800 Subject: modify the reference to lfs-uefi hint to BLFS instead --- chapter10/grub.xml | 22 +++++++++------------- chapter10/kernel.xml | 19 ++++--------------- 2 files changed, 13 insertions(+), 28 deletions(-) (limited to 'chapter10') diff --git a/chapter10/grub.xml b/chapter10/grub.xml index 356cb4105..f54dbd2f9 100644 --- a/chapter10/grub.xml +++ b/chapter10/grub.xml @@ -16,6 +16,15 @@ Using GRUB to Set Up the Boot Process + + + If your system has UEFI support and you wish to boot LFS with UEFI, + you should skip this page, and config GRUB with UEFI support + using the instructions provided in + the BLFS page. + + + Introduction @@ -37,19 +46,6 @@ grub-mkrescue --output=grub-img.iso xorriso -as cdrecord -v dev=/dev/cdrw blank=as_needed grub-img.iso - - - To boot LFS on host systems that have UEFI enabled, the kernel needs to - have been built with the CONFIG_EFI_STUB capability described in the - previous section. However, LFS can be booted using GRUB2 without such - 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 - the lfs-uefi.txt hint at - &hints-root;lfs-uefi.txt. - - - diff --git a/chapter10/kernel.xml b/chapter10/kernel.xml index d3bd90695..1a2861856 100644 --- a/chapter10/kernel.xml +++ b/chapter10/kernel.xml @@ -149,21 +149,10 @@ File systems ---> (&lfs-root;blfs/view/&short-version;/longindex.html#kernel-config-index). - If your host hardware is using UEFI, then the 'make defconfig' - above should automatically add in some EFI-related kernel options. - - 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: - -Processor type and features ---> - [*] EFI stub support [CONFIG_EFI_STUB] - - A fuller description of managing UEFI environments from within LFS - is covered by the lfs-uefi.txt hint at - . - + If your host hardware is using UEFI and you wish to boot the + LFS system with it, you should adjust some kernel configuration + following + the BLFS page. -- cgit v1.2.3-54-g00ecf