QA:Testcase USB stick DVD litd

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(update a bit, Productize as DVDs don't really exist any more (name change coming))
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{QA/Test_Case
+
{{Template:Associated_release_criterion|Alpha|initialization-requirements}}
|description=This test verifies that Fedora DVD Image can be booted & installed from USB stick
+
  
There are more methods to create the Live USB stick, this test covers Livecd-iso-to-disk.
+
{{QA/Test_Case
 +
|description=This test verifies that a traditional installer image containing packages can be booted and installed from a USB stick created by a {{command|livecd-iso-to-disk}} command.
 +
{{admon/warning|Data loss|Any data on the USB stick used for this test is likely to be destroyed. Please do not use a stick whose contents you need to keep.}}
 
|setup=
 
|setup=
# Prepare the DVD ISO image and USB stick.
+
# Download the image you wish to test. This must be a traditional (i.e. non-live) installer-based image containing a package repository, such as the [[Server]] offline install image.
# Copy the {{filename|DVD.iso}} to the USB stick using Livecd-iso-to-disk[http://fedoraproject.org/wiki/How_to_create_and_use_Live_USB#Run_livecd-iso-to-disk_script]
+
# Ensure you have a USB stick that is larger than the live image whose contents you can afford to lose (the contents of the stick will be destroyed as a part of the test).
 +
# On an existing Fedora system, install {{package|livecd-tools}}.
 
|actions=
 
|actions=
# Insert the USB stick containing {{filename|DVD.iso}}, and boot the installer
+
# Write the image to the USB stick using {{command|livecd-iso-to-disk}}.
# Proceed through install process selecting a set of packages
+
#* Example command is: {{#tag:pre|# livecd-iso-to-disk --format --reset-mbr --efi Fedora-{{FedoraVersionNumber|next}}-x86_64-DVD.iso /dev/sdX}} where you replace ''sdX'' by your USB stick device identifier. '''This will destroy all data on that disk.'''
# Remove the USB stick before rebooting into installed system when instructed by installer.
+
#* A longer guide how to use this command is available at [[How to create and use Live USB#Using the livecd-iso-to-disk tool]]. You can also run the command with {{command|--help}} option.
# Check that the computer boots to the installed system, with the USB stick unplugged
+
# Boot the system from the USB stick.
 +
# Proceed with the installation.
 
|results=
 
|results=
# Graphical boot menu is displayed for users to select install options. Navigating the menu and selecting entries must work. If no option is selected, the installer should load after a reasonable timeout
+
# The image is written to the USB stick without error.
# Installer boots into loader and prompts for language, keymap
+
# The USB stick boots into the installer without error.
# Installer transitions to anaconda without error  
+
# The installation finishes successfully, and uses the package repository on the USB stick (not a network repository).
# The installer should not require you to configure a package repository, it should be able to install using the packages present on the USB stick.
+
# The new system initiates boot properly. Note that problems after boot that do not seem to be related to writing the image to a USB stick are likely out of the scope of this test case, though they may count as failures of one of the other installation validation test cases.
# Anaconda functions properly and successfully installs required packages
+
# Package errors should not occur
+
# The installed system boots successfully.
+
 
}}
 
}}
 +
 +
[[Category:Installer Boot Methods]]
 +
[[Category:USB_test_cases]]

Latest revision as of 23:48, 8 July 2014

Note.png
Associated release criterion
This test case is associated with the Fedora_21_Alpha_Release_Criteria#initialization-requirements 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.


Contents

Description

This test verifies that a traditional installer image containing packages can be booted and installed from a USB stick created by a livecd-iso-to-disk command.

Warning (medium size).png
Data loss
Any data on the USB stick used for this test is likely to be destroyed. Please do not use a stick whose contents you need to keep.

Setup

  1. Download the image you wish to test. This must be a traditional (i.e. non-live) installer-based image containing a package repository, such as the Server offline install image.
  2. Ensure you have a USB stick that is larger than the live image whose contents you can afford to lose (the contents of the stick will be destroyed as a part of the test).
  3. On an existing Fedora system, install Package-x-generic-16.pnglivecd-tools.

How to test

  1. Write the image to the USB stick using livecd-iso-to-disk.
    • Example command is:
      # livecd-iso-to-disk --format --reset-mbr --efi Fedora-21-x86_64-DVD.iso /dev/sdX
      where you replace sdX by your USB stick device identifier. This will destroy all data on that disk.
    • A longer guide how to use this command is available at How to create and use Live USB#Using the livecd-iso-to-disk tool. You can also run the command with --help option.
  2. Boot the system from the USB stick.
  3. Proceed with the installation.

Expected Results

  1. The image is written to the USB stick without error.
  2. The USB stick boots into the installer without error.
  3. The installation finishes successfully, and uses the package repository on the USB stick (not a network repository).
  4. The new system initiates boot properly. Note that problems after boot that do not seem to be related to writing the image to a USB stick are likely out of the scope of this test case, though they may count as failures of one of the other installation validation test cases.