mirror of
https://github.com/netbootxyz/netboot.xyz.git
synced 2026-04-25 07:05:56 +03:00
[GH-ISSUE #1632] UEFI version of netboot.xyz doesn't load local-vars.ipxe #551
Labels
No labels
Hacktoberfest
Hacktoberfest
bootloader
bsd
bug
confirmed
documentation
duplicate
enhancement
enhancement
enhancement
eol
experimental-merged
freebsd
help wanted
invalid
investigate
ipxe
linux
live-os
memdisk
menu
no-issue-activity
no-issue-activity
pull-request
released
todo
upstream
windows
windows
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/netboot.xyz#551
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @egzakharovich on GitHub (Jun 2, 2025).
Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/1632
[x]: This bug persists when memory is increased beyond 8GB.
Describe the bug
netboot.xyz.efidoesn't loadlocal-vars.ipxe, whilenetboot.xyz.kpxe(for legacy BIOS) does.To Reproduce
local-vars.ipxefrom webapp. Set, for example,live_endpointecho ${live_endpoint}in iPXE shellecho ${live_endpoint}in iPXE shellExpected behavior
Both BIOS-based and UEFI-based machines will have
live_endpointset to local server.But in reality, it does not.
TFTP logs from BIOS boot
It does request local-vars.ipxe. And the variable is set correctly
TFTP logs from UEFI boot
It checks for weird
autoexec.ipxe, but not forlocal-vars.ipxe. Does not load themenu.ipxefrom server. Loads it fromboot.netboot.xyzinstead.And the
live_endpointI've tried to create
autoexec.ipxewith contents oflocal-vars.ipxeand it didn't work.Same thing happens with
netboot.xyz-snp.efi.And same thing happens on machines with metal UEFI and over 8GB of RAM.
@egzakharovich commented on GitHub (Jun 2, 2025):
Also forgot to mention I'm using menus version
2.0.87with official containerghcr.io/netbootxyz/netbootxyz@egzakharovich commented on GitHub (Jun 4, 2025):
I think I resolved it myself.
Not sure why BIOS version worked well, while UEFI version struggled.
Make sure your DHCP server returns all 3 options necessary for PXE booting. Next-server, option 66 and option 67.
For example, on my Keenetic, I found out, I omitted option 66:
I had altered the configuration, to send all 3 options in all 3 classes explicitly and removed implicit next-server in root pool configuration.
And I confirmed that it worked in virtual machine.