Workaround for uEFI/BIOS PXE boot

!!! This is NOT working !!!

  1. Add following lines to a new file: /etc/dnsmasq.d/pxe.conf
    # Configuration of PXE boot for main fsi server 172.16.0.14
    
    
    # The boot filename, Server name, Server Ip Address
    dhcp-boot=bios/pxelinux.0,pxeserver,172.16.0.14
    
    # inspect the vendor class string and match the text to set the tag
    dhcp-vendorclass=BIOS,PXEClient:Arch:00000
    dhcp-vendorclass=UEFI32,PXEClient:Arch:00006
    dhcp-vendorclass=UEFI,PXEClient:Arch:00007
    dhcp-vendorclass=UEFI64,PXEClient:Arch:00009
    
    # Set the boot file name based on the matching tag from the vendor class (above)
    dhcp-boot=net:UEFI32,efi32.efi,pxeserver,172.16.0.14
    dhcp-boot=net:BIOS,pxelinux.0,pxeserver,172.16.0.14
    dhcp-boot=net:UEFI64,efi64.efi,pxeserver,172.16.0.14
    dhcp-boot=net:UEFI,efi64.efi,pxeserver,172.16.0.14
  2. kill dnsmasq
    1. cat /run/dnsmasq/dnsmasq.pid
    2. kill <number>
  3. start dnsmasq
    1. /usr/sbin/dnsmasq -x /run/dnsmasq/dnsmasq.pid -u dnsmasq -7 /etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new --local-service


Authors:
  • Jochen Schnürle