From Fedora Project Wiki

No edit summary
(add example command, add big fat warning about dangerous test case)
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=This test verifies that Fedora Live Image can be booted from USB stick.
|description=This test verifies that {{filename|Live.iso}} image can be booted from a USB stick created by a {{command|livecd-iso-to-disk}} command.
 
{{admon/warning|You might lose your data|This test case requires you to use low-level system utilities that can easily destroy all your data when used incorrectly. Only follow this if you are a highly-experienced user or you don't mind losing your system and your data.}}
There are more methods to create the Live USB stick, this test covers Livecd-iso-to-disk.
|setup=
|setup=
# Prepare the Live ISO image and USB stick.
# You need to have a USB stick that is larger than the {{filename|Live.iso}} image.
# Copy the {{filename|Live.iso}} to the USB stick using Livecd-iso-to-disk[http://fedoraproject.org/wiki/How_to_create_and_use_Live_USB#Run_livecd-iso-to-disk_script]
|actions=
|actions=
# Insert the USB stick containing {{filename|Live.iso}}, and boot the system under test
# Convert the {{filename|Live.iso}} image to the USB stick using {{command|livecd-iso-to-disk}}.
# At the boot prompt, interrupt the automatic boot sequence by pressing any key. Then select the menu option Boot.
#* Example command is: {{#tag:pre|# livecd-iso-to-disk --format --reset-mbr --efi Fedora-{{FedoraVersionNumber|next}}-x86_64-Live-Desktop.iso /dev/sdX}} where you replace ''sdX'' by your USB stick device identifier. '''This will destroy all data on that disk.'''
# From live image desktop, or from the Application menu, click the icon Install to hard drive
#* 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]].
# Complete the installation as desired
# Boot the system from the USB stick.
# Reboot the system and remove the Live boot media
# Start the installer.
# Proceed with the installation.
|results=
|results=
# A graphical boot menu is displayed and the graphics look reasonably good. While hi-res images aren't supported in the boot menu, the graphics should not look extremely pixelated.
# The ISO image is converted to the USB stick without error.
# Upon selecting Boot, the Live image boots successfully.  
# The Live image boots without error.
# The installer starts without error
# The installer starts without error.
# The installer completes without error
# The installation finishes successfully.
# The system reboots successfully
# The new system initiates boot properly.
}}
}}


[[Category:Installer Boot Methods]]
[[Category:Installer Boot Methods]]

Revision as of 13:58, 31 October 2012

Description

This test verifies that Live.iso image can be booted from a USB stick created by a livecd-iso-to-disk command.

You might lose your data
This test case requires you to use low-level system utilities that can easily destroy all your data when used incorrectly. Only follow this if you are a highly-experienced user or you don't mind losing your system and your data.

Setup

  1. You need to have a USB stick that is larger than the Live.iso image.

How to test

  1. Convert the Live.iso 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 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.
  2. Boot the system from the USB stick.
  3. Start the installer.
  4. Proceed with the installation.

Expected Results

  1. The ISO image is converted to the USB stick without error.
  2. The Live image boots without error.
  3. The installer starts without error.
  4. The installation finishes successfully.
  5. The new system initiates boot properly.