templates: Change nomodeset / basic graphics to use inst.text

nomodeset no longer does anything helpful, so switch to booting in text
mode in the Troubleshooting menu.

Related: rhbz#1961092
This commit is contained in:
Brian C. Lane 2021-05-24 15:35:47 -07:00
parent 7e98b99846
commit 0c8e1d44d6
3 changed files with 7 additions and 7 deletions

View File

@ -35,8 +35,8 @@ menuentry 'Test this media & install @PRODUCT@ @VERSION@' --class red --class gn
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
menuentry 'Install @PRODUCT@ @VERSION@ in text mode' --class red --class gnu-linux --class gnu --class os {
linux @KERNELPATH@ @ROOT@ inst.text
initrd @INITRDPATH@
}
menuentry 'Rescue a @PRODUCT@ system' --class red --class gnu-linux --class gnu --class os {

View File

@ -29,8 +29,8 @@ menuentry 'Test this media & install @PRODUCT@ @VERSION@' --class fedora --class
initrdefi @INITRDPATH@
}
submenu 'Troubleshooting -->' {
menuentry 'Install @PRODUCT@ @VERSION@ in basic graphics mode' --class fedora --class gnu-linux --class gnu --class os {
linuxefi @KERNELPATH@ @ROOT@ nomodeset quiet
menuentry 'Install @PRODUCT@ @VERSION@ in text mode' --class fedora --class gnu-linux --class gnu --class os {
linuxefi @KERNELPATH@ @ROOT@ inst.text quiet
initrdefi @INITRDPATH@
}
menuentry 'Rescue a @PRODUCT@ system' --class fedora --class gnu-linux --class gnu --class os {

View File

@ -75,15 +75,15 @@ menu separator # insert an empty line
menu begin ^Troubleshooting
menu title Troubleshooting
label vesa
label text
menu indent count 5
menu label Install @PRODUCT@ @VERSION@ in ^basic graphics mode
menu label Install @PRODUCT@ @VERSION@ using ^text mode
text help
Try this option out if you're having trouble installing
@PRODUCT@ @VERSION@.
endtext
kernel vmlinuz
append initrd=initrd.img @ROOT@ nomodeset quiet
append initrd=initrd.img @ROOT@ inst.text quiet
label rescue
menu indent count 5