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
有哪位兄弟这是什么问题?如何解决啊?
Call to WHvSetupPartition failed
是问题关键字。通过
Windows 设置
>应用
>程序与功能
>程序与功能
,找到启用或关闭 Windows 功能
,勾选Windows 虚拟机监控程序平台
和虚拟机平台
后重启 VirtualBox 即可。BTW,如果还是不行的话。通过管理员启动 PowerShell,执行一下命令后重启即可。