From Fedora Project Wiki

No edit summary
m (install -> mode)
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Template:Associated_release_criterion|Alpha|rescue-mode}}
{{Template:Associated_release_criterion|Beta|rescue-mode}}
{{QA/Test_Case
{{QA/Test_Case
|description=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://docs.fedoraproject.org/install-guide/f{{FedoraVersion}}/en-US/html/s2-x86-bootloader-rescue.html Install Guide] .
|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  [http://docs.fedoraproject.org/install-guide/f{{FedoraVersion}}/en-US/html/s2-x86-bootloader-rescue.html Install Guide] .
|actions=
|actions=
# Boot the installer using any available means (CDROM, DVD, http, ftp, or nfs)  
# Boot the installer using any available non-Live means (anything except {{filename|Live.iso}})
# At the initial screen, select the option labelled ''Rescue installed system''
# 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)
<!--# 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)-->
# Instruct anaconda to scan your disks for existing installations
# When prompted, direct anaconda to scan your disks for existing installations
# Select "OK" to chroot into {{filename|/mnt/sysimage}} for your existing installation
# Select ''OK'' to chroot into {{filename|/mnt/sysimage}} for your existing installation
# Accept the default ''shell'' menu entry to get an interactive shell
|results=
|results=
# Anaconda should prompt for language, keymap, and installation media (e.g. nfs, http, ftp, local cdrom, hard drive)
# Anaconda should start and proceed to disk scan prompt
# Anaconda should find [http://fedoraproject.org/wiki/Anaconda/Stage stage2] images and proceed to disk scan prompt
# Scanning your disk for existing installations should not result in a failure
# Scanning your disk for existing installations must will 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}}
# 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
# Additionally, you may be able to execute {{command|chroot /mnt/sysimage /bin/bash}} without error
}}
}}


[[Category:Recovery Test Cases]]
[[Category:Recovery Test Cases]]

Revision as of 11:06, 8 April 2015

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_40_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