aboutsummaryrefslogtreecommitdiffstats
path: root/chapter10/grub.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2023-08-14 13:53:30 -0500
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2023-08-14 13:53:30 -0500
commitbd93ae129ece8f95104a7231c39043e436d78788 (patch)
tree5038e6a20211389225596e5e5c2947199bd1a04a /chapter10/grub.xml
parentf7d3b6ed213e8957b3c32318fc240c9f73ffe7ea (diff)
parent93ec8b32bf6486d3fdb47bb11c5b91120d442647 (diff)
Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk
Diffstat (limited to 'chapter10/grub.xml')
-rw-r--r--chapter10/grub.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/chapter10/grub.xml b/chapter10/grub.xml
index 965fa56c3..f232a1675 100644
--- a/chapter10/grub.xml
+++ b/chapter10/grub.xml
@@ -150,6 +150,24 @@ menuentry "GNU/Linux, Linux &linux-version;-lfs-&version;" {
}</literal>
EOF</userinput></screen>
+ <para>
+ The <command>insmod</command> commands load the
+ <application>GRUB</application> modules named
+ <filename>part_gpt</filename> and <filename>ext2</filename>.
+ Despite the naming, <filename>ext2</filename> actually supports
+ <systemitem class='filesystem'>ext2</systemitem>,
+ <systemitem class='filesystem'>ext3</systemitem>, and
+ <systemitem class='filesystem'>ext4</systemitem> filesystems.
+ The <command>grub-install</command> command has embedded some modules
+ into the main <application>GRUB</application> image (installed into
+ the MBR or the GRUB BIOS partition) to access the other modules
+ (in <filename class='directory'>/boot/grub/i386-pc</filename>) without
+ a chicken-or-egg issue, so with a typical configuration these two
+ modules are already embedded and those two <command>insmod</command>
+ commands will do nothing. But they do no harm anyway, and they may
+ be needed with some rare configurations.
+ </para>
+
<note><para>From <application>GRUB</application>'s perspective, the
kernel files are relative to the partition used. If you
used a separate /boot partition, remove /boot from the above