Difference between revisions of "PXE UEFI booting and installing"

From PDP/Grid Wiki
Jump to navigationJump to search
(Created page with "We recently got a batch of DELL PE640s, and for fast storage opted for a superfast NVMe card of 3TB. That was almost the most expensive part of the whole order. Because the BI...")
 
Line 1: Line 1:
 
We recently got a batch of DELL PE640s, and for fast storage opted for a superfast NVMe card of 3TB. That was almost the most expensive part of the whole order. Because the BIOS could not handle this card (or the other way around, the card would not do BIOS, only UEFI) we were forced to do UEFI boot, a first for the NDPF.
 
We recently got a batch of DELL PE640s, and for fast storage opted for a superfast NVMe card of 3TB. That was almost the most expensive part of the whole order. Because the BIOS could not handle this card (or the other way around, the card would not do BIOS, only UEFI) we were forced to do UEFI boot, a first for the NDPF.
  
We install all our machines through PXE booting, and the configuration is managed by our trusty (legacy) quattor installation.
+
We install all our machines through PXE booting, and the configuration is managed by our trusty (legacy) quattor installation. This is based on pxelinux.cfg. For UEFI boot, we need a slightly different approach because the boot loader is a grub.
  
{{TODO}}
+
 
 +
option arch code 93 = unsigned integer 16; # RFC4578
 +
 +
if option arch = 00:06 {
 +
    filename "pxelinux/bootia32.efi";
 +
} else if option arch = 00:07 {
 +
#    option PXE.mtftp-cport 69;
 +
#    option PXE.mtftp-sport 69;
 +
#    option PXE.mtftp-tmout 10;
 +
    option tftp-server-name "stal.nikhef.nl";
 +
#    option PXE.mtftp-ip 194.171.103.250;
 +
    filename "pxelinux.cfg/bootx64.efi";
 +
} else {
 +
#    option dhcp-class-identifier "PXEClient";
 +
    option vendor-class-identifier "PXEClient";
 +
    option vendor-encapsulated-options 01:04:00:00:00:00:ff;
 +
 +
    filename "pxelinux/pxelinux.0";
 +
}

Revision as of 15:34, 13 April 2018

We recently got a batch of DELL PE640s, and for fast storage opted for a superfast NVMe card of 3TB. That was almost the most expensive part of the whole order. Because the BIOS could not handle this card (or the other way around, the card would not do BIOS, only UEFI) we were forced to do UEFI boot, a first for the NDPF.

We install all our machines through PXE booting, and the configuration is managed by our trusty (legacy) quattor installation. This is based on pxelinux.cfg. For UEFI boot, we need a slightly different approach because the boot loader is a grub.


option arch code 93 = unsigned integer 16; # RFC4578

if option arch = 00:06 {
    filename "pxelinux/bootia32.efi";
} else if option arch = 00:07 {
#    option PXE.mtftp-cport 69;
#    option PXE.mtftp-sport 69;
#    option PXE.mtftp-tmout 10;
    option tftp-server-name "stal.nikhef.nl";
#    option PXE.mtftp-ip 194.171.103.250;
    filename "pxelinux.cfg/bootx64.efi";
} else {
#    option dhcp-class-identifier "PXEClient";
    option vendor-class-identifier "PXEClient";
    option vendor-encapsulated-options 01:04:00:00:00:00:ff;

    filename "pxelinux/pxelinux.0";
}