[SOLVED] Can't get into UEFI Shell

cfcman

New Member
Sep 6, 2024
22
1
3
I am trying to create a MaxOS VM, using the instructions here:
https://klabsdev.com/definitive-guide-to-running-macos-in-proxmox/
Step 7 requires me to access the UEFI Shell, but I cannot get into it when I reset the VM.
I can get into Boot Manager, but if I move the cursor down to "EFI Internal Shell" then press Enter nothing happens.

The basic settings are:
- OS Type: Other
- Graphics card: VMWare Compatible
- Machine Type: q35
- BIOS: OVMF (UEFI)
- SCSI Controller: VirtIO SCSI
- Disks Bus/Device: VirtIO Block
- Cache: Write back (unsafe)
- Network model: VMware vmxnet3

I have tried going into Boot Maintenance Manager and changing the Boot Order, so that "EFI Internal Shell" is top. If I then select "Continue" from the BIOS nothing happens.
https://i.imgur.com/uZgJeZ6.png

If I Reset then it tries and fails to boot from the disks:

https://i.imgur.com/YY0vzAL.png

My motherboard is an MSI B550M Pro-VDH (Socket 4) with a Ryzen 5700G CPU.

Any idea how I can get into the UEFI Shell?
 
Please go to "Boot Maintenance Manager -> Boot Next Vlaue" -> and select "EFI Internal Shell" -> F10 Save. After go back and press "Enter" on "Reset". This should boot the EFI shell “once”.

Screenshot_20241023_135003.png
 
Please go to "Boot Maintenance Manager -> Boot Next Vlaue" -> and select "EFI Internal Shell" -> F10 Save. After go back and press "Enter" on "Reset". This should boot the EFI shell “once”.

View attachment 76697
Many thanks for the suggestion. I just tried it - It attempted to boot into the EFI Internal Shell, but I got a Security Violation error
???
 

Attachments

  • uefi boot failure.png
    uefi boot failure.png
    36.5 KB · Views: 16
Here it is:

Code:
Linux proxmox 6.8.12-2-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-2 (2024-09-05T10:03Z) x86_64


The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.


Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Oct 22 15:12:10 BST 2024 on pts/0
root@proxmox:~# qm config 106
args: -device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" -smbios type=2 -device usb-kbd,bus=ehci.0,port=2 -global nec-usb-xhci.msi=off -global ICH9-LPC.acpi-pci-hotplug-with-bridge-support=off -cpu Haswell-noTSX,vendor=GenuineIntel,+invtsc,+hypervisor,kvm=on,vmware-cpuid-freq=on
bios: ovmf
boot: order=ide2;virtio0;net0;ide0
cores: 4
cpu: x86-64-v2-AES
efidisk0: local-lvm:vm-106-disk-0,efitype=4m,pre-enrolled-keys=1,size=4M
ide0: local:iso/macOS-Sonoma-14.1.1.iso,size=16000M,cache=unsafe
ide2: local:iso/OpenCore-v20.iso,size=150M,cache=unsafe
machine: q35
memory: 4096
meta: creation-qemu=9.0.2,ctime=1729514501
name: MacOS-Sonoma
net0: vmxnet3=BC:24:11:81:FA:53,bridge=vmbr0,firewall=1
numa: 0
ostype: other
scsihw: virtio-scsi-pci
smbios1: uuid=6cfd8c29-1dc5-40f7-93d6-3be0fc9cdd0c
sockets: 1
vga: vmware
virtio0: local-lvm:vm-106-disk-1,cache=unsafe,iothread=1,size=64G
vmgenid: f388b829-251a-46c5-b31d-d6b29ab29411
 
In your linked howto i found this:
Screenshot_20241023_144405.png

If i use here the EFI disk with the "Pre-Enrolled-Keys" i'am running in to same issue. So remove your existing efidisk and create a new one, without the keys. This should work.
 
  • Like
Reactions: cfcman
Perfect . Please mark your thread as "solved". You can do this by editing your first post and setting the flag.