Proxmox 7 can’t boot to UEFI (Home Assistant and other UEFI images)

Found this at opportunity of installing Home Assistant – from HA OS qemu2 image – boot process just stops into UEFI Shell prompt:

BLK0: Alias (s): PciRoot (0x0) /Pci (0x1E,0x0) /Pci (0x1,0x0)/Pci (0x5,0x0) /Scsi (0x0,0x0) BLK2: Alias (s): PciRoot (Ox0) /Pci (0x1E,0x0) /Pci (0x1,0x0) /Pci (0x5,0x0) /Scsi (0x0,0x0) /HD ( 2,GPT,26700FC6-BOBC-4CCF-9837-EA1A4CBA3E65,0x10800,0xC000) BLK3: Alias (s): PciRoot (0x0) /Pci (Ox1E,0x0) /Pci (0x1.0x0) /Pci (0x5,0x0) /Scsi (0x0, 0x0) / HD ( 3,GPT,8D3D53E3-6D49-4C38-8349-AFF6859E82FD,0x1C800,0x80000) BLK4: Alias(s): PciRoot (0x0) /Pci (Ox1E,0x0) /Pci (0x1,0x0)/Pci (0x5,0x0) /Scsi (Ox0,0x0) / HD ( 4, GPT,FCO2A4F0-5350-406F-93A2-56CBED636B5F,0x9C800,0xC000) BLK5: Alias (s): PciRoot (0x0) /Pci (0x1E.0x0) /Pci (0x1,0x0) /Pci (0x5,0x0) /Scsi (0x0,0x0) /HD ( 5,GPT,A3EC664E-32CE-4665-95EA-PAE90CE9AA20,0xA8800,0x80000) BLK6: Alias (s): PciRoot (0x0) /Pci (Ox1E,0x0) /Pci (0x1,0x0) /Pci (0x5,0x0) /Scsi (0x0,0x0) /HD ( 6,GPT,33236519-7F32-4DFF-8002-3390B62C309D,0x128800,0x4000) BLK7: Alias (s): PciRoot (Ox0) /Pci (Ox1E,0x0) /Pci (0x1.0x0)/Pci (0x5,0x0) /Scsi (0x0,0x0) / HD ( 7.GPT,F1326040-5236-40EB-B683-AAA100A9AFCF,0x12C800,0x30000) BLK8: Alias(s): PciRoot (0x0) /Pci (0x1E.0x0) /Pci (0x1,0x0) /Pci (0x5,0x0) /Scsi (0x0 ,0x0) /HD ( 8 ,GPT•A52A4597-FA3A-4851-AEFD-2FBE9F849079,0x15C800,0x200000) Press ESC in 1 seconds to skip startup.nsh or any other key to continue. Shell>

BLK0: Alias (s):
PciRoot (0x0) /Pci (0x1E,0x0) /Pci (0x1,0x0)/Pci (0x5,0x0) /Scsi (0x0,0x0)
BLK2: Alias (s):
PciRoot (Ox0) /Pci (0x1E,0x0) /Pci (0x1,0x0) /Pci (0x5,0x0) /Scsi (0x0,0x0) /HD (
2,GPT,26700FC6-BOBC-4CCF-9837-EA1A4CBA3E65,0x10800,0xC000)
BLK3: Alias (s):
PciRoot (0x0) /Pci (Ox1E,0x0) /Pci (0x1.0x0) /Pci (0x5,0x0) /Scsi (0x0, 0x0) / HD (
3,GPT,8D3D53E3-6D49-4C38-8349-AFF6859E82FD,0x1C800,0x80000)
BLK4: Alias(s):
PciRoot (0x0) /Pci (Ox1E,0x0) /Pci (0x1,0x0)/Pci (0x5,0x0) /Scsi (Ox0,0x0) / HD (
4, GPT,FCO2A4F0-5350-406F-93A2-56CBED636B5F,0x9C800,0xC000)
BLK5: Alias (s):
PciRoot (0x0) /Pci (0x1E.0x0) /Pci (0x1,0x0) /Pci (0x5,0x0) /Scsi (0x0,0x0) /HD (
5,GPT,A3EC664E-32CE-4665-95EA-PAE90CE9AA20,0xA8800,0x80000)
BLK6: Alias (s):
PciRoot (0x0) /Pci (Ox1E,0x0) /Pci (0x1,0x0) /Pci (0x5,0x0) /Scsi (0x0,0x0) /HD (
6,GPT,33236519-7F32-4DFF-8002-3390B62C309D,0x128800,0x4000)
BLK7: Alias (s):
PciRoot (Ox0) /Pci (Ox1E,0x0) /Pci (0x1.0x0)/Pci (0x5,0x0) /Scsi (0x0,0x0) / HD (
7.GPT,F1326040-5236-40EB-B683-AAA100A9AFCF,0x12C800,0x30000)
BLK8: Alias(s):
PciRoot (0x0) /Pci (0x1E.0x0) /Pci (0x1,0x0) /Pci (0x5,0x0) /Scsi (0x0 ,0x0) /HD (
8 ,GPT•A52A4597-FA3A-4851-AEFD-2FBE9F849079,0x15C800,0x200000)
Press ESC in 1 seconds to skip startup.nsh or any other key to continue.
Shell>

