Windows + VirtualBox (+ vagrant) で仮想マシンが起動できない

More than 3 years have passed since last update.


Windows 7 + VirtualBox 4.3.14 (+ vagrant 1.3.5) の組み合わせにおいて以下のような現象が発生する場合がある。


The virtual machine 'XXXXX(仮想マシン名)' has terminated unexpectedly during startup with exit code 1.

終了コード : E_FAIL (0x80004005)
コンポーネント: Machine



VirtualBox 4.3.12 を使用する。

VirtualBox 4.3.14 (2014年7月22日現在のWindows版最新ver)ではバグがあり動かないとの情報あり。



VirtualBox 4.3.12 をダウンロード



vagrant up


C:\Users\abc>vagrant up

Bringing machine 'default' up with 'virtualbox' provider...
[default] Box 'precis64' 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...ate: 922k/s, Estimated time remaining: --:--:--)
Successfully added box 'precis64' with provider 'virtualbox'!
[default] Importing base box 'precis64'...
[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...
[default] Waiting for machine to boot. This may take a few minutes...
The guest machine entered an invalid state while waiting for it
to boot. Valid states are 'starting, running'. The machine is in 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 than Vagrant can retrieve.
For example, if you're using VirtualBox, run \`vagrant up\` while the
VirtualBox GUI is open.