From Fedora Project Wiki

(link out to the anaconda/updates page for up-to-date creation instructions)
(fix up the test case for the new century: we're not dding disk images to floppies any more, dorothy)
Line 3: Line 3:
|actions=
|actions=
# Prepare a valid {{filename|updates.img}} file. See [[Anaconda/Updates#create-images|this page]] for image creation instructions. A good thing to change in the {{filename|updates.img}} is the "What language would you like to use during the installation process?" text in {{filename|pyanaconda/iw/language_gui.py}}, as this text is displayed on one of the first screens.
# Prepare a valid {{filename|updates.img}} file. See [[Anaconda/Updates#create-images|this page]] for image creation instructions. A good thing to change in the {{filename|updates.img}} is the "What language would you like to use during the installation process?" text in {{filename|pyanaconda/iw/language_gui.py}}, as this text is displayed on one of the first screens.
# Write the {{filename|updates.img}} to your removable media: <pre>dd if=/tmp/updates.img of=/dev/sdd</pre>
# Copy the {{filename|updates.img}} to your removable media
# Insert the removable drive (USB key or floppy disk)
# Insert the removable drive (USB key or floppy disk)
# Boot the installer with the boot argument: <code>updates</code>
# Boot the installer with the boot argument: <code>updates=hd:LABEL=(label):/updates.img</code> or <code>updates=hd:UUID=(UUID):/updates.img</code>, where label is the label of the partition or UUID is its UUID (so if the stick had the label KINGSTON, you'd put <code>updates=hd:LABEL=KINGSTON:/updates.img</code>
# When prompted, select the appropriate removable device from the list
|results=
|results=
# The system should install successfully
# Anaconda prepares the {{filename|updates.img}} and copies its content to {{filename|/tmp/updates/}}. Any changes you included in the updates.img file are applied
# Anaconda prepares the {{filename|updates.img}} and copies its content to {{filename|/tmp/updates/}}. Any changes you included in the updates.img file are applied
# Anaconda proceeds without related errors
# Anaconda proceeds without related errors

Revision as of 21:42, 7 May 2012

Description

This test will verify that anaconda can load an updates.img from removable media. Note, this test needs removable media for storing an updates.img (USB storage or floppy disk). Additional information on using an updates.img can be found at Anaconda/Updates.


How to test

  1. Prepare a valid updates.img file. See this page for image creation instructions. A good thing to change in the updates.img is the "What language would you like to use during the installation process?" text in pyanaconda/iw/language_gui.py, as this text is displayed on one of the first screens.
  2. Copy the updates.img to your removable media
  3. Insert the removable drive (USB key or floppy disk)
  4. Boot the installer with the boot argument: updates=hd:LABEL=(label):/updates.img or updates=hd:UUID=(UUID):/updates.img, where label is the label of the partition or UUID is its UUID (so if the stick had the label KINGSTON, you'd put updates=hd:LABEL=KINGSTON:/updates.img

Expected Results

  1. Anaconda prepares the updates.img and copies its content to /tmp/updates/. Any changes you included in the updates.img file are applied
  2. Anaconda proceeds without related errors