Changeset c8391c3d


Ignore:
Timestamp:
09/20/2022 03:45:30 AM (19 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/xf86-video-removal
Children:
4afbfbd
Parents:
ea11b87
git-author:
Pierre Labastie <pierre.labastie@…> (09/20/2022 03:40:16 AM)
git-committer:
Pierre Labastie <pierre.labastie@…> (09/20/2022 03:45:30 AM)
Message:

Spelling and grammar fixes to grub-setup

From the file attached to
https://wiki.linuxfromscratch.org/blfs/ticket/17085
by D Bryant.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/filesystems/uefi-bootloaders/grub-setup.xml

    rea11b87 rc8391c3d  
    2020    <para>
    2121      BLFS does not have the essential packages to support Secure Boot. To
    22       set up the boot process with GRUB for UEFI installed in BLFS, Secure
     22      set up the boot process with GRUB and UEFI in BLFS, Secure
    2323      Boot must be turned off from the configuration interface of the
    2424      firmware.  Read the documentation provided by the manufacturer of your
     
    9999
    100100    <para>
    101       Now the USB flash drive can be used as a emergency boot disk on x86-64
     101      Now the USB flash drive can be used as an emergency boot disk on any x86-64
    102102      UEFI platform.  It will boot the system and show the GRUB shell.  Then you
    103       can type commands to boot your operating systems on the hard drive.
     103      can type commands to boot your operating system from the hard drive.
    104104      To learn how to select the boot device, read the manual of your
    105105      motherboard or laptop.
     
    142142
    143143    <variablelist>
    144       <title>The meaning of the configure options:</title>
     144      <title>The meaning of the configuration options:</title>
    145145
    146146      <varlistentry>
     
    172172        <listitem>
    173173          <para>The combination of these options allows the kernel to
    174           print debug messages (along with Tux logos) at the early stage of
    175           the boot process with UEFI.  To ensure them functional at the early
    176           stage, they shouldn't be built as a kernel module unless an
     174          print debug messages (along with Tux logos) at an early stage of
     175          the boot process with UEFI.  To ensure they are functional at that early
     176          stage, they shouldn't be built as kernel modules unless an
    177177          initramfs will be used.</para>
    178178        </listitem>
     
    187187
    188188    <para>
    189       On EFI based system, the bootloaders are installed in a special FAT32
     189      On EFI based systems, the bootloaders are installed in a special FAT32
    190190      partition called an <emphasis>EFI System Partition</emphasis> (ESP).
    191       If your system supports EFI, and a recent version of Linux
     191      If your system supports EFI, and a recent version of some Linux
    192192      distribution or Windows is pre-installed, it's likely that the ESP
    193       is already created.  As the
     193      has already been created.  As the
    194194      <systemitem class="username">root</systemitem> user, list all the
    195195      partitions on your hard drive (replace <userinput>sda</userinput>
     
    205205
    206206    <para>
    207       If the system or the hard drive is new, or it's a first time
    208       install an UEFI booted OS on the system, the ESP may not exist.
     207      If the system or the hard drive is new, or it's the first
     208      installation of a UEFI-booted OS on the system, the ESP may not exist.
    209209      In that case, create a new partition, make a
    210210      <systemitem class="filesystem">vfat</systemitem> file system on it,
     
    215215    <warning>
    216216      <para>
    217         Some (old) UEFI implementations may demand the ESP to be the first
     217        Some (old) UEFI implementations may require the ESP to be the first
    218218        partition on the disk.
    219219      </para>
     
    252252      <filename>EFI/BOOT/BOOTX64.EFI</filename>.  Normally, a boot loader
    253253      should be installed into a custom path and the path should be recorded
    254       into the EFI variables.  The use of the hardcoded path should be
    255       avoided as much as possible.  However, in some cases we have to use
     254      in the EFI variables.  The use of the hardcoded path should be
     255      avoided if possible.  However, in some cases we have to use
    256256      the hardcoded path:
    257257    </para>
     
    260260      <listitem>
    261261        <para>
    262           The system is not booted with EFI yet, causing EFI variables
     262          The system is not booted with EFI yet, making EFI variables
    263263          inaccessible.
    264264        </para>
     
    266266      <listitem>
    267267        <para>
    268           The EFI firmware is 64-bit but the LFS system is 32-bit, causing
     268          The EFI firmware is 64-bit but the LFS system is 32-bit, making
    269269          EFI variables inaccessible because the kernel cannot invoke EFI
    270270          runtime services with a different virtual address length.
     
    273273      <listitem>
    274274        <para>
    275           LFS is built for a Live USB, so we cannot rely on EFI variables
    276           which is stored in NVRAM or EEPROM on the local machine.
     275          LFS is built for a Live USB, so we cannot rely on EFI variables,
     276          which are stored in NVRAM or EEPROM on the local machine.
    277277        </para>
    278278      </listitem>
    279279      <listitem>
    280280        <para>
    281           You are unable or unwilling to install
     281          You are unable or unwilling to install the
    282282          <application>efibootmgr</application> for manipulating boot
    283283          entries in EFI variables.
     
    287287
    288288    <para>
    289       In these cases, follow this section to install GRUB EFI
     289      In these cases, follow these instructions to install the GRUB EFI
    290290      application into the hardcoded path and make a minimal boot
    291       configuration. Otherwise it's better to skip this section and read the
    292       remaining sections to set up the boot configuration in a normal way.
    293     </para>
    294 
    295     <para>
    296       To install GRUB with the EFI application installed into the hardcoded
     291      configuration. Otherwise it's better to skip ahead and set up the
     292      boot configuration normally.
     293    </para>
     294
     295    <para>
     296      To install GRUB with the EFI application in the hardcoded
    297297      path <filename>EFI/BOOT/BOOTX64.EFI</filename>, first ensure the boot
    298298      partition is mounted at <filename class="directory">/boot</filename>
    299       and the ESP mounted at
    300       <filename class="directory">/boot/efi</filename>.  Then as the &root;
     299      and the ESP is mounted at
     300      <filename class="directory">/boot/efi</filename>.  Then, as the &root;
    301301      user, run the command:
    302302    </para>
     
    304304    <note>
    305305      <para>
    306         The command will overwrite
     306        This command will overwrite
    307307        <filename>/boot/efi/EFI/BOOT/BOOTX64.EFI</filename>.  It may break a
    308308        bootloader already installed there.  Back it up if you are not sure.
     
    313313
    314314    <para>
    315       The command would install GRUB EFI application into the hardcoded path
     315      This command will install the GRUB EFI application into the hardcoded path
    316316      <filename>/boot/efi/EFI/BOOT/BOOTX64.EFI</filename>, so the EFI
    317317      firmware can find and load it.  The remaining GRUB files are installed
    318       into <filename class="directory">/boot/grub</filename> directory and
     318      in the <filename class="directory">/boot/grub</filename> directory and
    319319      will be loaded by <filename>BOOTX64.EFI</filename> during system boot.
    320320    </para>
     
    322322    <note>
    323323      <para>
    324         The EFI firmware usually prefers the EFI applications with the path
    325         recorded in boot entries stored in EFI variables, to the EFI
     324        The EFI firmware usually prefers the EFI applications with a path
     325        stored in EFI variables to the EFI
    326326        application at the hardcoded path.  So you may need to invoke the
    327327        boot selection menu or firmware setting interface to select the
    328328        newly installed GRUB manually on the next boot.  Read the manual of
    329         your motherboard or laptop to figure out how.
     329        your motherboard or laptop to learn how.
    330330      </para>
    331331    </note>
    332332
    333333    <para>
    334       If you've followed this section and set up a minimal boot
    335       configuration, now skip until
     334      If you've followed the instructions in this section and set up a minimal boot
     335      configuration, now skip ahead to
    336336      <quote>Creating the GRUB Configuration File</quote>.
    337337    </para>
     
    343343    <para>
    344344      The installation of GRUB on a UEFI platform requires that the EFI Variable
    345       file system, <systemitem class="filesystem">efivarfs</systemitem>, to be
     345      file system, <systemitem class="filesystem">efivarfs</systemitem>, is
    346346      mounted.  As the <systemitem class="username">root</systemitem> user,
    347347      mount it if it's not already mounted:
     
    354354        If the system is booted with UEFI and systemd,
    355355        <systemitem class="filesystem">efivarfs</systemitem> will be mounted
    356         automatically.  However in the LFS chroot environment it still needs to
     356        automatically.  However, in the LFS chroot environment it still needs to
    357357        be mounted manually.
    358358      </para>
     
    375375        <filename class="directory">/sys/firmware/efi</filename> will be
    376376        missing. In this case you should boot the system in UEFI mode with
    377         the emergency boot disk or minimal boot configuration created as
     377        the emergency boot disk or using a minimal boot configuration created as
    378378        above, then mount
    379379        <systemitem class="filesystem">efivarfs</systemitem> and continue.
     
    401401      GRUB-2.06) so it will not use much space in the ESP.  A typical ESP
    402402      size is 100 MB (for Windows boot manager, which uses about 50 MB in
    403       the ESP). Once <filename>grubx64.efi</filename> loaded by the
    404       firmware, it will load GRUB modules in the boot partition.
     403      the ESP). Once <filename>grubx64.efi</filename> has been loaded by the
     404      firmware, it will load GRUB modules from the boot partition.
    405405      The default location is
    406406      <filename class="directory">/boot/grub</filename>.
     
    424424
    425425    <para>
    426       Issue <command>efibootmgr | cut -f 1</command> to recheck the EFI boot
     426      Issue the <command>efibootmgr | cut -f 1</command> command to recheck the EFI boot
    427427      configuration.  An example of the output is:
    428428    </para>
     
    485485    <para>
    486486      <literal>(hd0,2)</literal>, <literal>sda2</literal>, and
    487       <literal>5.19.2-lfs-11.2</literal> should be replaced to match your
     487      <literal>5.19.2-lfs-11.2</literal> must match your
    488488      configuration.
    489489    </para>
     
    491491    <note>
    492492      <para>
    493         From GRUB's perspective, the files are relative to the partition
    494         are used. If you used a separate /boot partition, remove /boot from the
     493        From GRUB's perspective, the files are relative to the partitions
     494        used. If you used a separate /boot partition, remove /boot from the
    495495        above paths (to kernel and to <filename>unicode.pf2</filename>). You
    496         will also need to change the set root line to point to the boot
     496        will also need to change the "set root" line to point to the boot
    497497        partition.
    498498      </para>
     
    530530      in this case the Windows Boot Manager. You may put more usable tools
    531531      in EFI executable format (for example, an EFI shell) into the ESP and
    532       create GRUB entries for them.
     532      create GRUB entries for them, as well.
    533533    </para>
    534534
Note: See TracChangeset for help on using the changeset viewer.