I need to install vagrant in headless ubuntu(Ubuntu 12.04.2 LTS- 64 Bit).Vagrant ver-v1.3.0 and Virtual box- 4.2.18. After adding the vagrant package box, when I am giving "vagrant up" command, am getting the following error:
Bringing machine 'default' up with 'virtualbox' provider...
[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.
When I searched this error message, I found the need to modify your BIOS to enable VT-x features. But I dunno how to do it as its headless ubuntu remote server. Also am not sure whether enabling VT-x will fix the problem.
Can someone help me with this?
Can you start the machine manually (from the GUI)? This error message is usually indicative of VirtualBox issues.
I use vagrant under windows though, I solved this problem by simply kill all the VirtualBox process, and restart VirtualBox GUI, start the VM, then normally power off it.
These two issues may help.
https://github.com/mitchellh/vagrant/issues/2157
https://github.com/mitchellh/vagrant/issues/2187 may also be helpful.