阅读 10086

042-解决win10 VirtualBox无法启动(VERR_NEM_VM_CREATE_FAILED)

这是坚持技术写作计划(含翻译)的第42篇,定个小目标999,每周最少2篇。

最近将win10从1809升级到1903,结果自己的VirtualBox无法启动,经过一番google,问题已解决。

python+vagrant+virtualbox系列文章

我的运行错误日志忘记保存了,从网上找的类似的

00:00:03.418689 VMSetError: F:\tinderbox\win-6.0\src\VBox\VMM\VMMR3\NEMR3Native-win.cpp(1463) int __cdecl nemR3NativeInitAfterCPUM(struct VM *); rc=VERR_NEM_VM_CREATE_FAILED
00:00:03.418732 VMSetError: Call to WHvSetupPartition failed: ERROR_SUCCESS (Last=0xc000000d/87)
00:00:03.418771 NEM: Destroying partition 00000000013f29b0 with its 0 VCpus...
00:00:03.548429 ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={872da645-4a9b-1727-bee2-5585105b9eed} aComponent={ConsoleWrap} aText={Call to WHvSetupPartition failed: ERROR_SUCCESS (Last=0xc000000d/87) (VERR_NEM_VM_CREATE_FAILED)}, preserve=false aResultDetail=-6805
00:00:03.548750 Console: Machine state changed to 'PoweredOff'
00:00:03.558813 Power up failed (vrc=VERR_NEM_VM_CREATE_FAILED, rc=E_FAIL (0X80004005))
00:00:04.060139 GUI: UIMachineViewNormal::resendSizeHint: Restoring guest size-hint for screen 0 to 800x600
00:00:04.060177 ERROR [COM]: aRC=E_ACCESSDENIED (0x80070005) aIID={ab4164db-c13e-4dab-842d-61ee3f0c1e87} aComponent={DisplayWrap} aText={The console is not powered up}, preserve=false aResultDetail=0
00:00:04.060407 GUI: Aborting startup due to power up progress issue detected...
复制代码

代码节选自 forums.virtualbox.org/viewtopic.p…

解决办法是禁用Hyper-V。
Win+R -> cmd -> Ctrl+Shift+Enter -> bcdedit /set hypervisorlaunchtype off -> 重启电脑 -> 启动vbox

招聘小广告

山东济南的小伙伴欢迎投简历啊 加入我们 , 一起搞事情。
长期招聘,Java程序员,大数据工程师,运维工程师,前端工程师。

参考资料