Page 1 of 1
Inaccessible VM
Posted: 24. Oct 2013, 20:38
by asabbah
I removed a Linux (Fedora) VM, then uninstalled Vbox, and reinstalled, and there it is again. Showing a stop sign, inaccessible, with the following error:
Runtime error opening '/Users/asabbah/VirtualBox VMs/Fedora 17/Fedora 17.vbox' for reading: -102(File not found.).
/Users/vbox/tinderbox/4.3-mac-rel/src/VBox/Main/src-server/MachineImpl.cpp[727] (nsresult Machine::registeredInit()).
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
Machine
Interface:
IMachine {480cf695-2d8d-4256-9c7c-cce4184fa048}
I searched for the file on the computer but it is gone, and I am unable to remove the entry from VBox, please help.
Re: Inaccessible VM
Posted: 27. Oct 2013, 22:50
by noteirak
asabbah wrote:I am unable to remove the entry from VBox
Because you get an error message? If yes, which one?
Re: Inaccessible VM
Posted: 28. Oct 2013, 12:40
by mpack
You can't remove a VM by deleting a VM folder - which I suspect was what was done here. The problem is that the VM remains registered in VirtualBox. You should have asked VirtualBox to remove the VM.
The VM register is data. Data is not affected by reinstalling the VirtualBox software.
Have you tried right clicking the VM in the GUI and selecting "Remove"?
Other options are to edit the VirtualBox.xml manually, for which you need to understand what you're doing. Or you can delete VirtualBox.xml entirely, which will cause all VMs to be unregistered.
Re: Inaccessible VM
Posted: 30. Oct 2013, 12:45
by FrAgFo0d
What if you don't have the VirtualBox.xml ?
I removed VirtualBox from my machine (all the files) and after re-installing it says:
"The selected virtual machine is inaccessible."
Re: Inaccessible VM
Posted: 30. Oct 2013, 14:50
by mpack
You do have a VirtualBox.xml, as VBox wouldn't run without it. As a data file, it is not removed by reinstalling the software. Look in your documents area for a .VirtualBox folder, inside which is that xml.
Re: Inaccessible VM
Posted: 30. Oct 2013, 15:27
by rpmurray
mpack wrote:Look in your documents area for a .VirtualBox folder, inside which is that xml.
Actually, no. On a Mac the VirtualBox.xml file will be stored on the following path:
<hard drive>/Users/<user account>/Library/VirtualBox
Re: Inaccessible VM
Posted: 19. Dec 2013, 06:37
by hibakushamoto
Has anyone found a solution to this?
I am running OSX Mavericks and VB 4.3.4 with a CentOS 6.5 guest.
I tried to upgrade to 4.3.4 but it broke, so I uninstalled it and started fresh and now my one guest VM says it is Inaccessible.
I do not need it and want to just delete it but I cannot. When I right click on it and use the remove option, nothing happens.
I located the VirtualBox.xml file and removed these lines but it didn't help:
Code: Select all
<MachineRegistry>
<MachineEntry uuid="{84b00527-cff5-4c49-9151-38e7c05d85dd}" src="/users/me/VirtualBox VMs/DevBox/DevBox.vbox"/>
</MachineRegistry>
Any ideas on just getting rid of VirtualBox completely and starting fresh? I even used CleanMyMac and the guest still shows up when I reinstall VirtualBox.
Re: Inaccessible VM
Posted: 19. Dec 2013, 06:43
by hibakushamoto
** SOLVED **
I opened up /Users/me/VirtualBox and removed the <MachineRegistry> XML block from three files:
VirtualBox.xml
VirtualBox.xml-prev
VirtualBox-1.12-macosx.xml
I am not sure which one did it but the damn guest is gone, finally.