From Fedora Project Wiki
(Redirected from QA:Testcase USB stick DVD litd)
Description
This test verifies that a Fedora ISO image can be written to a USB stick with the livecd-iso-to-disk 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).
- On an existing Fedora system, install
livecd-tools
.
How to test
- Write the image to the USB stick using
livecd-iso-to-disk
.- Example command is:
livecd-iso-to-disk --format --reset-mbr --efi Fedora-Workstation-Live-x86_64-41-1.1.iso /dev/sdX
where you replace sdX by your USB stick device identifier. This will destroy all data on that stick. - A longer guide how to use this command is available at How to create and use Live USB#litd. You can also run the command with
--help
option.
- 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.
- 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 installation finishes successfully, and if a DVD image was used, uses the package repository on the USB stick (not a network repository).
- 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.