From Fedora Project Wiki

(Created page with "{{QA/Test_Case |description=This test verifies that Fedora Live Image can be booted from USB stick. There are more methods to create the Live USB stick, this test covers dd. |se...")
 
(fix link)
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Template:Associated_release_criterion|Alpha|initialization-requirements}}
{{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 a Fedora live image can be booted and installed from a USB stick created by the {{command|dd}} 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.}}
There are more methods to create the Live USB stick, this test covers dd.
|setup=
|setup=
# Prepare the Live ISO image and USB stick.
# Download the live image you wish to test.
# 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]
# 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).
# Ensure you have an existing Linux (or other Unix system) with the {{command|dd}} command available.
|actions=
|actions=
# Insert the USB stick containing {{filename|Live.iso}}, and boot the system under test
# Write the live image 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 status=progress oflag=direct}} 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#dd]].
# Boot the system from the USB stick.
# 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 live image is converted to the USB stick without error.
# Upon selecting Boot, the Live image boots successfully.  
# The stick boots without error.
# The installer starts without error.
# The installation finishes successfully.
# 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.
}}
}}
[[Category:Installer Boot Methods]]
[[Category:USB_test_cases]]

Revision as of 07:27, 17 May 2016

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


Description

This test verifies that a Fedora live image can be booted and installed from a USB stick created by the dd command.

Warning.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 live image you wish to test.
  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. Ensure you have an existing Linux (or other Unix system) with the dd command available.

How to test

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

Expected Results

  1. The live image is converted to the USB stick without error.
  2. The stick boots without error.
  3. The installer starts without error.
  4. The installation finishes successfully.
  5. 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.