2017-05-22 17:10:59 +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 'Start @PRODUCT@ @VERSION@' --class red --class gnu-linux --class gnu --class os {
|
2019-06-18 18:33:05 +00:00
|
|
|
linux @KERNELPATH@ @ROOT@ @EXTRA@ rd.live.image quiet
|
2017-05-22 17:10:59 +00:00
|
|
|
initrd @INITRDPATH@
|
|
|
|
}
|
|
|
|
menuentry 'Test this media & start @PRODUCT@ @VERSION@' --class red --class gnu-linux --class gnu --class os {
|
2019-06-18 18:33:05 +00:00
|
|
|
linux @KERNELPATH@ @ROOT@ @EXTRA@ rd.live.image rd.live.check quiet
|
2017-05-22 17:10:59 +00:00
|
|
|
initrd @INITRDPATH@
|
|
|
|
}
|
|
|
|
submenu 'Troubleshooting -->' {
|
|
|
|
menuentry 'Install @PRODUCT@ @VERSION@ in basic graphics mode' --class red --class gnu-linux --class gnu --class os {
|
2019-06-18 18:33:05 +00:00
|
|
|
linux @KERNELPATH@ @ROOT@ @EXTRA@ rd.live.image nomodeset quiet
|
2017-05-22 17:10:59 +00:00
|
|
|
initrd @INITRDPATH@
|
|
|
|
}
|
|
|
|
}
|