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

The MacOS virtual machine doesn't appear in the manager #592

Closed ding0z closed 2 years ago

ding0z commented 2 years ago

Hi, I successfully installed MacOs on Virtualbox but after that, the VM doesn't appear in the manager. I'm trying now to reinstall it (screenshot).

Any thoughts? Many thanks.

Screenshot 2022-03-20 at 20 48 03

myspaghetti commented 2 years ago

This usually happens when the script is run with elevated privileges (with sudo or the root user for example) and then when VirtualBox GUI is launched from a different user it cannot access the VM. If that's the case, move the VM disk image from its elevated-privileges location to a user-accessible location, then manually create a virtual machine and manually configure it (or configure it with the configure_vm stage from the script) and manually attach the existing virtual disk image.