QA:Testcase USB stick DVD litd

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(add example command, add big fat warning about dangerous test case)
Line 1: Line 1:
 
{{QA/Test_Case
 
{{QA/Test_Case
|description=This test verifies that Fedora DVD Image can be booted & installed from USB stick
+
|description=This test verifies that {{filename|DVD.iso}} image can be booted and installed from a USB stick created by a {{command|livecd-iso-to-disk}} command.
 
+
{{admon/warning|You might lose your data|This test case requires you to use low-level system utilities that can easily destroy all your data when used incorrectly. Only follow this if you are a highly-experienced user or you don't mind losing your system and your data.}}
There are more methods to create the Live USB stick, this test covers Livecd-iso-to-disk.
+
 
|setup=
 
|setup=
# Prepare the DVD ISO image and USB stick.
+
# You need to have a USB stick that is larger than the {{filename|DVD.iso}} 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]
+
 
|actions=
 
|actions=
# Insert the USB stick containing {{filename|DVD.iso}}, and boot the installer
+
# Convert the {{filename|DVD.iso}} 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]].
# 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 ISO image is converted to the USB stick without error.
# Installer boots into loader and prompts for language, keymap
+
# The DVD image boots into the installer without error.
# Installer transitions to anaconda without error  
+
# The installation finishes successfully.
# 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.
# Anaconda functions properly and successfully installs required packages
+
# Package errors should not occur
+
# The installed system boots successfully.
+
 
}}
 
}}
  
 
[[Category:Installer Boot Methods]]
 
[[Category:Installer Boot Methods]]

Revision as of 14:15, 31 October 2012

Contents

Description

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

Warning (medium size).png
You might lose your data
This test case requires you to use low-level system utilities that can easily destroy all your data when used incorrectly. Only follow this if you are a highly-experienced user or you don't mind losing your system and your data.

Setup

  1. You need to have a USB stick that is larger than the DVD.iso image.

How to test

  1. Convert the DVD.iso image to the USB stick using livecd-iso-to-disk.
    • Example command is:
      # livecd-iso-to-disk --format --reset-mbr --efi Fedora-22-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.
  2. Boot the system from the USB stick.
  3. Proceed with the installation.

Expected Results

  1. The ISO image is converted to the USB stick without error.
  2. The DVD image boots into the installer without error.
  3. The installation finishes successfully.
  4. The new system initiates boot properly.