From Fedora Project Wiki
(improve instructions) |
(warn about overwriting partition repo) |
||
Line 17: | Line 17: | ||
Example: <pre>inst.repo=hd:sdb1:/DVD.iso</pre> | Example: <pre>inst.repo=hd:sdb1:/DVD.iso</pre> | ||
Make sure the {{filename|.iso}} file architecture matches the architecture of your installer media.</li> | Make sure the {{filename|.iso}} file architecture matches the architecture of your installer media.</li> | ||
<li>Proceed with installation</li> | <li>Proceed with installation. | ||
<ul> | |||
<li>Make sure you don't remove or overwrite the partition used as the installation repository (containing the {{filename|DVD.iso}} image).</li> | |||
</ul> | |||
</li> | |||
</ol> | </ol> | ||
|results= | |results= |
Revision as of 12:41, 14 November 2012
Description
This is to verify that Anaconda's inst.repo
boot option works together with a DVD.iso
placed on local disk partition.
Setup
- Prepare a system with a spare physical disk partition (not an LVM logical volume) to store the
DVD.iso
image. - Copy the
DVD.iso
to the disk partition. - Remember one of the partition's identifiers - either partition device (like
/dev/sdb1
) or LABEL or UUID.gnome-disk-utility
can help you with that. - Prepare any non-live media for booting the installer (anything except
Live.iso
).
How to test
- Before booting the installer, specify a target hard disk repository by adding a boot option in one of these forms:
inst.repo=hd:<device>:<path> inst.repo=hd:LABEL=<label>:<path> inst.repo=hd:UUID=<uuid>:<path>
The
Example:<path>
can refer to a directory containing a single.iso
file, or to the.iso
file directly.
inst.repo=hd:sdb1:/DVD.iso
Make sure the.iso
file architecture matches the architecture of your installer media. - Proceed with installation.
- Make sure you don't remove or overwrite the partition used as the installation repository (containing the
DVD.iso
image).
- Make sure you don't remove or overwrite the partition used as the installation repository (containing the
Expected Results
- The installer auto-selects requested disk repository as the installation source in its GUI
- The requested repository is used to download and install required packages. This can be checked by inspecting
/tmp/packaging.log
. Example output:14:44:07,093 INFO packaging: setting up device sdb1 and mounting on /mnt/install/isodir 14:44:07,217 INFO packaging: mounting /mnt/install/isodir/DVD.iso on /mnt/install/source ... 14:44:07,545 DEBUG packaging: adding yum repo anaconda with baseurl file:///mnt/install/source and mirrorlist None 14:44:07,568 DEBUG packaging: disabling repo fedora 14:44:07,569 DEBUG packaging: disabling repo updates-testing 14:44:07,569 DEBUG packaging: disabling repo updates
- The installation completes and the new system initiates boot properly