48548722b3
This adds a new livemedia-creator argument, --extra-boot-args, which can
be used to add arguments to the kernel command-line in the templates.
(cherry picked from commit 235813212f
)
37 lines
985 B
INI
37 lines
985 B
INI
set default="1"
|
|
|
|
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
|
|
|
|
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 {
|
|
linuxefi @KERNELPATH@ @ROOT@ @EXTRA@ rd.live.image quiet
|
|
initrdefi @INITRDPATH@
|
|
}
|
|
menuentry 'Test this media & start @PRODUCT@ @VERSION@' --class fedora --class gnu-linux --class gnu --class os {
|
|
linuxefi @KERNELPATH@ @ROOT@ @EXTRA@ rd.live.image rd.live.check quiet
|
|
initrdefi @INITRDPATH@
|
|
}
|
|
submenu 'Troubleshooting -->' {
|
|
menuentry 'Start @PRODUCT@ @VERSION@ in basic graphics mode' --class fedora --class gnu-linux --class gnu --class os {
|
|
linuxefi @KERNELPATH@ @ROOT@ @EXTRA@ rd.live.image nomodeset quiet
|
|
initrdefi @INITRDPATH@
|
|
}
|
|
}
|