QA:Testcase Boot Methods Pxeboot

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(Update for new reality)
(some more revision and clarification)
Line 2: Line 2:
 
|description=This test confirms that you are able to install a system when booting the installer using '''only''' a kernel and initial ramdisk image.
 
|description=This test confirms that you are able to install a system when booting the installer using '''only''' a kernel and initial ramdisk image.
 
{{admon/note|Pxeboot Images Required|This test case requires having pxeboot images made available for a system. For further information on PXE, please see  [http://en.wikipedia.org/wiki/Preboot_Execution_Environment http://en.wikipedia.org/wiki/Preboot_Execution_Environment]}}  
 
{{admon/note|Pxeboot Images Required|This test case requires having pxeboot images made available for a system. For further information on PXE, please see  [http://en.wikipedia.org/wiki/Preboot_Execution_Environment http://en.wikipedia.org/wiki/Preboot_Execution_Environment]}}  
 +
|prep=
 +
# Set up a PXE server
 +
# Have the server serve out the {{filename|vmlinuz}} and {{filename|initrd.img}} files found in the {{filename|(arch)/images/pxeboot}} directory of the tree for the Fedora release, pre-release or candidate build you wish to test
 
|actions=
 
|actions=
# Boot test system off the network using the kernel ({{filename|images/pxeboot/vmlinuz}}) and initial ramdisk image ({{filename|images/pxeboot/initrd.img}}) and a valid [[Anaconda_Boot_Options#repo|inst.repo]] argument
+
# Boot the test system via PXE, using the {{filename|vmlinuz}} (kernel) and {{filename|initrd.img}} (initrd) files provided by the server, and passing a valid [[Anaconda_Boot_Options#repo|inst.repo]] argument pointing to a server containing a Fedora tree matching the release you are testing (see the [[Anaconda_Boot_Options#repo|inst.repo]] documentation for further instructions)
 
|results=
 
|results=
# Graphical boot menu is displayed for users to select install options. If no option is selected, the installer should load after a reasonable timeout (this really depends on local PXE/TFTP setup, not something the project can control)
+
# The kernel/initrd pair boots and, via dracut, handles download of the anaconda image from the specified repository
# Installer boots
+
# Dracut hands over to anaconda without error
# Installer transitions to [[Anaconda/Stage|anaconda]] without error
+
# The installer utilizes the package repository specified on the command line
# The installer utilizes the package repository at the provided installation source
+
 
}}
 
}}
  
 
[[Category:Installer Boot Methods]]
 
[[Category:Installer Boot Methods]]
 
[[Category:Package_anaconda_test_cases]]
 
[[Category:Package_anaconda_test_cases]]

Revision as of 00:34, 5 October 2012

Description

This test confirms that you are able to install a system when booting the installer using only a kernel and initial ramdisk image.

Note.png
Pxeboot Images Required
This test case requires having pxeboot images made available for a system. For further information on PXE, please see http://en.wikipedia.org/wiki/Preboot_Execution_Environment


How to test

  1. Boot the test system via PXE, using the vmlinuz (kernel) and initrd.img (initrd) files provided by the server, and passing a valid inst.repo argument pointing to a server containing a Fedora tree matching the release you are testing (see the inst.repo documentation for further instructions)

Expected Results

  1. The kernel/initrd pair boots and, via dracut, handles download of the anaconda image from the specified repository
  2. Dracut hands over to anaconda without error
  3. The installer utilizes the package repository specified on the command line