Ignore:
Timestamp:
09/15/2023 10:54:55 AM (13 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/clfs-ng
Children:
7546d8b
Parents:
d58da4b (diff), ba40e32 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge remote-tracking branch 'origin/trunk' into xry111/clfs-ng

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter10/grub.xml

    rd58da4b r2df066c9  
    2020    <para>
    2121      If your system has UEFI support and you wish to boot LFS with UEFI,
    22       you should skip this page, and configure GRUB with UEFI support
    23       using the instructions provided in
     22      you should skip the instructions in this page but still learn the
     23      syntax of <filename>grub.cfg</filename> and the method to specify
     24      a partition in the file from this page, and configure GRUB with UEFI
     25      support using the instructions provided in
    2426      <ulink url="&blfs-book;postlfs/grub-setup.html">the BLFS page</ulink>.
    2527    </para>
     
    127129set timeout=5
    128130
     131insmod part_gpt
    129132insmod ext2
    130133set root=(hd0,2)
     
    134137}</literal>
    135138EOF</userinput></screen>
     139
     140    <para>
     141      The <command>insmod</command> commands load the
     142      <application>GRUB</application> modules named
     143      <filename>part_gpt</filename> and <filename>ext2</filename>.
     144      Despite the naming, <filename>ext2</filename> actually supports
     145      <systemitem class='filesystem'>ext2</systemitem>,
     146      <systemitem class='filesystem'>ext3</systemitem>, and
     147      <systemitem class='filesystem'>ext4</systemitem> filesystems.
     148      The <command>grub-install</command> command has embedded some modules
     149      into the main <application>GRUB</application> image (installed into
     150      the MBR or the GRUB BIOS partition) to access the other modules
     151      (in <filename class='directory'>/boot/grub/i386-pc</filename>) without
     152      a chicken-or-egg issue, so with a typical configuration these two
     153      modules are already embedded and those two <command>insmod</command>
     154      commands will do nothing.  But they do no harm anyway, and they may
     155      be needed with some rare configurations.
     156    </para>
    136157
    137158    <note><para>From <application>GRUB</application>'s perspective, the
Note: See TracChangeset for help on using the changeset viewer.