aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2023-02-19 14:30:57 +0800
committerXi Ruoyao <xry111@xry111.site>2023-02-19 14:30:57 +0800
commit3608d06aa82917b9046ee315924876ce4903efc0 (patch)
tree3f2665ee480b59959779181ef69059a77748d265 /chapter08
parentd94d6060488da23db738078541e4b08a743f763c (diff)
grub: Add upstream fixes patch for unrecognized ext2/3/4 features (#5219)xry111/grub-fix-test
Diffstat (limited to 'chapter08')
-rw-r--r--chapter08/grub.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/chapter08/grub.xml b/chapter08/grub.xml
index 04fbef91b..357036c34 100644
--- a/chapter08/grub.xml
+++ b/chapter08/grub.xml
@@ -61,6 +61,15 @@
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 \