Can't delete deleted VM guest :-(

Discussions about using Mac OS X guests (on Apple hardware) in VirtualBox.
Post Reply
paulk
Posts: 2
Joined: 11. Nov 2013, 19:17

Can't delete deleted VM guest :-(

Post by paulk »

The files got deleted for a VM and Virtual Box complains that
that the VM is inaccessible so it won't let me remove it from my VM list.
Then, I tried to create a dummy vdi file at the indicated path, and it tells me
the Start tag "<" is missing.

Hey, there needs to be a way to remove inaccessible, missing or corrupt virtual machines from
the virtual machine list!!
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Can't delete deleted VM guest :-(

Post by noteirak »

Have you tried to unregister the VM instead of deleting it?
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
jabbathejaba
Posts: 1
Joined: 15. Nov 2013, 04:12

Re: Can't delete deleted VM guest :-(

Post by jabbathejaba »

Actually, this is something I have not seen before either and seems ot be a new bug.

Can't remove, delete or unregister, nor in gui nor with VBoxManage.

I refer to bug =>
{sudo,} VBoxManage unregistervm {.....}
VBoxManage: error: Could not find a registered machine with UUID {48....fa033}

VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBox, interface IVirtualBox, callee nsISupports
VBoxManage: error: Context: "FindMachine(Bstr(VMName).raw(), machine.asOutParam())" at line 154 of file VBoxManageMisc.cpp

I have the machines elsewhere ut I can't load them as I can't remove the stale old entries. I have no interest placing them back.

This is a new bug. Confirmed.
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Can't delete deleted VM guest :-(

Post by noteirak »

From what I can see, you don't have the same issue as the OP. The OP tried to use another file than the original one to unregister a VM that doesn't exist anymore.
You only refer to a possible bug, but do not mention where you got confirmation. Is there a bug ticket for this?
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
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: Can't delete deleted VM guest :-(

Post by socratis »

jabbathejaba wrote:I refer to bug => {sudo,} VBoxManage unregistervm {.....}
VBoxManage: error: Could not find a registered machine with UUID {48....fa033}
Why did you do a "sudo"? VBox does not need administrator rights. In fact, it is expected NOT to work, since once you "sudo" you change your environment variables, and more specifically the location of your "VirtualBox.xml" which holds all the information about your VMs. Located at "/Users/<username>/Library/VirtualBox/VirtualBox.xml".
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