Vagrant up 报错,无法启动!

There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm", "b34b79b4-7cf1-4796-a499-e04894fd131d", "--type", "headless"]

Stderr: VBoxManage.exe: error: Call to WHvSetupPartition failed: ERROR_SUCCESS (Last=0xc000000d/87) (VERR_NEM_VM_CREATE_FAILED)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ConsoleWrap, interface IConsole

有哪位兄弟这是什么问题?如何解决啊?

《L03 构架 API 服务器》
你将学到如 RESTFul 设计风格、PostMan 的使用、OAuth 流程,JWT 概念及使用 和 API 开发相关的进阶知识。
《G01 Go 实战入门》
从零开始带你一步步开发一个 Go 博客项目,让你在最短的时间内学会使用 Go 进行编码。项目结构很大程度上参考了 Laravel。
讨论数量: 1
诺墨

Call to WHvSetupPartition failed 是问题关键字。

通过 Windows 设置>应用>程序与功能>程序与功能,找到 启用或关闭 Windows 功能,勾选 Windows 虚拟机监控程序平台虚拟机平台 后重启 VirtualBox 即可。


BTW,如果还是不行的话。通过管理员启动 PowerShell,执行一下命令后重启即可。

bcdedit /set hypervisorlaunchtype off
3年前 评论

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!