From Fedora Project Wiki
(render the <pre> tag correctly) |
(use {{filename|foo}} format) |
||
Line 1: | Line 1: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description=This test will verify that anaconda can load an updates.img from removable media. Note, this test needs removable media for storing an | |description=This test will verify that anaconda can load an {{filename|updates.img}} from removable media. Note, this test needs removable media for storing an {{filename|updates.img}} (USB storage or floppy disk). Additional information on using an {{filename|updates.img}} can be found at [[Anaconda/Updates]]. | ||
|actions= | |actions= | ||
<ol> | <ol> | ||
<li> Prepare a valid | <li> Prepare a valid {{filename|updates.img}}. For example, to create an {{filename|updates.img}} you might run the following | ||
<pre> | <pre> | ||
mkdir /tmp/updates | mkdir /tmp/updates | ||
Line 12: | Line 12: | ||
umount /tmp/updates</pre> | umount /tmp/updates</pre> | ||
</li> | </li> | ||
<li> Write the | <li> Write the {{filename|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> Insert the removable drive (USB key or floppy disk)</li> | ||
<li> Boot the installer with the boot argument: <code>updates</code></li> | <li> Boot the installer with the boot argument: <code>updates</code></li> | ||
Line 19: | Line 19: | ||
|results= | |results= | ||
# The system should install successfully | # The system should install successfully | ||
# The | # The {{filename|updates.img}} is loaded successfully, to confirm check for the presence of the file {{filename|/tmp/updates/TESTING123}} | ||
# After install, the system boots successfully | # After install, the system boots successfully | ||
}} | }} | ||
[[Category:Recovery Test Cases]] | [[Category:Recovery Test Cases]] |
Revision as of 09:58, 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 anupdates.img
you might run the followingmkdir /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