From Fedora Project Wiki
m (fix link) |
(media consistency verification doesn't work for this method) |
||
Line 18: | Line 18: | ||
# The live image is written to the USB stick without error. | # The live image is written to the USB stick without error. | ||
# The stick boots 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 installer starts without error. | ||
# The installation finishes successfully. | # The installation finishes successfully. |
Revision as of 10:33, 23 September 2014
Description
This test verifies that a Fedora live image can be booted and installed from a USB stick created by a livecd-iso-to-disk
command.
Setup
- Download the live image you wish to 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).
- On an existing Fedora system, install
livecd-tools
.
How to test
- Write the live image to the USB stick using
livecd-iso-to-disk
.- Example command is:
# livecd-iso-to-disk --format --reset-mbr --efi Fedora-42-x86_64-Live-Desktop.iso /dev/sdX
where you replace sdX by your USB stick device identifier. This will destroy all data on thatstick. - A longer guide how to use this command is available at How to create and use Live USB#Command line method: Using the livecd-iso-to-disk tool (Fedora only, non-graphical, both non-destructive and destructive methods available). You can also run the command with
--help
option.
- Example command is:
- Boot the system from the USB stick.
- Start the installer.
- Proceed with the installation.
Expected Results
- The live 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.
- 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.