diff --git a/postlfs/filesystems/uefi-bootloaders/grub-setup.xml b/postlfs/filesystems/uefi-bootloaders/grub-setup.xml
index 0d9f5b854e..4689838242 100644
--- a/postlfs/filesystems/uefi-bootloaders/grub-setup.xml
+++ b/postlfs/filesystems/uefi-bootloaders/grub-setup.xml
@@ -23,6 +23,54 @@
+
+ Kernel Configuration for UEFI support
+
+
+ Enable the following options in the kernel configuration and recompile
+ the kernel if necessary:
+
+
+
+
+
+ The meaning of the configuration options:
+
+
+ CONFIG_PARTITION_ADVANCED
+
+ If it's not enabled,
+ CONFIG_EFI_PARTITION will be enabled
+ automatically. But when it's enabled, you must set
+ CONFIG_EFI_PARTITION to enabled as
+ well.
+
+
+
+
+
+ CONFIG_SYSFB_SIMPLEFB,
+ CONFIG_DRM,
+ CONFIG_DRM_FBDEV_EMULATION,
+ CONFIG_DRM_SIMPLEDRM,
+ CONFIG_FB, and
+ CONFIG_FRAMEBUFFER_CONSOLE
+
+ The combination of these options provides the Linux console
+ support on top of the UEFI framebuffer. To allow the kernel to
+ print debug messages at an early boot stage, they shouldn't be
+ built as kernel modules unless an initramfs will be used.
+
+
+
+
+
+
+ UEFI
+
+
+
Create an Emergency Boot Disk
@@ -79,14 +127,15 @@ Syncing disks.
and mount it:
-mkdir -pv /mnt/rescue &&
-mount -v -t vfat /dev/sdx1 /mnt/rescue
+mount --mkdir -v -t vfat /dev/sdx1 -o codepage=437,iocharset=iso8859-1 \
+ /mnt/rescue
Install GRUB for EFI on the partition:
-grub-install --target=x86_64-efi --removable --efi-directory=/mnt/rescue --boot-directory=/mnt/rescue
+grub-install --target=x86_64-efi --removable \
+ --efi-directory=/mnt/rescue --boot-directory=/mnt/rescue
Unmount the partition:
@@ -104,54 +153,6 @@ mount -v -t vfat /dev/sdx1 /mnt/rescue
-
- Kernel Configuration for UEFI support
-
-
- Enable the following options in the kernel configuration and recompile
- the kernel if necessary:
-
-
-
-
-
- The meaning of the configuration options:
-
-
- CONFIG_PARTITION_ADVANCED
-
- If it's not enabled,
- CONFIG_EFI_PARTITION will be enabled
- automatically. But when it's enabled, you must set
- CONFIG_EFI_PARTITION to enabled as
- well.
-
-
-
-
-
- CONFIG_SYSFB_SIMPLEFB,
- CONFIG_DRM,
- CONFIG_DRM_FBDEV_EMULATION,
- CONFIG_DRM_SIMPLEDRM,
- CONFIG_FB, and
- CONFIG_FRAMEBUFFER_CONSOLE
-
- The combination of these options provides the Linux console
- support on top of the UEFI framebuffer. To allow the kernel to
- print debug messages at an early boot stage, they shouldn't be
- built as kernel modules unless an initramfs will be used.
-
-
-
-
-
-
- UEFI
-
-
-
Find or Create the EFI System Partition
@@ -197,13 +198,13 @@ mount -v -t vfat /dev/sdx1 /mnt/rescue
the ESP):
-mkdir -pv /boot/efi &&
-mount -v -t vfat /dev/sda1 /boot/efi
+mount --mkdir -v -t vfat /dev/sda1 -o codepage=437,iocharset=iso8859-1 \
+ /boot/efi
- Add an entry for the ESP in
- /etc/fstab, so it will be mounted automatically
- during system boot:
+ If you want to mount the ESP automatically during system boot,
+ as the &root; user, add an entry for the ESP into
+ /etc/fstab:
cat >> /etc/fstab << EOF
@@ -443,8 +444,8 @@ if loadfont /boot/grub/fonts/unicode.pf2; then
terminal_output gfxterm
fi
-menuentry "GNU/Linux, Linux 6.1.11-lfs-11.3" {
- linux /boot/vmlinuz-6.1.11-lfs-11.3 root=/dev/sda2 ro
+menuentry "GNU/Linux, Linux 6.4.10-lfs-12.0" {
+ linux /boot/vmlinuz-6.4.10-lfs-12.0 root=/dev/sda2 ro
}
menuentry "Firmware Setup" {