Changeset 0cbb853 for chapter10/grub.xml


Ignore:
Timestamp:
01/06/2023 04:57:22 AM (16 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/arm64, xry111/arm64-12.0
Children:
83ce6e3
Parents:
688a8f5 (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/arm64

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter10/grub.xml

    r688a8f5 r0cbb853  
    2424    <para>
    2525      If you've installed GRUB for UEFI with optional dependencies following
    26       BLFS, you should skip this page, and config GRUB with UEFI support
     26      BLFS, you should skip this page, and configure GRUB with UEFI support
    2727      using the instructions provided in
    2828      <ulink url="&blfs-book;postlfs/grub-setup.html">the BLFS page</ulink>,
     
    7171    the form of <emphasis>(hdn,m)</emphasis>, where <emphasis>n</emphasis>
    7272    is the hard drive number and <emphasis>m</emphasis> is the partition
    73     number. The hard drive number starts from zero, but the partition number
    74     starts from one for normal partitions and five for extended partitions.
     73    number. The hard drive numbers start from zero, but the partition numbers
     74    start from one for normal partitions (from five for extended partitions).
    7575    Note that this is different from earlier versions where
    7676    both numbers started from zero. For example, partition <filename
     
    121121    this, you will need to mount the separate partition, move all files in the
    122122    current <filename class="directory">/boot</filename> directory (e.g. the
    123     linux kernel you just built in the previous section) to the new partition.
     123    Linux kernel you just built in the previous section) to the new partition.
    124124    You will then need to unmount the partition and remount it as <filename
    125125    class="directory">/boot</filename>.  If you do this, be sure to update
    126126    <filename>/etc/fstab</filename>.</para>
    127127
    128     <para>Using the current lfs partition will also work, but configuration
     128    <para>Leaving <filename class="directory">/boot</filename> on
     129    the current LFS partition will also work, but configuration
    129130    for multiple systems is more difficult.</para>
    130131
     
    232233      <filename>grub.cfg</filename> refers to some <quote>old</quote>
    233234      designators.  If you wish to avoid such a problem, you may use
    234       the UUID of partition and filesystem instead of GRUB designator to
    235       specify a partition.
     235      the UUID of a partition and the UUID of a filesystem instead of a GRUB designator to
     236      specify a device.
    236237      Run <command>lsblk -o UUID,PARTUUID,PATH,MOUNTPOINT</command> to show
    237       the UUID of your filesystems (in <literal>UUID</literal> column) and
    238       partitions (in <literal>PARTUUID</literal> column).  Then replace
     238      the UUIDs of your filesystems (in the <literal>UUID</literal> column) and
     239      partitions (in the <literal>PARTUUID</literal> column).  Then replace
    239240      <literal>set root=(hdx,y)</literal> with
    240       <literal>search --set=root --fs-uuid <replaceable>&lt;UUID of the filesystem where the kernel is installed&gt;</replaceable></literal>, and replace
     241      <literal>search --set=root --fs-uuid <replaceable>&lt;UUID of the filesystem
     242      where the kernel is installed&gt;</replaceable></literal>, and replace
    241243      <literal>root=/dev/sda2</literal> with
    242       <literal>root=PARTUUID=<replaceable>&lt;UUID of the partition where LFS is built&gt;</replaceable></literal>.</para>
    243       <para>Note that the UUID of a partition and the UUID of the filesystem
    244       in this partition is completely different.  Some online resources may
     244      <literal>root=PARTUUID=<replaceable>&lt;UUID of the partition where LFS
     245      is built&gt;</replaceable></literal>.</para>
     246      <para>Note that the UUID of a partition is completely different from the
     247      UUID of the filesystem in this partition.  Some online resources may
    245248      instruct you to use
    246249      <literal>root=UUID=<replaceable>&lt;filesystem UUID&gt;</replaceable></literal>
    247250      instead of
    248251      <literal>root=PARTUUID=<replaceable>&lt;partition UUID&gt;</replaceable></literal>,
    249       but doing so will require an initramfs which is beyond the scope of
     252      but doing so will require an initramfs, which is beyond the scope of
    250253      LFS.</para>
    251254      <para>The name of the device node for a partition in
    252       <filename class='directory'>/dev</filename> may also change (more
    253       unlikely than GRUB designator change though).  You can also replace
     255      <filename class='directory'>/dev</filename> may also change (this is less
     256      likely than a GRUB designator change).  You can also replace
    254257      paths to device nodes like <literal>/dev/sda1</literal> with
    255258      <literal>PARTUUID=<replaceable>&lt;partition UUID&gt;</replaceable></literal>,
Note: See TracChangeset for help on using the changeset viewer.