Changeset 985d253 for chapter10/grub.xml


Ignore:
Timestamp:
01/06/2023 04:58:37 AM (16 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/clfs-ng
Children:
0678bd4
Parents:
76b84d2 (diff), af944eb (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

    r76b84d2 r985d253  
    2020    <para>
    2121      If your system has UEFI support and you wish to boot LFS with UEFI,
    22       you should skip this page, and config GRUB with UEFI support
     22      you should skip this page, and configure GRUB with UEFI support
    2323      using the instructions provided in
    2424      <ulink url="&blfs-book;postlfs/grub-setup.html">the BLFS page</ulink>.
     
    5555    the form of <emphasis>(hdn,m)</emphasis>, where <emphasis>n</emphasis>
    5656    is the hard drive number and <emphasis>m</emphasis> is the partition
    57     number. The hard drive number starts from zero, but the partition number
    58     starts from one for normal partitions and five for extended partitions.
     57    number. The hard drive numbers start from zero, but the partition numbers
     58    start from one for normal partitions (from five for extended partitions).
    5959    Note that this is different from earlier versions where
    6060    both numbers started from zero. For example, partition <filename
     
    148148      <filename>grub.cfg</filename> refers to some <quote>old</quote>
    149149      designators.  If you wish to avoid such a problem, you may use
    150       the UUID of partition and filesystem instead of GRUB designator to
    151       specify a partition.
     150      the UUID of a partition and the UUID of a filesystem instead of a GRUB designator to
     151      specify a device.
    152152      Run <command>lsblk -o UUID,PARTUUID,PATH,MOUNTPOINT</command> to show
    153       the UUID of your filesystems (in <literal>UUID</literal> column) and
    154       partitions (in <literal>PARTUUID</literal> column).  Then replace
     153      the UUIDs of your filesystems (in the <literal>UUID</literal> column) and
     154      partitions (in the <literal>PARTUUID</literal> column).  Then replace
    155155      <literal>set root=(hdx,y)</literal> with
    156       <literal>search --set=root --fs-uuid <replaceable>&lt;UUID of the filesystem where the kernel is installed&gt;</replaceable></literal>, and replace
     156      <literal>search --set=root --fs-uuid <replaceable>&lt;UUID of the filesystem
     157      where the kernel is installed&gt;</replaceable></literal>, and replace
    157158      <literal>root=/dev/sda2</literal> with
    158       <literal>root=PARTUUID=<replaceable>&lt;UUID of the partition where LFS is built&gt;</replaceable></literal>.</para>
    159       <para>Note that the UUID of a partition and the UUID of the filesystem
    160       in this partition is completely different.  Some online resources may
     159      <literal>root=PARTUUID=<replaceable>&lt;UUID of the partition where LFS
     160      is built&gt;</replaceable></literal>.</para>
     161      <para>Note that the UUID of a partition is completely different from the
     162      UUID of the filesystem in this partition.  Some online resources may
    161163      instruct you to use
    162164      <literal>root=UUID=<replaceable>&lt;filesystem UUID&gt;</replaceable></literal>
    163165      instead of
    164166      <literal>root=PARTUUID=<replaceable>&lt;partition UUID&gt;</replaceable></literal>,
    165       but doing so will require an initramfs which is beyond the scope of
     167      but doing so will require an initramfs, which is beyond the scope of
    166168      LFS.</para>
    167169      <para>The name of the device node for a partition in
    168       <filename class='directory'>/dev</filename> may also change (more
    169       unlikely than GRUB designator change though).  You can also replace
     170      <filename class='directory'>/dev</filename> may also change (this is less
     171      likely than a GRUB designator change).  You can also replace
    170172      paths to device nodes like <literal>/dev/sda1</literal> with
    171173      <literal>PARTUUID=<replaceable>&lt;partition UUID&gt;</replaceable></literal>,
Note: See TracChangeset for help on using the changeset viewer.