mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
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.
38 lines
645 B
INI
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
|