| Newsgroups |
gmane.linux.lfs.book |
| Message-ID |
<177009237542.530.6395284192133386541@rivendell.linuxfromscratch.org> |
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch zeckma/uefi-support
in repository lfs.
The following commit(s) were added to refs/heads/zeckma/uefi-support by this push:
new 6339c03ad kernel: Add and include UEFI kernel options.
6339c03ad is described below
commit 6339c03ad710855432dd9365af787d55da76c5c2
Author: Zeckmathederg <[email protected]>
AuthorDate: Mon Feb 2 21:20:33 2026 -0700
kernel: Add and include UEFI kernel options.
---
chapter10/kernel.xml | 19 +++++++++----------
chapter10/kernel/uefi.toml | 12 ++++++++++++
chapter10/kernel/uefi.xml | 22 ++++++++++++++++++++++
3 files changed, 43 insertions(+), 10 deletions(-)
diff --git a/chapter10/kernel.xml b/chapter10/kernel.xml
index 66e58f46b..8fb95d875 100644
--- a/chapter10/kernel.xml
+++ b/chapter10/kernel.xml
@@ -165,11 +165,18 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="kernel/nvme.xml"/>
+
+ <para>If you are booting with UEFI, adjust the kernel so it can have EFI
+ partition and runtime support, on top of supporting the DOS VFAT
+ filesystem which is needed for the EFI partition:</para>
+
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="kernel/uefi.xml"/>
</note>
<note revision="systemd">
- <para>While "The IPv6 Protocol" is not strictly
- required, it is highly recommended by the systemd developers.</para>
+ <para>While "The IPv6 Protocol" is not strictly required, it is highly
+ recommended by the systemd developers.</para>
</note>
<para>There are several other options that may be desired
@@ -178,14 +185,6 @@
url="&lfs-root;blfs/view/&short-version;/longindex.html#kernel-config-index">BLFS
Index of Kernel Settings</ulink>.</para>
- <note>
- <para>If your host hardware is using UEFI and you wish to boot the
- LFS system with it, you should adjust some kernel configuration
- following <ulink url="&blfs-book;postlfs/grub-setup.html#uefi-kernel">
- the BLFS page</ulink> <emphasis role='bold'>even if you'll use the
- UEFI bootloader from the host distro</emphasis>.</para>
- </note>
-
<variablelist>
<title>The rationale for the above configuration items:</title>
diff --git a/chapter10/kernel/uefi.toml b/chapter10/kernel/uefi.toml
new file mode 100644
index 000000000..38e436912
--- /dev/null
+++ b/chapter10/kernel/uefi.toml
@@ -0,0 +1,12 @@
+# forced by !EXPERT
+BLOCK = { value = '*', forced = true }
+EFI='*'
+EFI_STUB='*'
+PARTITION_ADVANCED='* '
+EFI_PARTITION="*"
+VFAT_FS="*M"
+EFIVAR_FS="*M"
+# forced by both ACPI and PCI on a typical x86 desktop/server system
+NLS = { value = "*", forced = "*" }
+NLS_CODEPAGE_437="*M"
+NLS_ISO8859_1="*M"
diff --git a/chapter10/kernel/uefi.xml b/chapter10/kernel/uefi.xml
new file mode 100644
index 000000000..eaac061c2
--- /dev/null
+++ b/chapter10/kernel/uefi.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+ "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
+<!-- Automatically generated by kernel-config.py
+ DO NOT EDIT! -->
+<screen role="nodump"><emphasis role='blue'>P</emphasis>rocessor type and features --->
+ [*] <emphasis role='blue'>E</emphasis>FI runtime service support [EFI]
+ [*] <emphasis role='blue'>E</emphasis>FI stub support [EFI_STUB]
+
+-*- <emphasis role='blue'>E</emphasis>nable the block layer ---> [BLOCK]
+ <emphasis role='blue'>P</emphasis>artition Types --->
+ [ /*] <emphasis role='blue'>A</emphasis>dvanced partition selection [PARTITION_ADVANCED]
+ [*] <emphasis role='blue'>E</emphasis>FI GUID Partition support [EFI_PARTITION]
+
+<emphasis role='blue'>F</emphasis>ile systems --->
+ <emphasis role='blue'>D</emphasis>OS/FAT/EXFAT/NT Filesystems --->
+ <*/M> <emphasis role='blue'>V</emphasis>FAT (Windows-95) fs support [VFAT_FS]
+ <emphasis role='blue'>P</emphasis>seudo filesystems --->
+ <*/M> <emphasis role='blue'>E</emphasis>FI Variable filesystem [EFIVAR_FS]
+ -*- N<emphasis role='blue'>a</emphasis>tive language support ---> [NLS]
+ <*/M> <emphasis role='blue'>C</emphasis>odepage 437 (United States, Canada) [NLS_CODEPAGE_437]
+ <*/M> N<emphasis role='blue'>L</emphasis>S ISO 8859-1 (Latin 1; Western European Languages) [NLS_ISO8859_1]</screen>
--
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