Report this

What is the reason for this report?

Install vagrant on ubuntu 12.04

Posted on April 7, 2014

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



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!

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.

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

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.