mirror of
https://github.com/netbootxyz/netboot.xyz.git
synced 2026-04-25 15:15:56 +03:00
[GH-ISSUE #1276] Local boot fails on some EFI-based servers because of exit code 0 #1915
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#1915
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 @sinuscosinustan on GitHub (Jul 26, 2023).
Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/1276
Describe the bug
Some servers such as DELL PowerEdge or Lenovo ThinkSystem (with XCC) will jump into the BIOS or boot menu if an EFI program exits with code 0 (because the program hasn't thrown an error and will not try to boot the next option). This is the case for netboot.xyz and breaks the boot process if e.g. PXE is set as first option.
It can be "fixed" by using
exit 1. The exit code will be only applied to UEFI as there's no handling for that in pcbios.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Servers boots from the local disk.