Changeset 7c1451f for chapter08


Ignore:
Timestamp:
05/14/2024 04:34:00 AM (4 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/loongarch, xry111/loongarch-12.2
Children:
479d3bc
Parents:
560c147
git-author:
Xi Ruoyao <xry111@…> (05/13/2024 04:19:48 PM)
git-committer:
Xi Ruoyao <xry111@…> (05/14/2024 04:34:00 AM)
Message:

loongarch: 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.

(cherry picked from commit c6e4dbaee6d2e0c0801d48ed13f708e072de1ea5)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/grub.xml

    r560c147 r7c1451f  
    4444      <para>
    4545        On LoongArch systems, the following instruction builds GRUB for UEFI.
    46         But the built GRUB lacks some features because a few optional
    47         dependencies of GRUB for UEFI is beyond the scope of LFS and not
    48         installed yet.
     46        But because LFS lacks the FreeType package and the Unifont data
     47        file, GRUB won't install any font for the boot loader and
     48        the GRUB boot menu will be displayed using a coarse font or in a
     49        smaller region on the screen.
     50        If wanted, after the LFS system is finished, install
     51        <ulink url="&blfs-book;general/freetype.html">FreeType</ulink>
     52        and then install the GRUB compoents not installed from LFS following
     53        <ulink url="&blfs-book;postlfs/grub-efi.html">the BLFS
     54        instruction</ulink>, but remove the <option>--target=x86_64</option>
     55        option and skip the command to install the
     56        <filename class='directory'>/usr/lib/grub/x86_64-efi</filename>
     57        directory.
    4958      </para>
    5059      <para>
    5160        If your system firmware does not support UEFI, you need to skip the
    5261        content of this page and try to figure out how to boot your system.
    53       </para>
    54       <para>
    55         If your system has UEFI support and you wish to boot LFS with UEFI,
    56         you need to install GRUB with UEFI support (and its dependencies) by
    57         following the instructions on
    58         <ulink url="&blfs-book;postlfs/grub-efi.html">the BLFS page</ulink>.
    59         You may skip this package, or install this package and the BLFS
    60         GRUB for UEFI package without conflict (the BLFS page provides
    61         instructions for both cases).
    6262      </para>
    6363    </note>
Note: See TracChangeset for help on using the changeset viewer.