Changeset e282f70


Ignore:
Timestamp:
08/17/2023 02:34:44 AM (9 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.0, 12.1, ken/TL2024, ken/tuningfonts, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18
Children:
31ef72a9
Parents:
a73fc762
git-author:
Xi Ruoyao <xry111@…> (08/17/2023 02:16:37 AM)
git-committer:
Xi Ruoyao <xry111@…> (08/17/2023 02:34:44 AM)
Message:

Revert "grub-setup: Simplify the command mounting ESP"

This reverts commit 082104373dbeb83b51c306749129ae9cb1fb7e80.

It's sometimes problematic when trying to run grub-install in chroot.

File:
1 edited

Legend:

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

    ra73fc762 re282f70  
    192192
    193193    <para>
    194       As the &root; user, add an entry for the ESP in
    195       <filename>/etc/fstab</filename>, so it will be mounted automatically
    196       during system boot (replace
     194      Now, as the <systemitem class="username">root</systemitem> user,
     195      create the mount point for the ESP, and mount it (replace
    197196      <userinput>sda1</userinput> with the device node corresponding to
    198197      the ESP):
     198    </para>
     199
     200<screen role="nodump"><userinput>mkdir -pv /boot/efi &amp;&amp;
     201mount -v -t vfat /dev/sda1 /boot/efi</userinput></screen>
     202
     203    <para>
     204      Add an entry for the ESP in
     205      <filename>/etc/fstab</filename>, so it will be mounted automatically
     206      during system boot:
    199207    </para>
    200208
     
    202210<literal>/dev/sda1 /boot/efi vfat codepage=437,iocharset=iso8859-1 0 1</literal>
    203211<userinput>EOF</userinput></screen>
    204 
    205     <para>
    206       Still as the &root; user,
    207       create the mount point for the ESP and mount it:
    208     </para>
    209 
    210 <screen role="nodump"><userinput>mount /boot/efi --mkdir</userinput></screen>
    211212
    212213  </sect2>
     
    443444fi
    444445
    445 menuentry "GNU/Linux, Linux 6.4.10-lfs-12.0"  {
    446   linux   /boot/vmlinuz-6.4.10-lfs-12.0 root=/dev/sda2 ro
     446menuentry "GNU/Linux, Linux 6.1.11-lfs-11.3"  {
     447  linux   /boot/vmlinuz-6.1.11-lfs-11.3 root=/dev/sda2 ro
    447448}
    448449
Note: See TracChangeset for help on using the changeset viewer.