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

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

《L04 微信小程序从零到发布》
从小程序个人账户申请开始,带你一步步进行开发一个微信小程序,直到提交微信控制台上线发布。
《L02 从零构建论坛系统》
以构建论坛项目 LaraBBS 为线索,展开对 Laravel 框架的全面学习。应用程序架构思路贴近 Laravel 框架的设计哲学。
讨论数量: 1
诺墨

Call to WHvSetupPartition failed 是问题关键字。

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


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

bcdedit /set hypervisorlaunchtype off
2年前 评论

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