I'm attempting to use VirtualBox for a class in which we run and modify XV6 with vagrant. The VirtualBox previously worked fine, but with a new project I get this error:
This is followed by a VirtualBox pop-up which states "Critical Error" with:There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["list", "hostonlyifs"]
Stderr: VBoxManage: error: Failed to create the VirtualBox object!
VBoxManage: error: Cannot register the hard disk '/Users/turnerromey/VirtualBox VMs/xv6_box/box-disk1.vmdk' {ee08a335-2580-4933-a85b-24e117b7b140} because a hard disk '/Users/turnerromey/VirtualBox VMs/xv6_box/box-disk1.vmdk' with UUID {53d6378a-83c1-4f7b-861d-fb1f58787cec} already exists
VBoxManage: error: Details: code NS_ERROR_INVALID_ARG (0x80070057), component VirtualBoxWrap, interface IVirtualBox
The drop down gives the same information listed in the first quote, followed by:Failed to Acquire the VirtualBox COM object. The application will now terminate.
I have tried to uninstall Vagrant and Virtual Box 4 times using their respective uninstall tools. To add to my frustration, the folder it keeps referring too doesn't even exist. I checked that file path in Terminal, Finder, and in a 3rd party application called "Omni Disk Sweeper" and it has never appeared. Any help would be awesome or fix would be awesome as I have run out of ideas.Result Code: NS_ERROR_INVALID_ARG (0x80070057)
Component: VirtualBoxWrap
Interface: IVirtualBox {d0a0163f-e254-4e5b-a1f2-011cf991c38d}
Callee: IVirtualBoxClient {d2937a8e-cb8d-4382-90ba-b7da78a74573}
Thanks.