[syslinux] Problem with PXE/UEFI
JZB
jzb at z2zcorp.com
Thu Feb 27 07:01:28 PST 2020
On 2020-02-27 02:18, Steininger, Herbert via Syslinux wrote:
> Hi Guys,
>
> i have a problem with PXE/UEFI Boot.
> Legacy PXE Boot is working fine.
>
...
>
> But UEFI PXE Boot shows only
>
> --- start tcpdump uefi pxe boot ---
> 13:43:01.140936 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from f8:ca:b8:06:7d:ed (oui Unknown), length 347
> 13:43:04.417984 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from f8:ca:b8:06:7d:ed (oui Unknown), length 359
> --- stot tcpdump uefi pxe boot ---
>
> As you can see, nothing happens, no ARP or anything else.
> But it will show up in dnsmasq-log while trying UEFI PXE Boot:
>
PXE over UEFI sends a different architecture-type than legacy PXE. I
have this in my dhcpd.conf to account for it:
if option architecture-type = 00:00 {
option configfile "pxelinux.cfg/C0A801";
option pathprefix "";
filename "/pxelinux.0";
} elsif option architecture-type = 00:07 {
option configfile "pxelinux.cfg/C0A801";
option pathprefix "";
filename "/x86_64/syslinux.efi";
} else {
option configfile "pxelinux.cfg/C0A801";
option pathprefix "";
filename "/pxelinux.0";
}
There are other issues with PXE over UEFI with syslinux. I got it to
work by using version 6.04_pre1 plus 3 pathes and building from source:
efi-udp-core_udp_connect-use-SubnetMask-not-StationA.patch
efi-udp-Add-retry-disabling-UseDefaultAddress.patch
efi-udp-Removing-the-udp_reader-efi_binding.patch
Patches are cherry-picked commits from syslinux git tree.
--jzb
More information about the Syslinux
mailing list