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)
(separate --efi, some BIOS computers can't boot with it)
Line 6: Line 6:
 
|actions=
 
|actions=
 
# Convert the {{filename|DVD.iso}} image to the USB stick using {{command|livecd-iso-to-disk}}.
 
# Convert the {{filename|DVD.iso}} image to the USB stick using {{command|livecd-iso-to-disk}}.
#* 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.'''
+
#* Example command is: {{#tag:pre|# livecd-iso-to-disk --format --reset-mbr 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.'''
#* 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]].
+
#* If you need to test [[How_to_create_and_use_Live_USB#UEFI_boot_of_USB_sticks|UEFI boot]], you need to add {{command|--efi}} option.
 +
#* 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.
 
# Boot the system from the USB stick.
 
# Boot the system from the USB stick.
 
# Proceed with the installation.
 
# Proceed with the installation.

Revision as of 15:47, 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 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.
    • If you need to test UEFI boot, you need to add --efi option.
    • 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 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.