2019-02-02 12:22:52 +01:00
|
|
|
# Global options
|
|
|
|
|
set timeout=90
|
|
|
|
|
set default=0
|
|
|
|
|
set fallback=1
|
|
|
|
|
set pager=1
|
|
|
|
|
|
|
|
|
|
# Display settings
|
|
|
|
|
if loadfont /boot/grub/font.pf2 ; then
|
2020-08-23 12:25:44 +02:00
|
|
|
set gfxmode=640x480
|
|
|
|
|
set color_normal=black/cyan
|
|
|
|
|
set color_highlight=black/light-gray
|
|
|
|
|
set menu_color_normal=black/cyan
|
|
|
|
|
set menu_color_highlight=black/light-gray
|
2019-02-02 12:22:52 +01:00
|
|
|
insmod efi_gop
|
|
|
|
|
insmod efi_uga
|
|
|
|
|
insmod gfxterm
|
|
|
|
|
insmod all_video
|
|
|
|
|
insmod videotest
|
|
|
|
|
insmod videoinfo
|
|
|
|
|
terminal_output gfxterm
|
|
|
|
|
fi
|
|
|
|
|
|
2020-09-12 12:27:37 +02:00
|
|
|
menuentry "Boot SystemRescue using default options" {
|
2019-02-02 12:22:52 +01:00
|
|
|
set gfxpayload=keep
|
2020-02-01 10:45:45 +01:00
|
|
|
linux /%INSTALL_DIR%/boot/%ISO_ARCH%/vmlinuz archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL%
|
2020-09-13 21:26:56 +02:00
|
|
|
initrd /%INSTALL_DIR%/boot/intel_ucode.img /%INSTALL_DIR%/boot/amd_ucode.img /%INSTALL_DIR%/boot/%ISO_ARCH%/sysresccd.img
|
2019-02-02 12:22:52 +01:00
|
|
|
}
|
|
|
|
|
|
2020-09-12 12:27:37 +02:00
|
|
|
menuentry "Boot SystemRescue and copy system to RAM (copytoram)" {
|
2019-02-02 12:22:52 +01:00
|
|
|
set gfxpayload=keep
|
2020-02-01 10:45:45 +01:00
|
|
|
linux /%INSTALL_DIR%/boot/%ISO_ARCH%/vmlinuz archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% copytoram
|
2020-09-13 21:26:56 +02:00
|
|
|
initrd /%INSTALL_DIR%/boot/intel_ucode.img /%INSTALL_DIR%/boot/amd_ucode.img /%INSTALL_DIR%/boot/%ISO_ARCH%/sysresccd.img
|
2019-02-02 12:22:52 +01:00
|
|
|
}
|
2020-04-13 15:39:22 +02:00
|
|
|
|
2020-09-12 12:27:37 +02:00
|
|
|
menuentry "Boot SystemRescue and verify integrity of the medium (checksum)" {
|
2020-04-13 15:39:22 +02:00
|
|
|
set gfxpayload=keep
|
|
|
|
|
linux /%INSTALL_DIR%/boot/%ISO_ARCH%/vmlinuz archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% checksum
|
2020-09-13 21:26:56 +02:00
|
|
|
initrd /%INSTALL_DIR%/boot/intel_ucode.img /%INSTALL_DIR%/boot/amd_ucode.img /%INSTALL_DIR%/boot/%ISO_ARCH%/sysresccd.img
|
2020-04-13 15:39:22 +02:00
|
|
|
}
|
2020-05-17 09:43:27 +02:00
|
|
|
|
2020-09-12 12:27:37 +02:00
|
|
|
menuentry "Boot SystemRescue using basic display drivers (nomodeset)" {
|
2020-08-18 09:21:24 +02:00
|
|
|
set gfxpayload=keep
|
|
|
|
|
linux /%INSTALL_DIR%/boot/%ISO_ARCH%/vmlinuz archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% nomodeset
|
2020-09-13 21:26:56 +02:00
|
|
|
initrd /%INSTALL_DIR%/boot/intel_ucode.img /%INSTALL_DIR%/boot/amd_ucode.img /%INSTALL_DIR%/boot/%ISO_ARCH%/sysresccd.img
|
2020-08-18 09:21:24 +02:00
|
|
|
}
|
|
|
|
|
|
2020-08-23 12:25:44 +02:00
|
|
|
menuentry "Boot a Linux operating system installed on the disk (findroot)" {
|
2020-05-17 09:43:27 +02:00
|
|
|
set gfxpayload=keep
|
|
|
|
|
linux /%INSTALL_DIR%/boot/%ISO_ARCH%/vmlinuz archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% findroot
|
2020-09-13 21:26:56 +02:00
|
|
|
initrd /%INSTALL_DIR%/boot/intel_ucode.img /%INSTALL_DIR%/boot/amd_ucode.img /%INSTALL_DIR%/boot/%ISO_ARCH%/sysresccd.img
|
2020-05-17 09:43:27 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
menuentry "Stop during the boot process before mounting the root filesystem" {
|
|
|
|
|
set gfxpayload=keep
|
|
|
|
|
linux /%INSTALL_DIR%/boot/%ISO_ARCH%/vmlinuz archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% break
|
2020-09-13 21:26:56 +02:00
|
|
|
initrd /%INSTALL_DIR%/boot/intel_ucode.img /%INSTALL_DIR%/boot/amd_ucode.img /%INSTALL_DIR%/boot/%ISO_ARCH%/sysresccd.img
|
2020-05-17 09:43:27 +02:00
|
|
|
}
|
2020-10-12 21:30:31 +02:00
|
|
|
|
|
|
|
|
menuentry "EFI Shell" {
|
|
|
|
|
insmod fat
|
|
|
|
|
insmod chain
|
|
|
|
|
terminal_output console
|
|
|
|
|
chainloader /EFI/shell.efi
|
|
|
|
|
}
|