I got a Mac OS X virtual machine on VirtualBox and when I started it, I got into this UEFI shell:

UEFI shell

What should I do?

I also hit the problem of getting stuck at the UEFI shell prompt when booting from a viable disk (such as my case where MacOS had just been installed in a Virtual Machine).

I was able to fix the UEFI problems as follows (credit to VirtualBox forum):

  1. At UEFI prompt: Type exit

  2. You'll be brought into an EFI text-mode GUI.

  3. Select Boot Maintenance Manager and click.

  4. Select Boot From File and click

You should see two entries in a list (they are cryptic looking PCI bus paths).

The first is the PCI path to a boot partition that isn't working (corrupted or perhaps has no data or OS installed on it).

The 2nd partition is the recovery partition, the one you need to boot from to do the macOS installation or other maintenance/administrative tasks (including accessing Disk Utility to work on the System Volume partition without an OS running).

Click the 2nd entry, you should see (and then click):

macOS Install Data

Then click:

Locked Files

Then (if present), click

Boot Files

And finally click:


At that point he installer boot will continue and you should get to the point where you can attempt to repair the volume or [re]install macOS

  • 1
    This worked for me. Only slight difference was that under Locked Files there was another level called Boot Files, once navigating into that directory, boot.efi was within it. Thanks! – rastating Oct 25 at 15:24
  • Thanks @rastating. I added it in italics to the steps, as a potential extra layer in some configurations. – clearlight Oct 28 at 23:18

In VM settings General > Basic > Version set "macOS 10.13 High Sierra (64-bit)", because likely now you have setting 32-bit version.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.