Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/grub.xml

    r3608d06a r0d4f1b4  
    4343    <note>
    4444      <para>
     45        On ARM64 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.
     49      </para>
     50      <para>
     51        If your system firmware does not support UEFI, you need to skip the
     52        content of this page and try to figure out how to boot your system.
     53      </para>
     54      <para>
    4555        If your system has UEFI support and you wish to boot LFS with UEFI,
    4656        you can skip this package in LFS,
    4757        and install GRUB with UEFI support (and its dependencies) by following
    4858        the instructions on
    49         <ulink url="&blfs-book;postlfs/grub-efi.html">the BLFS page</ulink>.
     59        <ulink url="&blfs-book;postlfs/grub-efi.html">the BLFS page</ulink>
     60        (with <parameter>--target=x86_64</parameter> removed).
    5061      </para>
    5162    </note>
     
    7081
    7182<screen><userinput remap='pre'>patch -Np1 -i ../grub-&grub-version;-upstream_fixes-1.patch</userinput></screen>
     83
     84    <!--https://git.savannah.gnu.org/cgit/grub.git/commit/?id=69edb312 -->
     85    <para>Apply an upstream change so GRUB will be capable to load
     86    compressed kernel image on an ARM64 system:</para>
     87
     88<screen><userinput remap='pre'>sed '/ARMXX_MAGIC/,+2d' -i grub-core/loader/arm64/linux.c</userinput></screen>
    7289
    7390    <para>Prepare GRUB for compilation:</para>
Note: See TracChangeset for help on using the changeset viewer.