[Solved] Hard Disk with UUID Already Exists

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
LNorcini\
Posts: 3
Joined: 15. Jul 2019, 19:01

[Solved] Hard Disk with UUID Already Exists

Post by LNorcini\ »

I am unable to open VirtualBox application nor use the VBoxManage command line due to the following error:
VBoxManage: error: Failed to create the VirtualBox object!
VBoxManage: error: Cannot register the hard disk '/Users/myUser/VirtualBox VMs/mongod-m103/box-disk1.vmdk' {90d1fd76-25f5-4c5d-9809-b7776ef9912e} because a hard disk '/Users/myUser/VirtualBox VMs/mongod-m103/box-disk1.vmdk' with UUID {128ff56c-c067-4692-bb81-83a36aa63e16} already exists
VBoxManage: error: Details: code NS_ERROR_INVALID_ARG (0x80070057), component VirtualBoxWrap, interface IVirtualBox
I have completely removed vagrant and deleted the vmdk file. I have also completely deleted Vagrant. What do I need to do to clean up the system so I can start running VMs again?
Last edited by socratis on 16. Jul 2019, 21:13, edited 2 times in total.
Reason: Marked as [Solved].
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Hard Disk with UUID Already Exists

Post by socratis »

So, if you open VirtualBox Manager, you have no VMs? What about if you open the Virtual Media Manager » Hard Disks? Is that empty?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
LNorcini\
Posts: 3
Joined: 15. Jul 2019, 19:01

Re: Hard Disk with UUID Already Exists

Post by LNorcini\ »

I have 4 VMs in the VM folder that I can view on the file system. No VirtualBox tools open, they all fail with the UUID error, so I cannnot view or manage any VMs with these tools.
LNorcini\
Posts: 3
Joined: 15. Jul 2019, 19:01

Re: Hard Disk with UUID Already Exists

Post by LNorcini\ »

I was finally able to get around the issue. I uninstalled then reinstalled VirtualBox. Once reinstalled, I was able to find and edit the VirtualBox.xml file and remove the hard disk configuration. After that I was able to start VirtualBox and properly remove the VMs
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Hard Disk with UUID Already Exists

Post by socratis »

LNorcini wrote:Once reinstalled, I was able to find and edit the VirtualBox.xml file and remove the hard disk configuration
Yeah, that's what I was trying to get you to do with the Virtual Media Manager... ;)
LNorcini wrote:After that I was able to start VirtualBox and properly remove the VMs
Really glad you managed to solve it yourself! Marking as [Solved].
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply