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

startup.nsh aborts on failed command #111

Closed smk762 closed 4 years ago

smk762 commented 4 years ago

Attempted Mojave and High Sierra, with following result after final install step. Using Virtualbox 6.0.14 r133895 on Ubuntu 18.04 image

myspaghetti commented 4 years ago

Can reproduce. startup.nsh aborts for some reason.

myspaghetti commented 4 years ago

Temporary fix: on the EFI shell, enter fs0: and then edit startup.nsh and remove the first "endfor" and the two lines directly below it. I'll see why it aborts and fix it in the next version.

smk762 commented 4 years ago

thanks, will try and report back

myspaghetti commented 4 years ago

The latest version of VirtualBox (6.0.14) aborts startup.nsh when a command fails. Added if statements to avoid this behavior.

Fixed in version 0.76.0