From Fedora Project Wiki
(adjust associated_release_criterion template invocation) |
(update a bit, Productize as DVDs don't really exist any more (name change coming)) |
||
Line 2: | Line 2: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description=This test verifies that | |description=This test verifies that a traditional installer image containing packages can be booted and installed from a USB stick created by a {{command|livecd-iso-to-disk}} command. | ||
{{admon/warning| | {{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 image you wish to test. This must be a traditional (i.e. non-live) installer-based image containing a package repository, such as the [[Server]] offline install image. | ||
# | # 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 {{package|livecd-tools}}. | |||
|actions= | |actions= | ||
# | # Write the image to the USB stick using {{command|livecd-iso-to-disk}}. | ||
#* Example command is: {{#tag:pre|# livecd-iso-to-disk --format --reset-mbr Fedora-{{FedoraVersionNumber|next}}-x86_64-DVD.iso /dev/sdX}} where you replace ''sdX'' by your USB stick device identifier. '''This will destroy all data on that disk.''' | #* Example command is: {{#tag:pre|# livecd-iso-to-disk --format --reset-mbr --efi Fedora-{{FedoraVersionNumber|next}}-x86_64-DVD.iso /dev/sdX}} 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#Using the livecd-iso-to-disk tool]]. You can also run the command with {{command|--help}} option. | #* A longer guide how to use this command is available at [[How to create and use Live USB#Using the livecd-iso-to-disk tool]]. You can also run the command with {{command|--help}} option. | ||
# Boot the system from the USB stick. | # Boot the system from the USB stick. | ||
# Proceed with the installation. | # Proceed with the installation. | ||
|results= | |results= | ||
# The | # The image is written to the USB stick without error. | ||
# The | # The USB stick boots into the installer without error. | ||
# The installation finishes successfully. | # The installation finishes successfully, and uses the package repository on the USB stick (not a network repository). | ||
# The new system initiates boot properly. | # 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:Installer Boot Methods]] | ||
[[Category:USB_test_cases]] |
Revision as of 23:48, 8 July 2014
Description
This test verifies that a traditional installer image containing packages can be booted and installed from a USB stick created by a livecd-iso-to-disk
command.
Setup
- Download the image you wish to test. This must be a traditional (i.e. non-live) installer-based image containing a package repository, such as the Server offline install image.
- 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 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-DVD.iso /dev/sdX
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#Using the livecd-iso-to-disk tool. You can also run the command with
--help
option.
- Example command is:
- Boot the system from the USB stick.
- Proceed with the installation.
Expected Results
- The image is written to the USB stick without error.
- The USB stick boots into the installer without error.
- The installation finishes successfully, and 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.