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.5k stars 1.11k forks source link

VM Won't Properly Boot After Script Completion #150

Closed RossMadness closed 4 years ago

RossMadness commented 4 years ago

Maybe I missed a step somewhere, but I follow the script instructions. After it prompts to "Hit enter to restart or manually eject the install VDI", I hit enter. The VM shuts down and the script asks if I want to delete the temp files. After that I boot the VM and it will not get past the built-in EFI shell. I let startup.nsh run and I get the errors listed in the screenshot. startupnsherrors

I've tried escaping out, manually selecting the boot disk from Boot Manager and it doesn't appear to work. I've read through the documentation but I'm not sure what I need to do next. I didn't specify any values to load for EFI/NVRAM settings because I thought the documentation stated it was only necessary if needing iCloud and iMessage (which I don't need).

myspaghetti commented 4 years ago

Yes, there's a bug in the script! The EFI drivers aren't being copied! If you haven't deleted the temporary files you can run ./macos-guest-virtualbox.sh populate_macos_target, or you can run the script from the start if you have the temporary files or not.

Sorry about that! Fixed in version 0.84.1