Changeset c6e4dba for chapter10/grub.xml


Ignore:
Timestamp:
05/13/2024 04:19:48 PM (4 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/arm64
Children:
2324b83
Parents:
161a267
Message:

arm64: grub: Update references to BLFS

Now BLFS documents how to install only the GRUB components missing in
LFS, take the advantage.

Also if efibootmgr is available, it's easier to just run grub-install
w/o the --removable option instead of manually input some nasty
efibootmgr commands.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter10/grub.xml

    r161a267 rc6e4dba  
    2020    <para>
    2121      This section assume your system has UEFI support and you wish to boot
    22       LFS with UEFI and GRUB built following the instructions in Chapter 8.
    23     </para>
    24     <para>
    25       If you've installed GRUB for UEFI with optional dependencies following
    26       BLFS, you should skip the instructions in this page but still learn the
    27       syntax of <filename>grub.cfg</filename> and the method to specify
    28       a partition in the file from this page, and configure GRUB with UEFI
    29       using the instructions provided in
    30       <ulink url="&blfs-book;postlfs/grub-setup.html">the BLFS page</ulink>,
    31       but replace <parameter>--target=x86_64-efi</parameter> with
    32       <parameter>--target=arm64-efi</parameter> for the ARM64 system.
    33     </para>
    34     <para>
     22      LFS with UEFI.
    3523      If your system does not support UEFI or you don't want to use it,
    3624      you'll need to figure out how to configure the booting process of
     
    177165        variable for the newly installed boot loader.  Install
    178166        <ulink url="&blfs-book;postlfs/efibootmgr.html">efibootmgr</ulink>,
    179         then run the following commands:
    180 
    181 <screen role="nodump"><userinput>mount -v -t efivarfs efivarfs /sys/firmware/efi/efivars
    182 efibootmgr -B -L LFS || true
    183 efibootmgr -c -L LFS -l '\EFI\BOOT\BOOTAA64.EFI' -d /dev/sda
    184 umount /sys/firmware/efi/efivars</userinput></screen>
    185 
    186         Replace <filename>/dev/sda</filename> with the device node of the
    187         hard drive where you are installing GRUB into.  For some UEFI
    188         firmwares, <option>-e 3</option> option may be needed for the
    189         <command>efibootmgr -c</command> command.
     167        and follow
     168        <ulink url="&blfs-book;postlfs/grub-setup.html">the BLFS
     169        instruction</ulink> to run the <command>grub-install</command>
     170        command without the <parameter>--removable</parameter> option then.
    190171      </para>
    191172    </note>
Note: See TracChangeset for help on using the changeset viewer.