2017-05-30 521 views
1

我很高興地爲我的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的

回答

0

喜好我做了什麼來解決問題是「插上騰飛的」使用discard我的虛擬機的狀態,希望不要丟失任何信息......現在我在VirtualBox v.5.1.14上,並會堅持下去,直到所有的東西都能正常工作。

0

我不得不更新到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 
0

關閉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 
相關問題