Failed to add the EFI boot entry on Guest

SlothCroissant

Active Member
Feb 26, 2019
15
0
41
34
Hey folks,

Trying to install some debian UEFI guests (Ubuntu 22.04 & Debian 11.5 with the same results), and I'm having issues with the installer failing at EFI install step:

Screen Shot 2022-10-14 at 16.57.35.png


VM Info:

```
root@pve02:~# cat /etc/pve/qemu-server/101.conf
acpi: 0
agent: 1
bios: ovmf
boot: order=ide2;net0
cores: 8
efidisk0: nvme:101/vm-101-disk-1.qcow2,efitype=4m,pre-enrolled-keys=1,size=528K
ide2: nas01:iso/ubuntu-22.04.1-live-server-amd64.iso,media=cdrom,size=1440306K
machine: q35
memory: 8192
meta: creation-qemu=7.0.0,ctime=1665767628
name: ubuntu2204-template
net0: virtio=5A:62:04:B9:61:56,bridge=vmbr10
numa: 0
ostype: l26
scsi0: nvme:101/vm-101-disk-0.qcow2,size=32G
scsihw: virtio-scsi-pci
smbios1: uuid=8cf3ab51-5971-4b30-ac05-6ad80ae5a849
sockets: 1
vmgenid: c7fd56f7-e7ef-4527-93ca-9e698f58daf2
```

PVE info:
```
root@pve02:~# pveversion -v
proxmox-ve: 7.2-1 (running kernel: 5.15.60-1-pve)
pve-manager: 7.2-11 (running version: 7.2-11/b76d3178)
pve-kernel-helper: 7.2-12
pve-kernel-5.15: 7.2-11
pve-kernel-5.13: 7.1-9
pve-kernel-5.15.60-1-pve: 5.15.60-1
pve-kernel-5.13.19-6-pve: 5.13.19-15
pve-kernel-5.13.19-2-pve: 5.13.19-4
ceph-fuse: 16.2.9-pve1
corosync: 3.1.5-pve2
criu: 3.15-1+pve-1
glusterfs-client: 9.2-1
ifupdown2: 3.1.0-1+pmx3
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.24-pve1
libproxmox-acme-perl: 1.4.2
libproxmox-backup-qemu0: 1.3.1-1
libpve-access-control: 7.2-4
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.2-2
libpve-guest-common-perl: 4.1-2
libpve-http-server-perl: 4.1-3
libpve-storage-perl: 7.2-9
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 5.0.0-3
lxcfs: 4.0.12-pve1
novnc-pve: 1.3.0-3
proxmox-backup-client: 2.2.6-1
proxmox-backup-file-restore: 2.2.6-1
proxmox-mini-journalreader: 1.3-1
proxmox-widget-toolkit: 3.5.1
pve-cluster: 7.2-2
pve-container: 4.2-2
pve-docs: 7.2-2
pve-edk2-firmware: 3.20220526-1
pve-firewall: 4.2-6
pve-firmware: 3.5-3
pve-ha-manager: 3.4.0
pve-i18n: 2.7-2
pve-qemu-kvm: 7.0.0-3
pve-xtermjs: 4.16.0-1
qemu-server: 7.2-4
smartmontools: 7.2-pve3
spiceterm: 3.2-2
swtpm: 0.7.1~bpo11+1
vncterm: 1.7-1

```

I've tried to move the EFI disk to a different location (I have no issues with any of my storage datastores, but just trying different things). The issue occurs in both Debian and Ubuntu LTS, and I have yet to try Windows (Though I will tonight).

Am I missing something here? I've only ever really done SeaBIOS in the past, but trying to solve some Intel GPU passthrough gotchas and most folks suggest UEFI for the guest when possible). That being said, if iGPU passthrough doesn't require UEFI, maybe I'll just move on from this and chalk it up to an L for now :)
 
boot: order=ide2;net0
scsi0: nvme:101/vm-101-disk-0.qcow2,size=32G

Absolutely not sure, if this is relevant for your problem, but since it is all boot related, try with adding scsi0 to the boot options in the VM-options. Especially because you need it (later) anyway.

Maybe try with a completely new created VM and leave all settings/options outside of the creation-wizard on the defaults.
 

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!