From Fedora Project Wiki

m (Added category)
(mark as obsolete)
 
(17 intermediate revisions by 3 users not shown)
Line 1: Line 1:
= InstallSourceHardDrive =
+
{{admon/note|Obsolete|As of Fedora 17, the ''askmethod'' parameter is no longer valid.}}
== Description ==
+
{{QA/Test_Case
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 by <code>'''askmethod'''</code>.
 +
{{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=
 +
<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.
 +
{{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.  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> 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
 +
</ol>
 +
|results=
 +
# Anaconda uses the install repository from the hard disk provided
 +
# Anaconda completes the hard drive installation successfully
 +
# Package errors (install.log) should not occur
 +
# System boots successfully
 +
}}
  
  
 
+
[[Category:Installation Source]]
NOTE: 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  [https://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/x8664-multi-install-guide/s1-steps-hd-install.html Preparing for a Hard Drive Installation] and  [https://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/x8664-multi-install-guide/s1-begininstall-hd.html Installing from a Hard Drive] .
+
[[Category:Obsolete Test Cases]]
 
+
[[Category:Installation Repository Hard Drive]]
 
 
== Steps To Reproduce ==
 
 
 
 
 
1. Start the anaconda installer
 
 
 
1. Create a 5G physical disk partition (not LVM) with mount point /iso (NOTE the disk and partition anaconda uses, e.g. /dev/sdb1 as this will come into play in later steps)
 
 
 
1. Proceed with your installation using a minimal package set
 
 
 
1. Boot into your new system and copy all applicable installation disc iso's to your /iso directory.
 
 
 
1. Reboot your system into the installation program using any available method:
 
 
 
 
 
* PXE boot into the installer
 
 
 
* boot.iso
 
 
 
* *disc1.iso
 
 
 
* Copy $TREE/images/pxeboot/* into your /boot and update /etc/grub.conf to boot the installer
 
 
 
 
 
 
 
1.  Select a language
 
 
 
1.  Select a keyboard mapping
 
 
 
1.  Select hard drive as your installation source
 
 
 
1.  Select the disk partition that houses your disc iso images.  Note, this was the disk partition created in step#2 above
 
 
 
1. Select auto-partition at the disk partitioning screen
 
 
 
1.  Proceed with an all-language @everything installation
 
 
 
 
 
== Expected Results ==
 
(baseline)
 
 
 
[[Category:Installer Test Cases|InstallSourceHardDrive]]
 

Latest revision as of 23:37, 26 March 2012

Note.png
Obsolete
As of Fedora 17, the askmethod parameter is no longer valid.

Description

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

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 34 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 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 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