aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/grub.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter08/grub.xml')
-rw-r--r--chapter08/grub.xml30
1 files changed, 16 insertions, 14 deletions
diff --git a/chapter08/grub.xml b/chapter08/grub.xml
index 357036c34..63a4e13c0 100644
--- a/chapter08/grub.xml
+++ b/chapter08/grub.xml
@@ -42,11 +42,22 @@
<note>
<para>
- If your system has UEFI support and you wish to boot LFS with UEFI,
- you can skip this package in LFS,
- and install GRUB with UEFI support (and its dependencies) by following
- the instructions on
- <ulink url="&blfs-book;postlfs/grub-efi.html">the BLFS page</ulink>.
+ On LoongArch systems, the following instruction builds GRUB for UEFI.
+ But the built GRUB lacks some features because a few optional
+ dependencies of GRUB for UEFI is beyond the scope of LFS and not
+ installed yet.
+ </para>
+ <para>
+ If your system firmware does not support UEFI, you need to skip the
+ content of this page and try to figure out how to boot your system.
+ </para>
+ <para>
+ If your system firmware supports UEFI and you want a fully
+ functional GRUB, you can skip the content of this page,
+ and install GRUB with UEFI support (and its dependencies) following
+ <ulink url="&blfs-book;postlfs/grub-efi.html">the BLFS page</ulink>
+ (with <parameter>--target=x86_64</parameter> removed) at the end of
+ this chapter.
</para>
</note>
@@ -61,15 +72,6 @@
aggressive optimization.</para>
</warning>
- <para>
- Fix an issue causing <command>grub-install</command> to fail when the
- <filename class='directory'>/boot</filename> partition (or the root
- partition if <filename class='directory'>/boot</filename> is not a
- separate partition) is created by e2fsprogs-1.47.0 or later:
- </para>
-
-<screen><userinput remap='pre'>patch -Np1 -i ../grub-&grub-version;-upstream_fixes-1.patch</userinput></screen>
-
<para>Prepare GRUB for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr \