2022-04-14 17:32:39 +00:00
|
|
|
set default="1"
|
|
|
|
|
|
|
|
function load_video {
|
|
|
|
insmod all_video
|
|
|
|
}
|
|
|
|
|
|
|
|
load_video
|
|
|
|
set gfxpayload=keep
|
|
|
|
insmod gzio
|
|
|
|
insmod part_gpt
|
|
|
|
insmod ext2
|
2023-06-09 13:21:30 +00:00
|
|
|
insmod chain
|
2022-04-14 17:32:39 +00:00
|
|
|
|
|
|
|
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 fedora --class gnu-linux --class gnu --class os {
|
|
|
|
linux @KERNELPATH@ @ROOT@ @EXTRA@ rd.live.image quiet rhgb
|
|
|
|
initrd @INITRDPATH@
|
|
|
|
}
|
|
|
|
menuentry 'Test this media & start @PRODUCT@ @VERSION@' --class fedora --class gnu-linux --class gnu --class os {
|
|
|
|
linux @KERNELPATH@ @ROOT@ @EXTRA@ rd.live.image rd.live.check quiet
|
|
|
|
initrd @INITRDPATH@
|
|
|
|
}
|
|
|
|
submenu 'Troubleshooting -->' {
|
|
|
|
menuentry 'Start @PRODUCT@ @VERSION@ in basic graphics mode' --class fedora --class gnu-linux --class gnu --class os {
|
2023-06-09 13:21:30 +00:00
|
|
|
linux @KERNELPATH@ @ROOT@ @EXTRA@ rd.live.image nomodeset vga=791 quiet rhgb
|
2022-04-14 17:32:39 +00:00
|
|
|
initrd @INITRDPATH@
|
|
|
|
}
|
2023-06-09 13:21:30 +00:00
|
|
|
menuentry 'Boot first drive' --class fedora --class gnu-linux --class gnu --class os {
|
|
|
|
chainloader (hd0)+1
|
|
|
|
}
|
|
|
|
menuentry 'Boot second drive' --class fedora --class gnu-linux --class gnu --class os {
|
|
|
|
chainloader (hd1)+1
|
|
|
|
}
|
2022-04-14 17:32:39 +00:00
|
|
|
}
|