[Dnsmasq-discuss] Windows PXE boot only works with a single pxe-service option set

Lance Hathaway lance at beadaptive.ca
Tue Oct 14 22:35:19 UTC 2025


Hi all,

I have a setup with dnsmasq providing DHCP / TFTP / PXE service for network clients booting Windows PE. These are the relevant lines from the configuration:

enable-tftp
tftp-root=/srv/tftpboot
pxe-service=X86-64_EFI, "WinPE UEFI PXE - 2011", Boot/bootmgfw.efi
pxe-service=X86-64_EFI, "WinPE UEFI PXE - 2023", Boot/bootmgfw_EX.efi
pxe-prompt="Press ENTER to select PXE boot option.",5

Individually, both of these pxe-service lines work correctly—they both boot the desired systems (depending on which Secure Boot certificate the target system has installed). But that's only in an individual state (that is, with the second pxe-service line commented out). If both lines are uncommented, I see the pxe-prompt, and I can trigger the menu and select an option, but then the Windows PE boot loader throws an error message that seems to indicate the BCD (a separate file served via TFTP) is not accessible.

I'm not looking for help troubleshooting Windows-specific boot behavior. The thing that is weirding me out a bit is that the boot works perfectly with both options, so long as there's only one option active (and the other one commented out). They both use the same BCD file, loaded via TFTP, without any complaints at all. Why would changing dnsmasq's configuration to have both options enabled change the behavior of the boot loader's execution?

If there's any sort of packet capture or additional information I can provide, I'm happy to do so. Appreciate everybody's time and any suggestions people might have!

 -Lance
How am I doing?

Simply click on one of the faces below

[https://be.crewhu.com/external/v1/snippet/image?company=63349f67307e475c4d37f290&rating=5]<https://web.crewhu.com/#/survey?crewhu_id=63349f67307e475c4d37f290&users_ids=633c6f7f426da84c0202cc30&survey_type_code=typSignature&custom_code=&rating=5&>
Great!



[https://be.crewhu.com/external/v1/snippet/image?company=63349f67307e475c4d37f290&rating=0]<https://web.crewhu.com/#/survey?crewhu_id=63349f67307e475c4d37f290&users_ids=633c6f7f426da84c0202cc30&survey_type_code=typSignature&custom_code=&rating=0&>
Meh.


[https://be.crewhu.com/external/v1/snippet/image?company=63349f67307e475c4d37f290&rating=-5]<https://web.crewhu.com/#/survey?crewhu_id=63349f67307e475c4d37f290&users_ids=633c6f7f426da84c0202cc30&survey_type_code=typSignature&custom_code=&rating=-5&>
*Sigh*






[cid:adaptive-logo-email_9c0d7dbf-3b3f-47b0-ae51-a636f530266b.jpg]<https://beadaptive.ca>
Lance Hathaway

Senior Network Engineer

,

Adaptive Technical Inc.



P:

<tel:(604)%20637-6412>604-357-3456<tel:604-357-3456>

 |





E:

<mailto:ian at adaptive.ca>lance at beadaptive.ca<mailto:lance at beadaptive.ca>

 |


W:

<http://www.beadaptive.ca/>www.beadaptive.ca<https://beadaptive.ca>

A:<https://goo.gl/maps/bQyZKHy8xiA2>


258 - 4664 Lougheed Hwy
?Burnaby, BC, V5C 5T5<https://goo.gl/maps/bQyZKHy8xiA2>



[cid:facebook_f3a4b29c-befb-4b26-9c66-057551f8dff9.png]<https://www.facebook.com/beadaptive/>

[cid:linkedin_ecdf724a-5447-45d7-b248-eb9466a54180.png]<https://www.linkedin.com/company/271640>
        [cid:twitter_b7716e12-3f02-4ba3-847c-3c6759c7b08b.png] <https://twitter.com/beadaptiveca>







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20251014/ced2879e/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: adaptive-logo-email_9c0d7dbf-3b3f-47b0-ae51-a636f530266b.jpg
Type: image/jpeg
Size: 2349 bytes
Desc: adaptive-logo-email_9c0d7dbf-3b3f-47b0-ae51-a636f530266b.jpg
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20251014/ced2879e/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: facebook_f3a4b29c-befb-4b26-9c66-057551f8dff9.png
Type: image/png
Size: 4607 bytes
Desc: facebook_f3a4b29c-befb-4b26-9c66-057551f8dff9.png
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20251014/ced2879e/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linkedin_ecdf724a-5447-45d7-b248-eb9466a54180.png
Type: image/png
Size: 4751 bytes
Desc: linkedin_ecdf724a-5447-45d7-b248-eb9466a54180.png
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20251014/ced2879e/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: twitter_b7716e12-3f02-4ba3-847c-3c6759c7b08b.png
Type: image/png
Size: 5045 bytes
Desc: twitter_b7716e12-3f02-4ba3-847c-3c6759c7b08b.png
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20251014/ced2879e/attachment-0005.png>


More information about the Dnsmasq-discuss mailing list