Mathew McBride ff6d215240 T5809: live-build-config: insmod gzio for vmlinuz kernels on arm64
Without this, GRUB will report a 'invalid magic' or 'missing UEFI
stub' error when loading kernels on arm64.

This change has no effect on x86-64 systems.
2023-12-08 16:48:30 +11:00

38 lines
645 B
INI

set default=0
set timeout=10
insmod serial
serial --unit=0 --speed=115200
insmod gzio
insmod part_msdos
insmod ext2
insmod efi_gop
insmod efi_uga
insmod png
loadfont /boot/grub/dejavu-bold-16.pf2
loadfont /boot/grub/dejavu-bold-14.pf2
loadfont /boot/grub/unicode.pf2
set gfxmode="640x480x16"
set gfxpayload="640x480x16"
terminal_output gfxterm
set splash_img="/isolinux/splash.png"
if [ -e ${splash_img} ]; then
background_image ${splash_img}
fi
terminal_output --append serial
terminal_input serial console
set color_normal=light-gray/black
set color_highlight=white/black
# Live boot
LINUX_LIVE
# Installer (if any)
LINUX_INSTALL