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

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

《L05 电商实战》
从零开发一个电商项目,功能包括电商后台、商品 & SKU 管理、购物车、订单管理、支付宝支付、微信支付、订单退款流程、优惠券等
《L03 构架 API 服务器》
你将学到如 RESTFul 设计风格、PostMan 的使用、OAuth 流程,JWT 概念及使用 和 API 开发相关的进阶知识。
讨论数量: 1
诺墨

Call to WHvSetupPartition failed 是问题关键字。

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


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

bcdedit /set hypervisorlaunchtype off
2年前 评论

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