我正在使用m1.medium機器類型在Amazon EC2,架構x86_64上安裝Ubuntu Server 12.04.2 LTS。在EC2上運行Ubuntu 12.04上的Vagrant時出現錯誤
要安裝VirtualBox我做
sudo apt-get install virtualbox
現在,
vagrant init precise32 http://files.vagrantup.com/precise32.box
vagrant up
總是停止說
Bringing machine 'default' up with 'virtualbox' provider...
[default] Box 'precise32' was not found. Fetching box from specified URL for
the provider 'virtualbox'. Note that if the URL does not have
a box for this provider, you should interrupt Vagrant now and add
the box yourself. Otherwise Vagrant will attempt to download the
full box prior to discovering this error.
Downloading or copying the box...
Extracting box...te: 8240k/s, Estimated time remaining: --:--:--)
Successfully added box 'precise32' with provider 'virtualbox'!
[default] Importing base box 'precise32'...
[default] Matching MAC address for NAT networking...
[default] Setting the name of the VM...
[default] Clearing any previously set forwarded ports...
[default] Creating shared folders metadata...
[default] Clearing any previously set network interfaces...
[default] Preparing network interfaces based on configuration...
[default] Forwarding ports...
[default] -- 22 => 2222 (adapter 1)
[default] Booting VM...
但它永遠不會啓動。它只是停在「引導虛擬機...」 – vincelake
你檢查過virtualbox的狀態嗎?您應該能夠看到啓動進度。 – bfitzpatrick