From Fedora Project Wiki

(create a usb install test case for liveusb-creator)
 
(mark as obsolete)
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{admon/note|Obsolete|liveusb-creator has been replaced by Fedora Media Writer. See [[QA:Testcase_USB_fmw]]}}
{{QA/Test_Case
{{QA/Test_Case
|description=This test verifies that a 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 [https://fedorahosted.org/liveusb-creator/ Fedora LiveUSB creator].
 
{{admon/important|UEFI supported since 3.11.8|LiveUSB creator only supports the creation of UEFI-bootable sticks since version 3.11.8. If you want to use this test case and do a native UEFI boot of the stick, please make sure to use liveusb-creator 3.11.8 or higher.}}
There are more methods to create the Live USB stick, this test covers Liveusb-creator.
{{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 a Live ISO image and USB stick.
# Download the live image you wish to test.
# Copy the Live ISO image to the USB stick using liveusb-creator: see [https://fedoraproject.org/wiki/How_to_create_and_use_Live_USB#Graphical_Method_-_Windows_or_Fedora these instructions]
# 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).
# Install {{package|liveusb-creator}} if you are on Fedora, or use the installer from the [https://fedorahosted.org/liveusb-creator/ project homepage] if you are on Windows.
|actions=
|actions=
# Insert the USB stick and and boot the system under test
# Write the live image to the USB stick using {{command|liveusb-creator}}.
# At the boot prompt, interrupt the automatic boot sequence by pressing any key. Then select the menu option Boot.
#* '''If resulting USB fails to boot''': use terminal command "liveusb-creator --reset-mbr"
# From live image desktop, or from the Application menu, click the icon Install to hard drive
#* A short guide how to use this tool is available at [[How to create and use Live USB#Graphical Method - Windows or Fedora]]. You can also run the tool with {{command|--help}} option.
# 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 live image is written to the USB stick without error.
# Upon selecting Boot, the Live image boots successfully.  
# The stick boots without error.
# The installer starts without error
#* If you choose to perform media consistency verification before the actual boot, the check will be skipped and not performed at all, the medium will boot right away. That's expected, media verification works only for dd-style conversion.
# The installer completes without error
# The installer starts without error.
# The system reboots successfully
# 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:Obsolete Test Cases]]

Latest revision as of 19:00, 4 June 2018

Obsolete
liveusb-creator has been replaced by Fedora Media Writer. See QA:Testcase_USB_fmw


Description

This test verifies that a Fedora live image can be booted and installed from a USB stick created by Fedora LiveUSB creator.

UEFI supported since 3.11.8
LiveUSB creator only supports the creation of UEFI-bootable sticks since version 3.11.8. If you want to use this test case and do a native UEFI boot of the stick, please make sure to use liveusb-creator 3.11.8 or higher.
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. Install liveusb-creator if you are on Fedora, or use the installer from the project homepage if you are on Windows.

How to test

  1. Write the live image to the USB stick using liveusb-creator.
  2. Boot the system from the USB stick.
  3. Start the installer
  4. Proceed with the installation.

Expected Results

  1. The live image is written to the USB stick without error.
  2. The stick boots without error.
    • If you choose to perform media consistency verification before the actual boot, the check will be skipped and not performed at all, the medium will boot right away. That's expected, media verification works only for dd-style conversion.
  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.