| Newsgroups |
gmane.linux.lfs.book |
| Message-ID |
<177557988503.7565.13091475165936759575@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 b9542eb83 Touch up discussion of UEFI partition in fstab.
b9542eb83 is described below
commit b9542eb837ae5e2c7bde8016aef88afdaee1c5c7
Author: Bruce Dubbs <[email protected]>
AuthorDate: Tue Apr 7 11:27:35 2026 -0500
Touch up discussion of UEFI partition in fstab.
Add a note to say UEFI partition only needs to be mounted when running
grub-install or to inspect the partition. It may be needed in BLFS when using
efibootmgr. It is definitly not needed to be in fstab for the boot process
to work.
I also needed to remove several unneeded options in the example fstab
line because it ran off the right side of the page. It's a bit
unfortunate that fstab does not have the capability of understanding
backslash-newline.
---
chapter10/fstab.xml | 21 +++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)
diff --git a/chapter10/fstab.xml b/chapter10/fstab.xml
index ad5ae2a41..c5128ebbd 100644
--- a/chapter10/fstab.xml
+++ b/chapter10/fstab.xml
@@ -89,33 +89,42 @@ EOF</userinput></screen>
interpreted in the UTF-8 locale.</para>
<para>
- When booting with UEFI, the ESP must be formatted as a FAT filesystem, most
+ When installing GRUB with UEFI, the ESP must be formatted as a FAT filesystem, most
commonly VFAT. This file sees it as VFAT regardless. An example of how you
would go about an entry for the ESP would look like this:
</para>
<screen><userinput>cat >> /etc/fstab << "EOF"
-<literal>/dev/<replaceable><zzz></replaceable> /boot/efi vfat rw,relatime,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2</literal>
+<literal>/dev/<replaceable><zzz></replaceable> /boot/efi vfat rw,relatime,codepage=437,iocharset=iso8859-1 0 2</literal>
EOF</userinput></screen>
<para>
The <literal>iso8859-1</literal> IO charset is used here since UEFI
firmware implementations search for <filename
class="directory">\EFI\BOOT\BOOT...EFI</filename>, which in a
- case-sensitive environment would not be satisfied. So that charset is used
- to ensure the EFI image can be found.
+ case-sensitive environment would not be satisfied.
</para>
- <!--note>
+ <note>
+ <para>
+ The EFI filesystem only needs to be mounted when installing GRUB.
+ The system uses this partition before the kernel is loaded and is not used
+ otherwise. An alternative to adding this entry to the fstab file is to
+ manually mount it before running <command>grub-install</command> below
+ in <xref linkend="ch-bootable-grub"/>.
+ </para>
+ </note>
+
<para>In the latter case, the kernel emits the following message:</para>
+<!-- <note>
<screen><computeroutput>FAT: utf8 is not a recommended IO charset for FAT filesystems,
filesystem will be case sensitive!</computeroutput></screen>
<para>This negative recommendation should be ignored, since all other values
of the <quote>iocharset</quote> option result in wrong display of filenames in
UTF-8 locales.</para>
- </note-->
+ </note>-->
<para>It is also possible to specify default codepage and iocharset values for
some filesystems during kernel configuration. The relevant parameters
--
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