By stevenlyl147
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!
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.