Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter10/grub.xml

    rc7f74cd r5353a19  
    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
     22      you should skip this page, and config 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 numbers start from zero, but the partition numbers
    58     start from one for normal partitions (from five for extended partitions).
     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.
    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>Leaving <filename class="directory">/boot</filename> on
    92     the current LFS partition will also work, but configuration
     91    <para>Using the current lfs partition will also work, but configuration
    9392    for multiple systems is more difficult.</para>
    9493
     
    163162      <filename>grub.cfg</filename> refers to some <quote>old</quote>
    164163      designators.  If you wish to avoid such a problem, you may use
    165       the UUID of a partition and the UUID of a filesystem instead of a GRUB designator to
    166       specify a device.
     164      the UUID of partition and filesystem instead of GRUB designator to
     165      specify a partition.
    167166      Run <command>lsblk -o UUID,PARTUUID,PATH,MOUNTPOINT</command> to show
    168       the UUIDs of your filesystems (in the <literal>UUID</literal> column) and
    169       partitions (in the <literal>PARTUUID</literal> column).  Then replace
     167      the UUID of your filesystems (in <literal>UUID</literal> column) and
     168      partitions (in <literal>PARTUUID</literal> column).  Then replace
    170169      <literal>set root=(hdx,y)</literal> with
    171       <literal>search --set=root --fs-uuid <replaceable>&lt;UUID of the filesystem
    172       where the kernel is installed&gt;</replaceable></literal>, and replace
     170      <literal>search --set=root --fs-uuid <replaceable>&lt;UUID of the filesystem where the kernel is installed&gt;</replaceable></literal>, and replace
    173171      <literal>root=/dev/sda2</literal> with
    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
     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
    178175      instruct you to use
    179176      <literal>root=UUID=<replaceable>&lt;filesystem UUID&gt;</replaceable></literal>
    180177      instead of
    181178      <literal>root=PARTUUID=<replaceable>&lt;partition UUID&gt;</replaceable></literal>,
    182       but doing so will require an initramfs, which is beyond the scope of
     179      but doing so will require an initramfs which is beyond the scope of
    183180      LFS.</para>
    184181      <para>The name of the device node for a partition in
    185       <filename class='directory'>/dev</filename> may also change (this is less
    186       likely than a GRUB designator change).  You can also replace
     182      <filename class='directory'>/dev</filename> may also change (more
     183      unlikely than GRUB designator change though).  You can also replace
    187184      paths to device nodes like <literal>/dev/sda1</literal> with
    188185      <literal>PARTUUID=<replaceable>&lt;partition UUID&gt;</replaceable></literal>,
Note: See TracChangeset for help on using the changeset viewer.