Project

General

Profile

Actions

Bug #32051

closed

Wrong exit status in iPXE when booting via PXE prevent UEFI system from booting from local disk

Added by Andrea Perotti almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Templates
Target version:
-
Difficulty:
trivial
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

UEFI systems that has "PXE, local disk" as boot sequence and load and/or use iPXE to continue the network boot remain stuck in the network step due to wrong exit status in ipxe.

When using iPXE on a UEFI system, in order to completely exit from the iPXE environment you need to use

exit 1

rather than just using:

exit

UEFI does not seems to handle the failure of a boot mode: if it start have to suceed, or will go back to select another boot method.

When using qemu-kvm, with boot order: "pxe, local disk" if iPXE is interrupted with just "exit", it present to the user the UEFI UI, while passing "exit 1" will exit from the network boot and will attempt to boot from local disk.

Repeating the test with a lenovo T450s in uefi only mode, the system goes back to UEFI BOOT device selection screen no matter if exit or exit 1 is used.

Scenarios affected by this bug are:
- boot from local disk when system is unknown and reach to the global default boot page, where use can choose to discover the system or boot from local disks
- after provisioning a system, it reboot but if the boot sequence is still the same, the system will load pxe once again, but this time will not be provided with any kickstart

in both scenarios is important to preserve the same experience as with BIOS in order to streamline UX during provisioning

Actions

Also available in: Atom PDF