From Fedora Project Wiki
m (Adamwill moved page QA:Testcase USB stick Live dd to QA:Testcase USB dd: Let's simplify the USB test cases...) |
(tweak wording slightly to be generic) |
||
Line 2: | Line 2: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description=This test verifies that a Fedora | |description=This test verifies that a Fedora ISO image can be written to a USB stick with the {{command|dd}} command, and successfully boots and installs. | ||
{{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.}} | ||
|setup= | |setup= | ||
# Download the | # Download the Fedora image you wish to test. | ||
# Ensure you have a USB stick | # Ensure you have a USB stick larger than the image file, and 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 | # Ensure you have an existing Linux (or other Unix) system with the {{command|dd}} command available. | ||
|actions= | |actions= | ||
# Write the live image image to the USB stick using {{command|dd}}. | # Write the live image image to the USB stick using {{command|dd}}. | ||
#* Example command is: {{ | #* Example command is: {{command|1=dd if=Fedora-Workstation-Live-x86_64-{{FedoraVersionNumber|next}}-1.1.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]]. | #* 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. | # Boot the system from the USB stick. | ||
# | # If testing a live image, start the installer. | ||
# Proceed with the installation. | # Proceed with the installation. | ||
|results= | |results= | ||
# The | # The image is written to the USB stick without error. | ||
# The stick boots without error. | # The stick boots without error. | ||
# The installer starts without error. | # The installer starts without error. | ||
# The installation finishes 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. | # 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. If you observe the same failure booting the image in a virtual machine or from an optical disc, it is likely not a failure of this test case. | ||
}} | }} | ||
[[Category:Installer Boot Methods]] | [[Category:Installer Boot Methods]] | ||
[[Category:USB_test_cases]] | [[Category:USB_test_cases]] |
Revision as of 18:28, 30 September 2016
Description
This test verifies that a Fedora ISO image can be written to a USB stick with the dd
command, and successfully boots and installs.
Setup
- Download the Fedora image you wish to test.
- Ensure you have a USB stick larger than the image file, and 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
dd
command available.
How to test
- Write the live image image to the USB stick using
dd
.- Example command is:
dd if=Fedora-Workstation-Live-x86_64-42-1.1.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.
- Example command is:
- Boot the system from the USB stick.
- If testing a live image, start the installer.
- Proceed with the installation.
Expected Results
- The image is written to the USB stick without error.
- 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. If you observe the same failure booting the image in a virtual machine or from an optical disc, it is likely not a failure of this test case.