2014-04-16 22:27:19 +00:00
|
|
|
set default="1"
|
2013-12-12 22:15:13 +00:00
|
|
|
|
2014-04-16 22:27:19 +00:00
|
|
|
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
|
2013-12-12 22:15:13 +00:00
|
|
|
insmod gzio
|
|
|
|
insmod part_gpt
|
|
|
|
insmod ext2
|
|
|
|
|
2014-04-16 22:27:19 +00:00
|
|
|
set timeout=60
|
2013-12-12 22:15:13 +00:00
|
|
|
### END /etc/grub.d/00_header ###
|
|
|
|
|
2014-04-16 22:27:19 +00:00
|
|
|
search --no-floppy --set=root -l '@ISOLABEL@'
|
|
|
|
|
2013-12-12 22:15:13 +00:00
|
|
|
### BEGIN /etc/grub.d/10_linux ###
|
2014-02-20 04:33:08 +00:00
|
|
|
menuentry 'Install @PRODUCT@ @VERSION@' --class red --class gnu-linux --class gnu --class os {
|
2014-12-04 17:38:54 +00:00
|
|
|
linux @KERNELPATH@ @ROOT@ ro
|
2014-04-16 22:27:19 +00:00
|
|
|
initrd @INITRDPATH@
|
|
|
|
}
|
|
|
|
menuentry 'Test this media & install @PRODUCT@ @VERSION@' --class red --class gnu-linux --class gnu --class os {
|
2014-12-04 17:38:54 +00:00
|
|
|
linux @KERNELPATH@ @ROOT@ rd.live.check
|
2014-04-16 22:27:19 +00:00
|
|
|
initrd @INITRDPATH@
|
|
|
|
}
|
|
|
|
submenu 'Troubleshooting -->' {
|
|
|
|
menuentry 'Install @PRODUCT@ @VERSION@ in basic graphics mode' --class red --class gnu-linux --class gnu --class os {
|
|
|
|
linux @KERNELPATH@ @ROOT@ nomodeset
|
|
|
|
initrd @INITRDPATH@
|
|
|
|
}
|
|
|
|
menuentry 'Rescue a @PRODUCT@ system' --class red --class gnu-linux --class gnu --class os {
|
2014-12-04 17:38:54 +00:00
|
|
|
linux @KERNELPATH@ @ROOT@ rescue
|
2014-04-16 22:27:19 +00:00
|
|
|
initrd @INITRDPATH@
|
|
|
|
}
|
2013-12-12 22:15:13 +00:00
|
|
|
}
|