我像个白痴一样在我的计算机上安装了 Windows 10,现在尝试使用 Vagrant 时 VirtualBox 却无法工作。
我做的第一件事是运行“vagrant up”,但出现这个错误......
The guest machine entered is an invalid state while waiting for it to boot. Valid states are "starting, running". The macine is the 'poweroff' state. Please verify everything is configured properly and try again.
If the provider you're using has a GUI that comes with it, it is often helpful to open that and watch the machine, since the GUI often has more helpful error messages blah blah blah.
因此,当我尝试在 vitrualbox 中启动该盒子时,我得到了这个......
VERR_SUPDRV_HARDENING_EVIL_HANDLE(rc=-3738)
Make sure the kernal module has been loaded successfully.
关闭该错误消息后,我得到了这个......
Failed to open a session for the virtual machine Homestead_default_1412246587955_75464.
The virtual machine 'Homestead_default_1412246587955_75464' has terminated unexpectedly during startup with exit code 1 (0x1). More details may be available in 'C:\Users\Jared\VirtualBox VMs\Homestead_default_1412246587955_75464\Logs\VBoxStartup.log'.
Result Code: E_FAIL (0x80004005)
Component: Machine
Interface: IMachine {480cf695-2d8d-4256-9c7c-cce4184fa048}
我已确保 BIOS 中启用了虚拟化功能。
我也尝试手动安装这两个.inf 文件。
C:/Program Files/Oracle/VirtualBox/drivers/USB/filter/VBoxUSBMon.inf
C:/Program Files/Oracle/VirtualBox/drivers/vboxdrv/VBoxDRV.inf
现在,当我右键单击这些文件时,它会给我安装选项,完成后它显示成功,但当我再次右键单击它们时,它仍然显示安装选项。我不知道这是否正常,但无论如何它都不能解决问题。
这就是我现在的情况。我正尝试在适用于 Windows 10 64 位的 VirtualBox 4.3.16 上运行 Vagrant 1.6.5。
答案1
我也遇到过同样的错误。尝试安装 VirtualBox 4.3.12(旧版本)。对我来说,这样就没问题了。