[lfs] 02/03: grub: Build and install support for {x86_64,i386}-efi

"Git Owner" ([email protected] via lfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.book
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch xry111/uefi
in repository lfs.

commit 1f2604496404e1d6c2e9a579292b9ad42c5021c8
Author: Xi Ruoyao <[email protected]>
AuthorDate: Mon Dec 23 14:17:32 2024 +0800

    grub: Build and install support for {x86_64,i386}-efi
---
 chapter08/grub.xml | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/chapter08/grub.xml b/chapter08/grub.xml
index b301d4f5a..6e99488dc 100644
--- a/chapter08/grub.xml
+++ b/chapter08/grub.xml
@@ -111,6 +111,49 @@
 <screen><userinput remap="install">make install
 mv -v /etc/bash_completion.d/grub /usr/share/bash-completion/completions</userinput></screen>
 
+    <para>Now build the package again for allow booting the system with
+    the GRUB installation on 64-bit UEFI.  You may skip the instructions
+    if you don't need the support.
+    Clean up the source tree and configure the package again:</para>
+
+<screen><userinput remap="configure">make clean
+./configure --prefix=/usr          \
+            --sysconfdir=/etc      \
+            --target=x86_64        \
+            --with-platform=efi    \
+            --disable-efiemu       \
+            --disable-werror</userinput></screen>
+
+    <para>Compile the package again:</para>
+
+<screen><userinput remap="make">make</userinput></screen>
+
+    <para>Install the 64-bit UEFI support:</para>
+
+<screen><userinput remap="install">make -C grub-core install</userinput></screen>
+
+    <para>Now build the package again for allow booting the system with
+    the GRUB installation on 32-bit UEFI.  The hardware with 32-bit UEFI
+    is extremely rare and you may skip the instructions if you don't need
+    the support.  Clean up the source tree and configure the package
+    again:</para>
+
+<screen><userinput remap="configure">make clean
+./configure --prefix=/usr          \
+            --sysconfdir=/etc      \
+            --target=i386          \
+            --with-platform=efi    \
+            --disable-efiemu       \
+            --disable-werror</userinput></screen>
+
+    <para>Compile the package again:</para>
+
+<screen><userinput remap="make">make</userinput></screen>
+
+    <para>Install the 32-bit UEFI support:</para>
+
+<screen><userinput remap="install">make -C grub-core install</userinput></screen>
+
   <para>Making your LFS system bootable with GRUB will be discussed in
   <xref linkend="ch-bootable-grub" role='.'/></para>
 

-- 
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.