myspaghetti / macos-virtualbox

Push-button installer of macOS Catalina, Mojave, and High Sierra guests in Virtualbox on x86 CPUs for Windows, Linux, and macOS
GNU General Public License v2.0
13.51k stars 1.12k forks source link

Get into UEFI shell after completed installation #71

Closed ksmolyanin closed 5 years ago

ksmolyanin commented 5 years ago

Script completed without errors and says: "That's it. Enjoy your virtual machine."

But I get into UEFI shell instead of macOS. There are some files that can't be found.

screenshot_1

VirtualBox 5.2.18 (on Linux Mint)

myspaghetti commented 5 years ago

The script appears to have misplaced the files from AppleSupport-v2.0.4-RELEASE.zip. Without them, VirtualBox can't boot from APFS partitions. Please attach the virtual disk image to your favorite Linux distro and mount the EFI partition then extract all the .efi files from the archive into /path/to/efi/partition/EFI/driver/

Alternatively, restart the installation and make sure every step executes properly, as the script is prone to breaking due to errant keystrokes.

ksmolyanin commented 5 years ago

Thank you! I've more carefully applied script instructions and everything was ok.