Install vagrant on ubuntu 12.04

Posted April 7, 2014 7.2k views
I just followed this vagrant guide from DO tutorial however when I "vagrant up" the VM, it always give me this error: 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. Anyone has this problem before
1 comment

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers
Did you add box? Example using precise32.

vagrant box add precise32

Then make vagrant initial test dir :
mkdir test_project
or you can make another dir, exam:
mkdir vagrant

Open Vagrant initial test dir :
cd test_project
or open another initial vagrant dir :
cd vagrant

then use command: vagrant init

Edit that Vagrantfile using command: nano Vagrantfile

Change: = "base" to your box (base that box you want to use) = "precise32"

Run: "vagrant up" on your "vagrant init" folder
cd test_project
vagrant up

or on another vagrant folder
cd vagrant
vagrant up

to stop vagrant, use this command:
vagrant halt
Destroy Vagrant box that running on VirtualBox (you must run "the box" to destroy it!) using command:

vagrant destroy

* On your "Initial vagrant" folder.

To see vagrant box list you add:

vagrant box list

The output for examp you add/download 2 box:
precise32 (virtualbox)
precise64 (virtualbox)

And you want to remove the box that you don't want to use:

vagrant box remove precise64 virtualbox