From Fedora Project Wiki

(add oflag=direct to correctly display progress and also make this possibly a bit safer (no caches used, even though I'm not sure any caches are used in care of writing to a device))
(fix link)
Line 11: Line 11:
# Convert the image to the USB stick using {{command|dd}}.
# Convert the image to the USB stick using {{command|dd}}.
#* Example command is: {{#tag:pre|# dd if=Fedora-{{FedoraVersionNumber|next}}-x86_64-DVD.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.'''
#* Example command is: {{#tag:pre|# dd if=Fedora-{{FedoraVersionNumber|next}}-x86_64-DVD.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#Using dd for a direct copy]].
#* 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.
# Proceed with the installation.
# Proceed with the installation.

Revision as of 11:33, 28 April 2016

Note.png
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 traditional installer image containing packages can be booted and installed from a USB stick created by a dd command.

Warning.png
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. 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.
  2. 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).
  3. Ensure you have an existing Linux (or other Unix system) with the dd command available.

How to test

  1. Convert the image to the USB stick using dd.
    • Example command is:
      # dd if=Fedora-41-x86_64-DVD.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.
  2. Boot the system from the USB stick.
  3. Proceed with the installation.

Expected Results

  1. The image is written to the USB stick without error.
  2. The USB stick boots into the installer without error.
  3. The installation finishes successfully, and uses the package repository on the USB stick (not a network repository).
  4. 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.