問題現象:啓動時Vagrant等待,一直不能啓動起來。
直接在virtualBox中啓動時,報錯不能爲虛擬電腦啓動一個任務,返回碼爲:E_FAIL (0x80004005)
通過查詢,原來電腦沒有開啓vt技術,本人電腦爲TP420,開啓方式:
開機按F12,進入BIOS的Security中開啓如下兩項:ubuntu
問題現象:啓動時報以下錯誤segmentfault
[default: Error: Connection timeout. Retrying... ] [default: Error: Connection timeout. Retrying... ] [default: Error: Connection timeout. Retrying... ]
這個是由於360的晶核防禦禁用了64位,關閉它就能夠了(在安全防禦中心的右上角)。安全
VirtualBox沒有32位選項也是這個緣由:
Intel-VT晶核防禦引擎佔用了CPU的虛擬化技術,將其關閉後重啓系統,再打開VM VirtualBox,就能夠創建64位虛擬機系統了。ui
問題現象:啓動時報以下錯誤vagrant
==> default: Mounting shared folders... default: /vagrant => E:/VmWork/ubuntu14.04 Failed to mount folders in Linux guest. This is usually because the "vboxsf" file system is not available. Please verify that the guest additions are properly installed in the guest and can work properly. The command attempted was: mount -t vboxsf -o uid=`id -u vagrant`,gid=`getent group vagrant | cut -d: -f3` vagrant /vagrant mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` vagrant /vagrant The error output from the last command was: stdin: is not a tty mount: unknown filesystem type 'vboxsf'
這個問題請移步:手工爲Vagrant安裝VBoxGuestAdditionscode