From Fedora Project Wiki

No edit summary
(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 Live Image can be booted from USB stick.
|description=This test verifies that {{filename|Live.iso}} image can be booted and installed from a USB stick created by a {{command|dd}} 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 dd.
|setup=
|setup=
# Prepare the Live ISO image and USB stick.
# You need to have a USB stick that is larger than the {{filename|Live.iso}} image.
# Copy the {{filename|Live.iso}} to the USB stick using dd [http://fedoraproject.org/wiki/How_to_create_and_use_Live_USB#Using_dd_for_a_direct_copy]
|actions=
|actions=
# Insert the USB stick containing {{filename|Live.iso}}, and boot the system under test
# Convert the {{filename|Live.iso}} image to the USB stick using {{command|dd}}.
# At the boot prompt, interrupt the automatic boot sequence by pressing any key. Then select the menu option Boot.
#* Example command is: {{#tag:pre|# dd if=Fedora-{{FedoraVersionNumber|next}}-x86_64-Live-Desktop.iso of=/dev/sdX bs=16M}} where you replace ''sdX'' by your USB stick device identifier. '''This will destroy all data on that disk.'''
# From live image desktop, or from the Application menu, click the icon Install to hard drive
#* A longer guide how to use this command is available at [[How to create and use Live USB#Using dd for a direct copy]].
# Complete the installation as desired
# Boot the system from the USB stick.
# Reboot the system and remove the Live boot media
# Start the installer.
# Proceed with the installation.
|results=
|results=
# A graphical boot menu is displayed and the graphics look reasonably good. While hi-res images aren't supported in the boot menu, the graphics should not look extremely pixelated.
# The ISO image is converted to the USB stick without error.
# Upon selecting Boot, the Live image boots successfully.  
# The Live image boots without error.
# The installer starts without error
# The installer starts without error.
# The installer completes without error
# The installation finishes successfully.
# The system reboots successfully
# The new system initiates boot properly.
}}
}}



Revision as of 16:04, 31 October 2012

Description

This test verifies that Live.iso image can be booted and installed from a USB stick created by a dd command.

Warning.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 Live.iso image.

How to test

  1. Convert the Live.iso image to the USB stick using dd.
    • Example command is:
      # dd if=Fedora-40-x86_64-Live-Desktop.iso of=/dev/sdX bs=16M
      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 dd for a direct copy.
  2. Boot the system from the USB stick.
  3. Start the installer.
  4. Proceed with the installation.

Expected Results

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