From Fedora Project Wiki

(fix rescue mode install guide URL)
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
= BootMethodsRescueMode =
+
{{Template:Associated_release_criterion|Alpha|rescue-mode}}
== Description ==
+
{{Template:Associated_release_criterion|Beta|rescue-mode}}
This test boots any available installation method (CDROM, DVD, or network) and requests a "rescue" install.  For details on booting into rescue mode please refer to the  [http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/sysadmin-guide/s1-rescuemode-boot.html Red Hat Enterprise Linux 4: System Administration Guide] .
 
  
== Steps To Reproduce ==
+
{{QA/Test_Case
 +
|description=This test boots any available installation method (CDROM, DVD, or network) and requests a '''rescue''' mode.  For details on booting into rescue mode please refer to the  [https://docs.fedoraproject.org/en-US/fedora/f{{FedoraVersion}}/install-guide/advanced/Boot_Options/#sect-boot-options-rescue Install Guide] .
 +
|actions=
 +
# Boot the installer using any available non-Live means (anything except {{filename|Live.iso}})
 +
# At the initial screen, select the ''Troubleshooting'' menu and then the option labelled ''Rescue a Fedora system''
 +
<!--# If doing a network installation, specify the remote installation source for grabbing [http://fedoraproject.org/wiki/Anaconda/Stage stage2] anaconda (e.g. nfs, http, or ftp)-->
 +
# When prompted, direct anaconda to scan your disks for existing installations
 +
# Select ''OK'' to chroot into {{filename|/mnt/sysimage}} for your existing installation
 +
# Accept the default ''shell'' menu entry to get an interactive shell
 +
|results=
 +
# Anaconda should start and proceed to disk scan prompt
 +
# Scanning your disk for existing installations should not result in a failure
 +
# Selecting ''OK'' will present you with a shell where you are able to see the previous installation mounted under {{filename|/mnt/sysimage}}
 +
# Anaconda should be able to mount (read-write and read-only) LVM, encrypted, and RAID (BIOS, hardware, and software) installations
 +
# Additionally, you may be able to execute {{command|chroot /mnt/sysimage /bin/bash}} without error
 +
}}
  
 
+
[[Category:Recovery Test Cases]]
# Boot the installer using any available means (CDROM, DVD, http, ftp, or nfs) with the rescue command-line parameter
 
# If doing a network installation, specify the remote installation source for grabbing stage2 anaconda (e.g. nfs, http, or ftp)
 
# Instruct anaconda to scan your disks for existing installations
 
# Select "OK" to chroot into /mnt/sysimage for your existing installation
 
 
 
 
 
 
 
== Expected Results ==
 
 
 
# Anaconda should prompt for language, keymap, and installation media (e.g. nfs, http, ftp, local cdrom, hard drive)
 
# Anaconda should find stage2 images and proceed to disk scan prompt
 
# Scanning your disk for existing installations must pass
 
# Selecting OK will present you with a shell where you are able to see the previuos installation mounted under /mnt/sysimage.
 
# Additionaly you may be able to execute chroot /mnt/sysimage /bin/bash without error (e.g. use ls, cd, mkdir in the chroot-ed environment)
 
 
 
[[Category:Installer Test Cases|BootMethodsRescueMode]]
 

Latest revision as of 19:57, 3 September 2020

Note.png
Associated release criterion
This test case is associated with the Basic_Release_Criteria#rescue-mode release criterion. If you are doing release validation testing, a failure of this test case may be a breach of that release criterion. If so, please file a bug and nominate it as blocking the appropriate milestone, using the blocker bug nomination page.
Note.png
Associated release criterion
This test case is associated with the Fedora_34_Beta_Release_Criteria#rescue-mode release criterion. If you are doing release validation testing, a failure of this test case may be a breach of that release criterion. If so, please file a bug and nominate it as blocking the appropriate milestone, using the blocker bug nomination page.


Description

This test boots any available installation method (CDROM, DVD, or network) and requests a rescue mode. For details on booting into rescue mode please refer to the Install Guide .


How to test

  1. Boot the installer using any available non-Live means (anything except Live.iso)
  2. At the initial screen, select the Troubleshooting menu and then the option labelled Rescue a Fedora system
  3. When prompted, direct anaconda to scan your disks for existing installations
  4. Select OK to chroot into /mnt/sysimage for your existing installation
  5. Accept the default shell menu entry to get an interactive shell

Expected Results

  1. Anaconda should start and proceed to disk scan prompt
  2. Scanning your disk for existing installations should not result in a failure
  3. Selecting OK will present you with a shell where you are able to see the previous installation mounted under /mnt/sysimage
  4. Anaconda should be able to mount (read-write and read-only) LVM, encrypted, and RAID (BIOS, hardware, and software) installations
  5. Additionally, you may be able to execute chroot /mnt/sysimage /bin/bash without error