This seems to be a new behaviour in Proxmox 7.0 and it’s related to UEFI Secure Boot which is not fully implemented in Proxmox.

Resolution

Disable Secure Boot in UEFI Bios.

  1. Exit the shell by typing “Exit”
  2. Once entered Bios settings, go to Device Manager

3. In Device Manager, select Secure Boot Configuration
4. Un-tick Attempt Secure Boot and accept “Configuration Changed prompt”

5. Press Esc, Esc and in the main screen select Reset

This should resolve the problem – not only for Home Assistant but also other UEFI based images

References

  • PVE setup
root@pve:/etc# cat ./pve/nodes/pve/qemu-server/116.conf
agent: 1
bios: ovmf
boot: order=scsi0
cores: 2
efidisk0: qcow2-local-zfs:116/vm-116-disk-1.qcow2,efitype=4m,pre-enrolled-keys=1,size=528K
ide2: local:iso/kubuntu-19.04-desktop-amd64.iso,media=cdrom,size=1871280K
machine: q35
memory: 2048
name: home-assistant
net0: virtio=4C:CC:6A:CC:01:20,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi0: qcow2-local-zfs:116/vm-116-disk-0.qcow2,size=32G
scsihw: virtio-scsi-pci
smbios1: uuid=9e0805c5-16b9-4741-89b2-dd1d9704da39
sockets: 1
vmgenid: a12f1129-e002-48c4-b9c9-fe2835ad795b

 

 

 

Proxmox 7 can’t boot to UEFI (Home Assistant and other UEFI images)
Tagged on:         

15 thoughts on “Proxmox 7 can’t boot to UEFI (Home Assistant and other UEFI images)

  • 2022-01-05 at 15:17
    Permalink

    Działa! Dziękuję!
    It works! Thank you!

    Reply
      • 2022-09-17 at 14:37
        Permalink

        What suggestions do you have if “Secure Boot…” isn’t a menu option?

        Reply
  • 2022-01-24 at 09:14
    Permalink

    Thank you! That saved me hours of debugging!

    Reply
  • 2022-03-22 at 13:44
    Permalink

    uff…hasta que encontré el problema y se pudo corregir. muchas gracias!

    Reply
  • 2022-03-31 at 01:52
    Permalink

    Dziękuję Ci! This was so very helpful; I was banging my head against a wall trying to figure out why my VM wouldn’t boot and this post was exactly what I needed. Thank you so much for sharing.

    Reply
  • 2022-04-25 at 13:43
    Permalink

    What if I don’t see Secure Boot Configuration and only see OVMF Platform Configuration or iSCSI Configuration?

    Reply
  • 2022-06-13 at 23:22
    Permalink

    I have the same situation, no “Secure Boot Configuration” available

    Reply
    • 2022-09-17 at 14:35
      Permalink

      Mine is the same. no “Secure Boot Configuration” menu option

      Reply
  • 2022-09-17 at 18:34
    Permalink

    Thanks a million, that was very helpufl

    Reply
  • 2022-09-17 at 20:38
    Permalink

    I had this situation and the problem was that my Homeassistant vm in proxmox “Options, boot Order” was to “net0”. I’m not sure why it was set that way, if was set default or if I did it when installing! Corect value for me was “scsi0”. It took me some hours after I installed Homeassistant vm in Proxmox. Now it is booting fine from EUFI partition. Hope this help someone else!

    Reply

Leave a Reply to Elite Cancel reply

Your email address will not be published.