

In my case, after installing macOS into a virtual machine according to these instructions (running the macOS installer from an ISO image downloaded from Apple), on first boot, the boot partition was present, but unconfigured (probably no boot image installed). By now you may have surmised boot.efi is an EFI standard filename that lives at an EFI standard path in a disk partition, and it contains OS-specific boot firmware (e.g., Windows, Linux, etc. Ultimately, the objective is provide a boot partition that contains a macOS boot.efi.

Your immediate objective is to help EFI locate and execute OS-specific boot firmware. However, assuming you have a macOS recovery partition on that disk, it should contain a copy of boot.efi (macOS-specific boot firmware) that you can boot into the OS with.

UEFI requires intervention, because the EFI firmware on the Mac's motherboard can’t find valid OS-specific EFI boot firmware in the standard location on disk.
