qubes-installer-qubes-os/lorax-templates-qubes/templates/config_files/x86/grub2-efi.cfg
Marek Marczykowski-Górecki 0570ce7f6d lorax: efi: improve using ESP for 'root' device
Simply do nothing, instead of searching by filesystem label. This should
work even if there are multiple devices with the same label.
2015-09-28 20:09:58 +02:00

35 lines
849 B
INI

set default="0"
function load_video {
insmod efi_gop
insmod efi_uga
insmod video_bochs
insmod video_cirrus
insmod all_video
}
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
insmod chain
set timeout=5
# do not use search for ISO here, 'root' must point ESP, not the whole ISO9660
# fs, otherwise xen.efi would not be able to access kernel and initrd
menuentry 'Test media and install @PRODUCT@ @VERSION@' --class qubes --class gnu-linux --class gnu --class os {
chainloader @EFIDIR@/xen.efi placeholder qubes-check
}
menuentry 'Install @PRODUCT@ @VERSION@' --class qubes --class gnu-linux --class gnu --class os {
chainloader @EFIDIR@/xen.efi
}
menuentry 'Rescue a @PRODUCT@ system' --class qubes --class gnu-linux --class gnu --class os {
chainloader @EFIDIR@/xen.efi placeholder qubes-rescue
}