From Fedora Project Wiki

(Corrected doc links and minor wording fixes)
(Additional wording changes for ticket#193)
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{QA/Test_Case
 
{{QA/Test_Case
|description=This test is designed to test installing using iso images on a local disk partition.
+
|description=This test is designed to test installation from an ISO image on a local disk partition.
{{admon/note|Spare disk partition required|This test requires a local disk partition sized large enough to house at least 4 650MB iso images.  For further details please refer to the Red Hat Enterprise Linux 4: Installation Guide, sections [http://docs.fedoraproject.org/en-US/Fedora/{{FedoraVersion}}/html/Installation_Guide/ch04s07.html Preparing for a Hard Drive Installation]  and  [http://docs.fedoraproject.org/en-US/Fedora/{{FedoraVersion}}/html/Installation_Guide/s1-begininstall-hd-x86.html Installing from a Hard Drive].}}
+
{{admon/note|Spare disk partition required|This test requires a local disk partition sized large enough to house a 4.5Gib ISO image.  For further details please refer to the [http://docs.fedoraproject.org/en-US/Fedora/{{FedoraVersion}}/html/Installation_Guide/index.html Fedora {{FedoraVersion}} Installation Guide], sections [http://docs.fedoraproject.org/en-US/Fedora/{{FedoraVersion}}/html/Installation_Guide/s1-steps-hd-installs-x86.html Preparing for a Hard Drive Installation]  and  [http://docs.fedoraproject.org/en-US/Fedora/{{FedoraVersion}}/html/Installation_Guide/s1-begininstall-hd-x86.html Installing from a Hard Drive].}}
 +
|setup=
 +
<ol>
 +
<li> Prepare a system with a spare disk partition to store a 4.5Gib ISO image.  Typically, this can be accomplished by booting into the installer and proceeding to the disk partitioning step
 +
<li> Create a 5G physical disk partition (cannot be a LVM logical volume) with mount point {{filename|/iso}}.  Remember the disk partition device (e.g. {{filename|/dev/sdc4}}) as this will be needed in later steps.
 +
<li> Complete the installation as desired.
 +
{{admon/tip|Speed up|While any package set would be sufficient, the preliminary installation will be faster when using a smaller package set.}}
 +
</ol>
 
|actions=
 
|actions=
 
<ol>
 
<ol>
<li> Start the installer and proceed to the disk partitioning step
+
<li> Copy the installation ISO image into the {{filename|/iso}} directory.  For Fedora 14 and earlier, the installation program also requires that you copy the {{filename|images/install.img}} file from the DVD into partition containing the ISO image (e.g. {{filename|/iso/images/install.img}}).  In Fedora 15 and newer, only the ISO image is needed.
<li> Create a 5G physical disk partition (not LVM) with mount point {{filename|/iso}}.  Remember the disk partition device (e.g. {{filename|/dev/sdc4}}) as this will be needed in later steps.
+
{{admon/important|Don't mix images|When testing DVD ISO images, only copy the DVD ISO image(s) for the exact architecture being testedDo not mix ISO images from different architectures.}}
<li> Complete the installation as desired. 
+
<li> Boot your system into the installation program using any available means.  As of Fedora 15, you must add the boot argument <code>askmethod</code> so you can direct the installer to perform a hard drive installation method.
{{admon/tip|Speed up|While any package set would be sufficient, the preliminary installation will be faster when using a smaller package set.}}
 
<li> Boot into the installed system and copy all applicable installation ISO images into the {{filename|/iso}} directory.  As noted in the documentation, the installation program also requires that you copy the {{filename|images/install.img}} file from the DVD or {{filename|disc1.iso}} into partition containing the ISO image(s) (e.g. {{filename|/iso/images/install.img}}).
 
{{admon/important|Don't mix DVD and CD|If testing CD ISO images, only copy the CD ISO image(s).  If testing DVD ISO images, only copy the DVD ISO image(s).  Included CD and DVD images in the same directory may result in failures.}}
 
<li> Reboot your system into the installation program using any available means.  If booting into the installer using a {{filename|boot.iso}}, CD or DVD, you may need to add the boot argument <code>askmethod</code> so that you can later request the hard drive installation method.
 
<li> When prompted, direct the installer to use ''hard drive'' as the installation type.
 
 
<li> When prompted, select ''Hard drive'' as your installation source
 
<li> When prompted, select ''Hard drive'' as your installation source
<li> Select the disk partition that houses your disc iso images. Note, this was the disk partition created in step#2 above.
+
<li> Select the disk partition where you copied the ISO image. Note, this was the disk partition created in [[#Setup]] above.
 
<li> Complete the installation as desired
 
<li> Complete the installation as desired
 
</ol>
 
</ol>

Revision as of 13:37, 17 May 2011

Description

This test is designed to test installation from an ISO image on a local disk partition.

Note.png
Spare disk partition required
This test requires a local disk partition sized large enough to house a 4.5Gib ISO image. For further details please refer to the Fedora 32 Installation Guide, sections Preparing for a Hard Drive Installation and Installing from a Hard Drive.

Setup

  1. Prepare a system with a spare disk partition to store a 4.5Gib ISO image. Typically, this can be accomplished by booting into the installer and proceeding to the disk partitioning step
  2. Create a 5G physical disk partition (cannot be a LVM logical volume) with mount point /iso. Remember the disk partition device (e.g. /dev/sdc4) as this will be needed in later steps.
  3. Complete the installation as desired.
    Idea.png
    Speed up
    While any package set would be sufficient, the preliminary installation will be faster when using a smaller package set.

How to test

  1. Copy the installation ISO image into the /iso directory. For Fedora 14 and earlier, the installation program also requires that you copy the images/install.img file from the DVD into partition containing the ISO image (e.g. /iso/images/install.img). In Fedora 15 and newer, only the ISO image is needed.
    Important.png
    Don't mix images
    When testing DVD ISO images, only copy the DVD ISO image(s) for the exact architecture being tested. Do not mix ISO images from different architectures.
  2. Boot your system into the installation program using any available means. As of Fedora 15, you must add the boot argument askmethod so you can direct the installer to perform a hard drive installation method.
  3. When prompted, select Hard drive as your installation source
  4. Select the disk partition where you copied the ISO image. Note, this was the disk partition created in #Setup above.
  5. Complete the installation as desired

Expected Results

  1. Anaconda uses the install source from the hard disk provided and proceeds to stage2
  2. Anaconda completes the hard drive installation successfully
  3. Package errors (install.log) should not occur
  4. System boots successfully