AlexanderWillner / runMacOSinVirtualBox

Run macOS 10.16 Big Sur (and other versions) in VirtualBox on macOS
MIT License
936 stars 126 forks source link

vdmutil attach fails in patchEFI #49

Closed aroper23 closed 5 years ago

aroper23 commented 5 years ago

Your script runs fine until attempting to attach the vdi image in the patchEFI function, at which point it fails for me with a VDM API Error.

I ran vdmutil using the -verbose switch like so to get more details: /usr/local/bin/vdmutil attach -verbose "/Users/aroper/VirtualBox VMs/Mojave 4GB RAM.vdi"

...and see this output: Looking for VDM Contoller... No service found. Error 0x00000001 : VDM API Error.

I've googled for this vdmutil error and haven't found anything relevant. Any suggestions would be appreciated.

In case it matters, the version of Paragon VMDK Mounter that's installed is 2.4.

runMojaveVirtualbox.log

AlexanderWillner commented 5 years ago

Thanks for the feedback. Is the vdmutil the one from Paragon?

aroper23 commented 5 years ago

Yes, I installed it by doing: brew cask install paragon-vmdk-mounter

AlexanderWillner commented 5 years ago

Maybe the Kernel Extension has not been acknowledged at the bottom of "macOS Preferences > Security & Privacy > General"?

aroper23 commented 5 years ago

I had acknowledged the kernel extension, but apparently the MacBook must be restarted before the launchctl service will start. The patchEFI function worked after reinstalling paragon-vmdk-mounter (just to be safe) and restarting, and I'm in the macOS install now. Thanks for pointing me in the right direction.