Question

Install vagrant on ubuntu 12.04

I just followed this vagrant guide from DO tutorial https://www.digitalocean.com/community/articles/how-to-install-vagrant-on-a-vps-running-ubuntu-12-04

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

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Destroy Vagrant box that running on VirtualBox (you must run “the box” to destroy it!) using command: <br> <br>vagrant destroy <br> <br>* On your “Initial vagrant” folder. <br> <br>To see vagrant box list you add: <br> <br>vagrant box list <br> <br>The output for examp you add/download 2 box: <br>precise32 (virtualbox) <br>precise64 (virtualbox) <br> <br>And you want to remove the box that you don’t want to use: <br> <br>vagrant box remove precise64 virtualbox

Did you add box? Example using precise32. <br> <br>vagrant box add precise32 http://files.vagrantup.com/precise32.box <br> <br>Then make vagrant initial test dir : <br>’ <br>mkdir test_project <br> or you can make another dir, exam: <br>mkdir vagrant <br>’ <br> <br>Open Vagrant initial test dir : <br>’ <br>cd test_project <br> or open another initial vagrant dir : <br>cd vagrant <br> <br>then use command: vagrant init <br> <br>Edit that Vagrantfile using command: nano Vagrantfile <br> <br>Change: config.vm.box = “base” to your box (base that box you want to use) config.vm.box = “precise32” <br> <br>Run: “vagrant up” on your “vagrant init” folder <br>Examp: <br>cd test_project <br>vagrant up <br> <br>or on another vagrant folder <br>cd vagrant <br>vagrant up <br> <br>to stop vagrant, use this command: <br>vagrant halt