[GH-ISSUE #1276] Local boot fails on some EFI-based servers because of exit code 0 #1915

Closed
opened 2026-03-01 18:37:18 +03:00 by kerem · 0 comments
Owner

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:

  1. Boot netboot.xyz on an affected server (e.g. PowerEdge R730) in UEFI boot mode
  2. Try to local boot from disk

Expected behavior
Servers boots from the local disk.

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: 1. Boot netboot.xyz on an affected server (e.g. PowerEdge R730) in UEFI boot mode 2. Try to local boot from disk **Expected behavior** Servers boots from the local disk.
kerem 2026-03-01 18:37:18 +03:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/netboot.xyz#1915
No description provided.