From Fedora Project Wiki

(Additional wording changes to de-emphasize CD images)
(Additional wording changes for ticket#193)
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=
|setup=
<ol>
<ol>
<li> Prepare a system with a spare disk partition to store ISO images.  Typically, this can be accomplished by booting into the installer and proceeding to the disk partitioning step
<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> 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.
<li> Complete the installation as desired.
Line 11: Line 11:
|actions=
|actions=
<ol>
<ol>
<li> Copy all applicable installation ISO images 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(s) (e.g. {{filename|/iso/images/install.img}}).  In Fedora 15 and newer, only the ISO image(s) is needed.
<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.
{{admon/important|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.}}
{{admon/important|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.}}
<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.
<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.
<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 where you copied the ISO image(s). Note, this was the disk partition created in [[#Setup]] 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 40 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