UEFI PXE boot not working

jameseck

Member
Nov 7, 2020
3
0
6
45
Hi,
I've got a Proxmox server running 7.4.3.
I've created a q35 OMVF(UEFI) VM and I'm trying to get PXE boot to work.

For some reason, it seems like the Proxmox VM is unable to download any files via either tftp or http.
I've been testing it with a kea dhcp server. With a non-UEFI Proxmox VM, PXE boot works just fine.

With UEFI tftp boot, I get an error "Downloading NBP file...PXE-E99 Unexpected network error"

With UEFI http boot, I get an error "Could not retrieve NBP file size from HTTP server"

I've also dropped into the UEFI shell and tried the commands below

ifconfig -s eth0 dhcp # < Network information from ifconfig -l all looks correct
tftp <tftpserverip> netboot.xyz.efi
http <httpserverip> netboot.xyz.efi

tftp command returns "Unable to get the size of the file netboot.xyz.efi on eth0 - 00000067
http command returns "Unable to download the file netboot.xyz.efi on eth0 - not found

I'm 100% sure that the files are being served correctly by the http and tftp servers as I'm able to download them via other clients (using curl and tftp linux cli client). I haven't found another UEFI server I can test PXE with yet.

I'm not sure if I'm missing something obvious, but it feels like the UEFI firmware is just broken in Proxmox.

I've also checked that secure boot is disabled and as far as I can tell, it is.

Is anyone else facing similar issues or know what I'm doing wrong?
 
Had an effect just yesterday, that sounds very similar. For me, recreating the EFI-partition without the "Pre-Enroll keys" option solved it. Found the hint online and worked like a charm.
Don't know the exact background. As I wrote, just found the information online.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!