Changeset 8190ca0


Ignore:
Timestamp:
01/01/2023 11:15:09 PM (16 months ago)
Author:
David Bryant <david@…>
Branches:
11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/update-glibc
Children:
4163128, c7f74cd
Parents:
f0cb1e41
Message:

Clarify some things, correct grammatical & idiomatic errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter10/grub.xml

    rf0cb1e41 r8190ca0  
    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
     
    8484    this, you will need to mount the separate partition, move all files in the
    8585    current <filename class="directory">/boot</filename> directory (e.g. the
    86     linux kernel you just built in the previous section) to the new partition.
     86    Linux kernel you just built in the previous section) to the new partition.
    8787    You will then need to unmount the partition and remount it as <filename
    8888    class="directory">/boot</filename>.  If you do this, be sure to update
    8989    <filename>/etc/fstab</filename>.</para>
    9090
    91     <para>Using the current lfs partition will also work, but configuration
     91    <para>Leaving <filename class="directory">>/boot</filename> on
     92    the current LFS partition will also work, but configuration
    9293    for multiple systems is more difficult.</para>
    9394
     
    162163      <filename>grub.cfg</filename> refers to some <quote>old</quote>
    163164      designators.  If you wish to avoid such a problem, you may use
    164       the UUID of partition and filesystem instead of GRUB designator to
    165       specify a partition.
     165      the UUID of a partition and the UUID of a filesystem instead of a GRUB designator to
     166      specify a device.
    166167      Run <command>lsblk -o UUID,PARTUUID,PATH,MOUNTPOINT</command> to show
    167       the UUID of your filesystems (in <literal>UUID</literal> column) and
    168       partitions (in <literal>PARTUUID</literal> column).  Then replace
     168      the UUIDs of your filesystems (in the <literal>UUID</literal> column) and
     169      partitions (in the <literal>PARTUUID</literal> column).  Then replace
    169170      <literal>set root=(hdx,y)</literal> with
    170       <literal>search --set=root --fs-uuid <replaceable>&lt;UUID of the filesystem where the kernel is installed&gt;</replaceable></literal>, and replace
     171      <literal>search --set=root --fs-uuid <replaceable>&lt;UUID of the filesystem
     172      where the kernel is installed&gt;</replaceable></literal>, and replace
    171173      <literal>root=/dev/sda2</literal> with
    172       <literal>root=PARTUUID=<replaceable>&lt;UUID of the partition where LFS is built&gt;</replaceable></literal>.</para>
    173       <para>Note that the UUID of a partition and the UUID of the filesystem
    174       in this partition is completely different.  Some online resources may
     174      <literal>root=PARTUUID=<replaceable>&lt;UUID of the partition where LFS
     175      is built&gt;</replaceable></literal>.</para>
     176      <para>Note that the UUID of a partition is completely different from the
     177      UUID of the filesystem in this partition.  Some online resources may
    175178      instruct you to use
    176179      <literal>root=UUID=<replaceable>&lt;filesystem UUID&gt;</replaceable></literal>
    177180      instead of
    178181      <literal>root=PARTUUID=<replaceable>&lt;partition UUID&gt;</replaceable></literal>,
    179       but doing so will require an initramfs which is beyond the scope of
     182      but doing so will require an initramfs, which is beyond the scope of
    180183      LFS.</para>
    181184      <para>The name of the device node for a partition in
    182       <filename class='directory'>/dev</filename> may also change (more
    183       unlikely than GRUB designator change though).  You can also replace
     185      <filename class='directory'>/dev</filename> may also change (this is less
     186      likely than a GRUB designator change).  You can also replace
    184187      paths to device nodes like <literal>/dev/sda1</literal> with
    185188      <literal>PARTUUID=<replaceable>&lt;partition UUID&gt;</replaceable></literal>,
Note: See TracChangeset for help on using the changeset viewer.