| Newsgroups |
gmane.linux.lfs.book |
| Message-ID |
<177756909904.22233.14740929830942978379@rivendell.linuxfromscratch.org> |
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch trunk
in repository lfs.
The following commit(s) were added to refs/heads/trunk by this push:
new 9d66f8e5e grub: minor reword
9d66f8e5e is described below
commit 9d66f8e5ede49ceee4182cd934ffc0d64db8490b
Author: Xi Ruoyao <[email protected]>
AuthorDate: Fri May 1 01:07:49 2026 +0800
grub: minor reword
- Use "firmware setup" instead of "BIOS": in the context of the grub
page "BIOS" almost always means "MBR boot," but here it means the
firmware setup interface.
- We may manipulate any EFI variable (unless the firmware makes it read
only) by directly writing the efivarfs, but GRUB needs efibootmgr.
- We don't necessarily install LFS into the same disk where ESP exists.
---
chapter10/grub.xml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/chapter10/grub.xml b/chapter10/grub.xml
index 904f2f04c..c430c31a7 100644
--- a/chapter10/grub.xml
+++ b/chapter10/grub.xml
@@ -216,14 +216,14 @@ xorriso -as cdrecord -v dev=/dev/cdrw blank=as_needed grub-img.iso</userinput></
location would result in the location in a EFI variable be recorded,
but LFS lacks the BLFS package <ulink
url="&blfs-book;postlfs/efibootmgr.html">efibootmgr</ulink>, which is
- needed to manipulate EFI variables.
+ needed by GRUB to record the location into the EFI variable.
</para>
<note>
<para>
Some UEFI bootloaders, while rare, skip the hardcoded EFI path. Such
systems most of the time are old, like Lenovo ThinkPads or HP
- desktops/laptops. When the boot entry is missing in the BIOS, you
+ desktops/laptops. When the boot entry is missing in the firmware setup, you
will need to install the BLFS package <ulink
url="&blfs-book;postlfs/efibootmgr.html">efibootmgr</ulink> to create
a boot entry for UEFI. If it's easier, the package can be installed
@@ -244,9 +244,9 @@ xorriso -as cdrecord -v dev=/dev/cdrw blank=as_needed grub-img.iso</userinput></
-p <replaceable><y></replaceable> -L "LFS" -l '\EFI\BOOT\BOOT<replaceable><X64></replaceable>.EFI'</userinput></screen>
<para>
The <literal>/dev/sd<replaceable><x></replaceable></literal>
- drive should match the one you are installing LFS onto. The
+ drive should be the device node for the disk where the ESP exists. The
<replaceable><y></replaceable> partition number should match
- the number which the ESP is mounted. If the ESP is on
+ the number of the ESP. If the ESP is on
<literal>/dev/sda2</literal>, then the partition number would be
<literal>2</literal>. If you are using 32-bit UEFI, replace
<replaceable><X64></replaceable> with <literal>IA32</literal>.
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
--
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page