VirtualBox/Vagrant在Windows 10创建者更新后停止工作
我很高兴地为我的laravel项目(Homestead)使用Vagrant with VirtualBox,但在创建者更新Windows 10后,VirtualBox停止工作 - vagrant up没有抛出任何错误,我甚至能无业游民SSH成功,但我的网络项目是从浏览器无法访问。VirtualBox/Vagrant在Windows 10创建者更新后停止工作
最初我使用VirtualBox v.5.1.14,但决定更新到最新版本(这是v.5.1.22) - 没有任何运气,所以在阅读this thread的答案后,我降级到v.5.0 0.38
现在,当我尝试无业游民了显示此错误:
vagrant up
Bringing machine 'homestead-7' up with 'virtualbox' provider...
==> homestead-7: Checking if box 'laravel/homestead' is up to date...
==> homestead-7: Resuming suspended VM...
==> homestead-7: Booting VM...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["startvm", "e5ac5ef8-07fa-412f-b59c-bfd745db047e", "--type", "headless"]
Stderr: VBoxManage.exe: error: Failed to load unit 'cpum' (VERR_INVALID_FLAGS)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ConsoleWrap, interface IConsole
PS我已经设定仅主机网络适配器通过VirtualBox的
喜好我做了什么来解决问题是“插上腾飞的”使用discard我的虚拟机的状态,希望不要丢失任何信息......现在我在VirtualBox v.5.1.14上,并会坚持下去,直到所有的东西都能正常工作。
我不得不更新到VirtualBox虚拟5.2版让我的箱子重新运行。
,也需要重新安装git的窗户2.15.1.2-64位和选择选项“使用Windows默认的控制台”(CMD.EXE),而不是“MinTTY”
随着MinTTY命令:
vagrant ssh
不会显示bash命令行。
使用Windows默认控制台的工作。 看到更多possibe解决方法,此PIONT也是在这git issue
我工作ENV:
- Windows 10 - 1709 - Build 16299.125
- vagrant 2.0.1
- virtualbox 5.2.0
- git for windows 2.15.1.2. 64 bit
关闭Hyper-V
解决我的问题。
解决方案:
Control Panel -> Turn Windows Feature on or Off -> Uncheck Hyper-V
我有同样的问题。我的vagrant up
在Windows Fall Creators更新(1709)后停止工作。它在我关闭Hyper-V后工作。
当前工作环境:
- Windows 10 (1709)
- Vagrant 1.9.7
- VirtualBox 5.1.32