Skip to content

Instantly share code, notes, and snippets.

@betweenbrain
Created December 5, 2013 01:47
Show Gist options
  • Save betweenbrain/7798873 to your computer and use it in GitHub Desktop.
Save betweenbrain/7798873 to your computer and use it in GitHub Desktop.
Disable VT-X in Vagrantfile
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--hwvirtex", "off"]
end
@betweenbrain
Copy link
Author

This is generally a solution to

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.

If the provider you're using has a GUI that comes with it,
it is often helpful to open that and watch the machine, since the
GUI often has more helpful error messages than Vagrant can retrieve.
For example, if you're using VirtualBox, run vagrant up while the
VirtualBox GUI is open.

@EderRoger
Copy link

Thanks for sharing! works for me!

@rallenecraft
Copy link

This does not seem to work any longer, unfortunately.

@ex3m1024
Copy link

still works for me, added v.cpus = 1 to my Vagrantfile just to make sure

@josefglatz
Copy link

Thank you @ex3m1024 for this info!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment