注销手动删除的VirtualBox虚拟机

注销手动删除的VirtualBox虚拟机,virtualbox,vbox,Virtualbox,Vbox,删除了我的VirtualBox虚拟机文件夹,但没有先删除我的虚拟机。[哇!] 我已经运行了sudo apt get purge virtualbox*并重新启动了。重新安装virtualbox-5.0 $ VBoxManage --version 5.0.14r105127 $ VBoxManage list vms "<inaccessible>" {8f192d64-6be3-4721-8601-af26cce18b4d} "<inaccessible>" {85a

删除了我的
VirtualBox虚拟机
文件夹,但没有先删除我的虚拟机。[哇!]

我已经运行了
sudo apt get purge virtualbox*
并重新启动了。重新安装
virtualbox-5.0

$ VBoxManage --version
5.0.14r105127

$ VBoxManage list vms
"<inaccessible>" {8f192d64-6be3-4721-8601-af26cce18b4d}
"<inaccessible>" {85a69bcf-8a1b-421b-9c03-9c78b09aec9e}
"<inaccessible>" {d4810253-3159-4073-99ca-d1a2f56f10b2}

$ VBoxManage unregistervm {657cbfe1-8557-4181-a7bb-9d4919cafbae} --delete
VBoxManage: error: Could not find a registered machine with UUID {657cbfe1-8557-4181-a7bb-9d4919cafbae}
VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBoxWrap, interface IVirtualBox, callee nsISupports
VBoxManage: error: Context: "FindMachine(Bstr(VMName).raw(), machine.asOutParam())" at line 151 of file VBoxManageMisc.cpp
$VBoxManage--版本
5.0.14r105127
$VBoxManage列表虚拟机
“{8f192d64-6be3-4721-8601-af26cce18b4d}”
“{85a69bcf-8a1b-421b-9c03-9C78B09AE9E}”
“{D481053-3159-4073-99ca-d1a2f56f10b2}”
$VBoxManage注销VM{657cbfe1-8557-4181-a7bb-9d4919cafbae}--删除
VBoxManage:错误:找不到UUID为{657cbfe1-8557-4181-a7bb-9d4919cafbae}的注册计算机
VBoxManage:错误:详细信息:未找到代码VBOX\u E\u对象(0x80bb0001),组件VirtualBoxWrap,接口IVirtualBox,被调用方支持
VBoxManage:错误:上下文:“文件VBoxManageMisc.cpp第151行的FindMachine(Bstr(VMName).raw(),machine.asOutParam())”

如何重新开始?

看起来我可以手动编辑配置文件,即:
VirtualBox.xml
对三个旧Id使用
VBoxManage注销您的Id
,类似于。

尝试过。见我的问题。