![在 Vrtual Box 上启动 VM 时出错](https://linux22.com/image/1522005/%E5%9C%A8%20Vrtual%20Box%20%E4%B8%8A%E5%90%AF%E5%8A%A8%20VM%20%E6%97%B6%E5%87%BA%E9%94%99.png)
我无法在 VirtualBox 中启动任何虚拟机
它停留在Starting Virtual Machine - 0%
当我结束任务时出现以下错误:
Result Code:
E_FAIL (0x80004005)
Component:
SessionMachine
Interface:
ISession {7844aa05-b02e-4cdd-a04f-ade4a762e6b7}
我在使用任何虚拟机时都会遇到类似的错误,而且由于它在 0% 时挂起,这似乎是 VirtualBox 的问题。
我是使用Windows 10 上的 VirtualBox 5.1.14
。需要启动 Ubuntu 以及 CentOS VM。
请帮忙,否则我可能会陷入麻烦。
答案1
如果你在无所不知的互联网上搜索,你就会进入 VirtualBox 论坛,其中概述了类似这样的问题你的,其有下一个解决方案:
My Solution:
I went into the folder "C:\Users\COMPUTER_NAME\.VirtualBox\Machines\VM_NAME\" and saw two xml files but for some reason they both had suffixes.
1. VM_NAME.xml-prev
2. VM_NAME.xml-tmp
So it simply just couldn't find "VM_NAME.xml" because it technically didn't exist.
I made a copy of the "VM_NAME.xml-prev" file and renamed the copy to "VM_NAME.xml"
Restarted VirtualBox and it worked just fine