2018-06-18 18:56:22 +00:00
|
|
|
set default="1"
|
|
|
|
|
|
|
|
function load_video {
|
|
|
|
if [ x$feature_all_video_module = xy ]; then
|
|
|
|
insmod all_video
|
|
|
|
else
|
|
|
|
insmod efi_gop
|
|
|
|
insmod efi_uga
|
|
|
|
insmod ieee1275_fb
|
|
|
|
insmod vbe
|
|
|
|
insmod vga
|
|
|
|
insmod video_bochs
|
|
|
|
insmod video_cirrus
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
load_video
|
|
|
|
set gfxpayload=keep
|
|
|
|
insmod gzio
|
|
|
|
insmod part_gpt
|
|
|
|
insmod ext2
|
|
|
|
|
|
|
|
set timeout=60
|
|
|
|
### END /etc/grub.d/00_header ###
|
|
|
|
|
|
|
|
search --no-floppy --set=root -l '@ISOLABEL@'
|
|
|
|
|
|
|
|
### BEGIN /etc/grub.d/10_linux ###
|
|
|
|
menuentry 'Install @PRODUCT@ @VERSION@' --class red --class gnu-linux --class gnu --class os {
|
|
|
|
linux @KERNELPATH@ @ROOT@ ro
|
|
|
|
initrd @INITRDPATH@
|
|
|
|
}
|
|
|
|
menuentry 'Test this media & install @PRODUCT@ @VERSION@' --class red --class gnu-linux --class gnu --class os {
|
|
|
|
linux @KERNELPATH@ @ROOT@ rd.live.check
|
|
|
|
initrd @INITRDPATH@
|
|
|
|
}
|
|
|
|
submenu 'Troubleshooting -->' {
|
2021-05-24 22:35:47 +00:00
|
|
|
menuentry 'Install @PRODUCT@ @VERSION@ in text mode' --class red --class gnu-linux --class gnu --class os {
|
|
|
|
linux @KERNELPATH@ @ROOT@ inst.text
|
2018-06-18 18:56:22 +00:00
|
|
|
initrd @INITRDPATH@
|
|
|
|
}
|
|
|
|
menuentry 'Rescue a @PRODUCT@ system' --class red --class gnu-linux --class gnu --class os {
|
2021-02-13 00:17:11 +00:00
|
|
|
linux @KERNELPATH@ @ROOT@ inst.rescue
|
2018-06-18 18:56:22 +00:00
|
|
|
initrd @INITRDPATH@
|
|
|
|
}
|
|
|
|
}
|