PXE Booting UEFI

Home » CentOS » PXE Booting UEFI
CentOS 1 Comment

Good Afternoon,

As per the installation guide, section 30.2.2 I’ve created an efidefault file at /var/lib/tftpboot/pxelinux/pxelinux.cfg/efidefault

However, this file is never requested by the 64 bit PXE loader (bootx64.efi), as shown by tcpdump:

75 RRQ “/pxelinux/42272635-0011-5053-ACF2-82A100E615F2” octet tsize 0 blksize 512
59 RRQ “/pxelinux/01-00-50-56-A7-BA-BF” octet tsize 0 blksize 512
47 RRQ “/pxelinux/C13F3F6E” octet tsize 0 blksize 512
46 RRQ “/pxelinux/C13F3F6” octet tsize 0 blksize 512
45 RRQ “/pxelinux/C13F3F” octet tsize 0 blksize 512
44 RRQ “/pxelinux/C13F3” octet tsize 0 blksize 512
43 RRQ “/pxelinux/C13F” octet tsize 0 blksize 512
42 RRQ “/pxelinux/C13” octet tsize 0 blksize 512
41 RRQ “/pxelinux/C1” octet tsize 0 blksize 512
40 RRQ “/pxelinux/C” octet tsize 0 blksize 512
49 RRQ “/pxelinux/efidefault” octet tsize 0 blksize 512

I’ve worked around this by placing a separate efidefault in the root of the pxelinux directory – however this is undesirable as this means I have to maintain separate configs for BIOS and UEFI.

Does anyone know why this is not behaving as documented?

Regards,

Adam Bishop Systems Development Specialist

gpg: 0x6609D460
t: +44 (0)1235 822 245
xmpp: adamb@jabber.dev.ja.net

Janet, the UK’s research and education network.

Janet(UK) is a trading name of Jisc Collections and Janet Limited, a not-for-profit company which is registered in England under No. 2881024
and whose Registered Office is at Lumen House, Library Avenue, Harwell Oxford, Didcot, Oxfordshire. OX11 0SG. VAT No. 614944238

One thought on - PXE Booting UEFI

  • IIRC the line
    49 RRQ “/pxelinux/efidefault” octet tsize 0 blksize 512
    In the output below means look in
    /var/lib/tftpboot//pxelinux/efidefault Not
    /var/lib/tftpboot//pxelinux/pxelinux.cfg/efidefault i.e. it is rooted at the root of your TFTPboot structure.

    Even when this disclaimer is not here:
    I am not a contracting officer. I do not have authority to make or modify the terms of any contract.