iPXE discussion forum

Full Version: Exception during the UEFI preboot environment
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When booting with iPXE I get the a fatal BIOS/UEFI error 'Exception during the UEFI preboot environment' as I'm about to install an OS

The iPXE efi is being booted directly from the network card via UEFI pxe boot.
It was built from https://github.com/ipxe/ipxe/commit/ef2c...d9fe7f08e4
with a small embeded script that does the following
PHP Code:
#!ipxe

prompt --key 0x02 --timeout 2000 Press Ctrl-for the iPXE command line... && shell ||
echo 
"iPXE Loaded.. running embedded script"
echo "Displaying interfaces.."
ifstat
echo "Running dhcp on all interfaces to find first available"
dhcp
route
echo "DNS: ${dns}"
echo "DHCP complete chaining from the Gateway IP (DHCP Option 3) default.ipxe"
chain --autofree http://${3}/ipxe/default.ipxe?mac=${net0/mac}
chain --autofree http://${3}/ipxe/${net0/mac}.ipxe
chain --autofree http://${3}/ipxe/dynamic.ipxe?mac=${net0/mac}
echo "iPXE script complete" 

Then it loads the default.ipxe on the gateway with the following
PHP Code:
#!ipxe
  
echo "hello world"
chain --autofree https://boot.netboot.xyz/ipxe/netboot.xyz-snponly.efi 

Here is a screenshot of the final error
https://drive.google.com/file/d/1_RKyxf_...sp=sharing

Here is a link to a video showing exactly what is happening.
https://drive.google.com/file/d/1IANUQjY...sp=sharing
Reference URL's