Use inst.rescue to trigger rescue mode

anaconda in F34 and Rawhide recently stopped accepting params
without the inst. prefix, so 'rescue' does nothing except print
a warning now. We need to use `inst.rescue`. This has worked for
quite a long time so will be OK at least on all Fedoras and RHEL
8, not sure about RHEL 7.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
Signed-off-by: Brian C. Lane <bcl@redhat.com>
This commit is contained in:
Adam Williamson 2021-02-12 16:17:11 -08:00 committed by Brian C. Lane
parent c0bb73fd29
commit 1e0dcdc7e5
5 changed files with 5 additions and 5 deletions

View File

@ -40,7 +40,7 @@ submenu 'Troubleshooting -->' {
initrd @INITRDPATH@ initrd @INITRDPATH@
} }
menuentry 'Rescue a @PRODUCT@ system' --class red --class gnu-linux --class gnu --class os { menuentry 'Rescue a @PRODUCT@ system' --class red --class gnu-linux --class gnu --class os {
linux @KERNELPATH@ @ROOT@ rescue linux @KERNELPATH@ @ROOT@ inst.rescue
initrd @INITRDPATH@ initrd @INITRDPATH@
} }
} }

View File

@ -14,7 +14,7 @@ menuentry "Test this media & install @PRODUCT@ @VERSION@ (64-bit kernel)" --cla
} }
menuentry "Rescue a @PRODUCT@ system (64-bit kernel)" --class fedora --class gnu-linux --class gnu --class os { menuentry "Rescue a @PRODUCT@ system (64-bit kernel)" --class fedora --class gnu-linux --class gnu --class os {
linux /ppc/ppc64/vmlinuz @ROOT@ rescue ro linux /ppc/ppc64/vmlinuz @ROOT@ inst.rescue ro
initrd /ppc/ppc64/initrd.img initrd /ppc/ppc64/initrd.img
} }

View File

@ -5,5 +5,5 @@
- To install in text mode, type: linux text <ENTER>. - To install in text mode, type: linux text <ENTER>.
- To enter rescue mode type: linux rescue <ENTER>. - To enter rescue mode type: linux inst.rescue <ENTER>.

View File

@ -34,7 +34,7 @@ submenu 'Troubleshooting -->' {
initrdefi @INITRDPATH@ initrdefi @INITRDPATH@
} }
menuentry 'Rescue a @PRODUCT@ system' --class fedora --class gnu-linux --class gnu --class os { menuentry 'Rescue a @PRODUCT@ system' --class fedora --class gnu-linux --class gnu --class os {
linuxefi @KERNELPATH@ @ROOT@ rescue quiet linuxefi @KERNELPATH@ @ROOT@ inst.rescue quiet
initrdefi @INITRDPATH@ initrdefi @INITRDPATH@
} }
} }

View File

@ -93,7 +93,7 @@ label rescue
and edit config files to try to get it booting again. and edit config files to try to get it booting again.
endtext endtext
kernel vmlinuz kernel vmlinuz
append initrd=initrd.img @ROOT@ rescue quiet append initrd=initrd.img @ROOT@ inst.rescue quiet
label memtest label memtest
menu label Run a ^memory test menu label Run a ^memory test