From Fedora Project Wiki

No edit summary
(a few clean ups)
Line 5: Line 5:


{{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.}}
{{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.}}
==Setting up for Fedora and Windows==
|setup=
# 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 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).
# Run the tool:
# Run the tool:
#* On '''Fedora''', run '''command dnf --enablerepo=updates-testing install liveusb-creator''', then launch ''Fedora LiveUSB Creator'' from the system menus
#* On '''Fedora''', run {{command|1=dnf --enablerepo=updates-testing install liveusb-creator}}, then launch ''Fedora LiveUSB Creator'' from the system menus
#* On '''Windows''', [https://mbriza.fedorapeople.org/liveusb-creator.zip download the zip file], extract it and run {{filename|liveusb-creator.exe}}
#* On '''Windows''', [https://mbriza.fedorapeople.org/liveusb-creator.zip download the zip file], extract it and run {{filename|liveusb-creator.exe}}
# Launch and select the version of Fedora you want your flash drive to have
# Let it download and see if the tool successfully wipes the content before writing the downloaded image.


|actions=
|actions=
# Verify Live boot with the newly created
# Select the version of Fedora you want your flash drive to have
# Boot the system from the USB stick and verify
# Let it download and see if the tool successfully wipes the content before writing the downloaded image
# Boot the system from the USB stick. If possible, try both:
#* UEFI boot
#* UEFI boot
#* BIOS boot
#* BIOS boot
Line 21: Line 20:
# Proceed with the installation
# Proceed with the installation
# Verify the installation is fully operational  
# Verify the installation is fully operational  


|results=
|results=
# The USB will be wiped before being written with the image.
# The USB stick should be wiped before being written with the image
# The stick boots without error.
# The stick should boot 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.
#* 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 starts without error.
# The installer should start without error
# The installation finishes successfully.
# The installation should finish 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.
# The installed system should 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 another test case
}}
}}


[[Category:Installer Boot Methods]]
[[Category:Installer Boot Methods]]
[[Category:Package_liveusb-creator_test_cases]]

Revision as of 05:10, 14 April 2016

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 Fedora Media Writer.

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. 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).
  2. Run the tool:
    • On Fedora, run dnf --enablerepo=updates-testing install liveusb-creator, then launch Fedora LiveUSB Creator from the system menus
    • On Windows, download the zip file, extract it and run liveusb-creator.exe

How to test

  1. Select the version of Fedora you want your flash drive to have
  2. Let it download and see if the tool successfully wipes the content before writing the downloaded image
  3. Boot the system from the USB stick. If possible, try both:
    • UEFI boot
    • BIOS boot
  4. Start the installer
  5. Proceed with the installation
  6. Verify the installation is fully operational

Expected Results

  1. The USB stick should be wiped before being written with the image
  2. The stick should boot 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 should start without error
  4. The installation should finish successfully
  5. The installed system should 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 another test case