From Fedora Project Wiki
(render the <pre> tag correctly) |
|||
Line 2: | Line 2: | ||
|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]]. | |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]]. | ||
|actions= | |actions= | ||
<ol> | |||
<li> Prepare a valid ''updates.img''. For example, to create an ''updates.img'' you might run the following | |||
<pre> | |||
mkdir /tmp/updates | |||
dd if=/dev/zero of=/tmp/updates.img bs=1k count=1440 | |||
mke2fs /tmp/updates.img | |||
mount -o loop /tmp/updates.img /tmp/updates | |||
touch /tmp/updates/TESTING123 | |||
umount /tmp/updates</pre> | |||
</li> | |||
<li> Write the ''updates.img'' to your removable media: <pre>dd if=/tmp/updates.img of=/dev/sdd</pre></li> | |||
<li> Insert the removable drive (USB key or floppy disk)</li> | |||
<li> Boot the installer with the boot argument: <code>updates</code></li> | |||
<li> When prompted, select the appropriate removable device from the list</li> | |||
</ol> | |||
|results= | |results= | ||
# The system should install successfully | # The system should install successfully |
Revision as of 09:56, 2 June 2011
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
- Prepare a valid updates.img. For example, to create an updates.img you might run the following
mkdir /tmp/updates dd if=/dev/zero of=/tmp/updates.img bs=1k count=1440 mke2fs /tmp/updates.img mount -o loop /tmp/updates.img /tmp/updates touch /tmp/updates/TESTING123 umount /tmp/updates
- Write the updates.img to your removable media:
dd if=/tmp/updates.img of=/dev/sdd
- Insert the removable drive (USB key or floppy disk)
- Boot the installer with the boot argument:
updates
- When prompted, select the appropriate removable device from the list
Expected Results
- The system should install successfully
- The updates.img is loaded successfully, to confirm check for the presence of the file /tmp/updates/TESTING123
- After install, the system boots successfully