[Dnsmasq-discuss] UEFI booting not working with PXE using dnsmasq with DCHP Proxy.
Cleandro Viana
Cleandro.Viana at entrust.com
Fri May 2 18:25:52 UTC 2025
Hello,
I am following the instructions in the Ubuntu 24.04 - Deploy Ubuntu 24.04 through the PXE (BIOS & UEFI).
https://c-nergy.be/blog/?p=20027
Ubuntu 24.04 – Deploy Ubuntu 24.04 Server through PXE (BIOS & UEFI)<https://c-nergy.be/blog/?p=20027>
Hello World, In our previous post “Ubuntu 24.04 – Deploy Ubuntu 24.04 Desktop through PXE (BIOS & UEFI)”, we have demonstrated how to deploy Ubuntu 24.04 Desktop version through the PXE technology. Compared to Ubuntu 20.04, there are not too many changes and the installation process remains quite similar.
c-nergy.be
Thank for the guide and it helped me getting started.
After the setup, I am able to get VMs using BIOS to see the PXE menu.
However when I try a VM that uses EFI booting. It does not get the PXE menu.
I see the following in the dnsmasq.log file:
May 2 17:57:33 dnsmasq-dhcp[4223]: 2368437593 PXE(ens160) 00:50:56:81:97:ca proxy
May 2 17:57:33 dnsmasq-dhcp[4223]: 2368437593 tags: efi-x86_64, ens160
May 2 17:57:33 dnsmasq-dhcp[4223]: 2368437593 bootfile name: grub/bootx64.efi
May 2 17:57:33 dnsmasq-dhcp[4223]: 2368437593 server name: XXXXXXx
May 2 17:57:33 dnsmasq-dhcp[4223]: 2368437593 next server: XXXXX
May 2 17:57:33 dnsmasq-dhcp[4223]: 2368437593 sent size: 1 option: 53 message-type 5
May 2 17:57:33 dnsmasq-dhcp[4223]: 2368437593 sent size: 4 option: 54 server-identifier XXXXX
May 2 17:57:33 dnsmasq-dhcp[4223]: 2368437593 sent size: 9 option: 60 vendor-class 50:58:45:43:6c:69:65:6e:74
May 2 17:57:33 dnsmasq-dhcp[4223]: 2368437593 sent size: 17 option: 97 client-machine-id 00:42:01:99:04:1f:61:84:c6:ed:c9:76:8b:6c...
May 2 17:57:36 dnsmasq-tftp[4223]: error 8 User aborted the transfer received from YYYYYYY
May 2 17:57:36 dnsmasq-tftp[4223]: sent /tftpboot/grub/bootx64.efi to YYYYYYY
I am using DHCP proxy on the dnsmasq.conf file. Here is my dnsmasq.conf file:
------------------------------------
# Disable DNS Server
port=0
# Choose specific interface
interface=ens160
bind-interfaces
# Enable logging
log-dhcp
log-queries
log-facility=/var/log/dnsmasq.log
log-async
#dhcp-no-override
# run as DHCP proxy
dhcp-range=XXXXXXXX,proxy,255.255.255.0
dhcp-option=66,XXXXXXXX
dhcp-option=67,grub/bootx64.ini
# enable TFTP
enable-tftp
tftp-root=/tftpboot
# Provide network boot option called "Network Boot".
pxe-service=x86PC,"Network Boot",bios/pxelinux
pxe-service=X86-64_EFI,"UEFI Network Boot",grub/bootx64.efi
I have seen many posts about UEFI booting not working with DHCP proxy on the dnsmasq.conf file.
Is this true? Can you help?
Cleandro Viana
Any email and files/attachments transmitted with it are intended solely for the use of the individual or entity to whom they are addressed. If this message has been sent to you in error, you must not copy, distribute or disclose of the information it contains. Please notify Entrust immediately and delete the message from your system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20250502/9c1590a2/attachment-0001.htm>
More information about the Dnsmasq-discuss
mailing list