Last active
July 6, 2021 12:56
-
-
Save jayanath/2707174e3ee729be135a9dafe57d60a1 to your computer and use it in GitHub Desktop.
Setup UUID for new virtual hard disk - virtualbox - macOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# virtualbox gives a "disk with same UUID is already mounted" error when trying to launch | |
# multiple virtual machines using VDI files of a same osboxes images. | |
# to avoid this error we can set uuid of the virtual disk as follows | |
> cd /Applications/VirtualBox.app/Contents/Resources/VirtualBoxVM.app/Contents/MacOS/ | |
> VBoxManage internalcommands sethduuid <full path to the vdi file> | |
You should receive a message like below confirming the new uuid | |
UUID changed to: 98axxxxxx-f0xx-420x-9179-a33805xxxx | |
Once this is done, we can mount the vdi file without any issues |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment