QA:Testcase UEFI pxeboot

From FedoraProject

Revision as of 16:53, 6 April 2009 by Jlaska (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Description

This test validates booting EFI images over the network. Tests must be executed on a system capable of supporting Features/EFI. This test requires access to (or configuration of) a DHCP and tftp server to modify network boot configuration (see http://docs.fedoraproject.org/install-guide/f10/en_US/ap-install-server.html).


How to test

  1. Copy the EFI boot images into your tftp root directory:
    • For i386 images:
      cp /boot/efi/EFI/redhat/grub.efi /var/lib/tftpboot/X86PC/UNDI/pxelinux/bootia32.efi 
    • For x86_64 images:
      cp /boot/efi/EFI/redhat/grub.efi /var/lib/tftpboot/X86PC/UNDI/pxelinux/bootx64.efi 
  2. Configure your dhcpd server to use the EFI boot images packaged with grub. A sample configuration in /etc/dhcpd.conf might look like:
  class "pxeclients" {
          if option arch = 00:02 {
                  filename "ia64/elilo.efi";
          } else if option arch = 00:06 {
                  filename "X86PC/UNDI/pxelinux/bootia32.efi";
          } else if option arch = 00:07 {
                  filename "X86PC/UNDI/pxelinux/bootx64.efi";
          } else {
                  filename "X86PC/UNDI/pxelinux/pxelinux.0";
          }
  } 
  1. Configure a test system to boot using the EFI boot image. A sample host configuration might look like:
    host example-ia32 {
        hardware ethernet XX:YY:ZZ:11:22:33;
        filename "/pxelinux/bootia32.efi;
    }

    host example-x64 {
        hardware ethernet XX:YY:ZZ:33:22:11;
        filename "/pxelinux/bootx64.efi;
    }
  1. Reboot the system under test. When offered, be sure to select the network device as your boot device.

Expected Results

  1. The system should boot into the installer without error