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

VM is missing after first shutdown #617

Closed ravenala closed 1 year ago

ravenala commented 1 year ago

Hello there,

I just used the script to install Catalina on Vbox (Ubuntu 20.04 with Virtualbox 6.1). It all went fine and I had MacOS running but then I shut it down and closed Vbox without paying too much attention and now when I launch virtualbox the new VM does not appear and I can't figure out where it is gone.

Did I do something wrong or is there a glitch here ?

I had Virtualbox already installed on the system and some other VMs in it that are still fine.

Many thanks,

R.

myspaghetti commented 1 year ago

This is usually caused when the script runs with elevated privileges. When VirtualBox is subsequently launched with other (user) privileges, it can't find or access the admin/root/superuser VMs. The files need to be moved and their filesystem security preferences (permissions) need to allow the logged-in user to access them.

ravenala commented 1 year ago

This is usually caused when the script runs with elevated privileges. When VirtualBox is subsequently launched with other (user) privileges, it can't find or access the admin/root/superuser VMs. The files need to be moved and their filesystem security preferences (permissions) need to allow the logged-in user to access them.

You are right. I did run the script with superuser privileges (for no reason). I find my VM again if I run virtualbox as root. Cheers.