QA:Testcase install repository Hard drive variation

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(Created HD variation test to verify its 'repo=' method)
 
(remove outdated info)
Line 11: Line 11:
 
|actions=
 
|actions=
 
<ol>
 
<ol>
<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> Copy the installation ISO image into the {{filename|/iso}} directory.
 
{{admon/important|Don't mix images|When testing DVD ISO images, only copy the DVD ISO image 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 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 (netinst.iso, pxeboot images or DVD.iso)  
 
<li> Boot your system into the installation program using any available means (netinst.iso, pxeboot images or DVD.iso)  

Revision as of 10:23, 2 November 2011

Contents

Description

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

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 21 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.
    Important.png
    Don't mix images
    When testing DVD ISO images, only copy the DVD ISO image 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 (netinst.iso, pxeboot images or DVD.iso)
  3. Direct anaconda to use the install repository from the disk partition where you copied the ISO image. Provide the device name, LABEL, or UUID of the disk partition by repo= boot argument. For example:
    • repo=hd:device:/path
    • repo=hd:LABEL=:/path
    • repo=hd:UUID=:/path
  4. Complete the installation as desired

Expected Results

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