2013-01-24 10:50:02 +00:00
|
|
|
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
|
2015-03-23 23:31:22 +00:00
|
|
|
insmod chain
|
2013-01-24 10:50:02 +00:00
|
|
|
|
|
|
|
set timeout=5
|
2016-04-10 04:00:00 +00:00
|
|
|
### END /etc/grub.d/00_header ###
|
2013-01-24 10:50:02 +00:00
|
|
|
|
2015-09-28 16:07:05 +00:00
|
|
|
# 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
|
2013-01-24 10:50:02 +00:00
|
|
|
|
2015-09-23 19:00:36 +00:00
|
|
|
menuentry 'Test media and install @PRODUCT@ @VERSION@' --class qubes --class gnu-linux --class gnu --class os {
|
2015-09-13 23:06:24 +00:00
|
|
|
chainloader @EFIDIR@/xen.efi placeholder qubes-check
|
2013-01-24 10:50:02 +00:00
|
|
|
}
|
2015-03-23 23:31:22 +00:00
|
|
|
|
2015-09-23 19:00:36 +00:00
|
|
|
menuentry 'Install @PRODUCT@ @VERSION@' --class qubes --class gnu-linux --class gnu --class os {
|
2015-03-23 23:31:22 +00:00
|
|
|
chainloader @EFIDIR@/xen.efi
|
2013-01-24 10:50:02 +00:00
|
|
|
}
|
|
|
|
|
2016-02-03 16:55:04 +00:00
|
|
|
menuentry 'Troubleshooting - verbose boot and Install @PRODUCT@ @VERSION@' --class qubes --class gnu-linux --class gnu --class os {
|
|
|
|
chainloader @EFIDIR@/xen.efi placeholder qubes-verbose
|
|
|
|
}
|
|
|
|
|
2015-09-23 19:02:45 +00:00
|
|
|
menuentry 'Rescue a @PRODUCT@ system' --class qubes --class gnu-linux --class gnu --class os {
|
|
|
|
chainloader @EFIDIR@/xen.efi placeholder qubes-rescue
|
|
|
|
}
|
|
|
|
|