Vagrant: VBoxManage.exe: error: VT-x is not available

Created on 3 Oct 2017  ยท  6Comments  ยท  Source: hashicorp/vagrant

Hi,
I installed vagrant 2.0 and virtualbox 5.1.26 on my machine. I also enabled VT on BIOS.
When i write vagrant up shows the error: Stderr: VBoxManage.exe: error: VT-x is not available (VERR_VMX_NO_VMX)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ConsoleWrap, interface IConsole

waiting-reply

Most helpful comment

The issue was solved uninstalling hyper-v. I was having trouble with uninstallation.

All 6 comments

Hi @helderboone - if you could please provide a vagrantfile, and link to a gist with debug output, that would be great! Thanks.

VagrantFile

Vagrant.configure("2") do |config|

  config.vm.box = "ubuntu/xenial64"

  config.vm.host_name = "foo-dev"

  config.vm.provision "shell", path: "provision/bootstrap.sh"

  config.vm.provision "shell", inline: "sudo echo \"export ASPNETCORE_ENVIRONMENT=Development\" | tee -a /etc/profile.d/vars.sh", run: "always"

  # Nginx
  config.vm.network "forwarded_port", guest: 80, host: 8080

  # Postgres
  config.vm.network "forwarded_port", guest: 5432, host: 5432

  # Mongodb
  config.vm.network "forwarded_port", guest: 27017, host: 27017

  # Kestrel
  config.vm.network "forwarded_port", guest: 5050, host: 5050

  config.vm.synced_folder ".", "/vagrant", disabled: true

  config.vm.synced_folder "..", "/foo"

   config.vm.provider "virtualbox" do |vb|
    vb.memory = "1024"
   end

end

The gist link https://gist.github.com/helderboone/aabeeeede4e6dd096ef3a98d70077684

Do you have Hyper-V enabled on the host?

Yes I have. I installed docker so it needs the hyper-v. Then i uninstalled docker e tried to unisnstall hyper-v. However, while the system is uninstalling the hyper-v occur an error and the system is restored and hyper-v comes back. I don't know what to do.

The issue was solved uninstalling hyper-v. I was having trouble with uninstallation.

I'm going to lock this issue because it has been closed for _30 days_ โณ. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rhencke picture rhencke  ยท  3Comments

lebogan picture lebogan  ยท  3Comments

RobertSwirsky picture RobertSwirsky  ยท  3Comments

tomhking picture tomhking  ยท  3Comments

mpontillo picture mpontillo  ยท  3Comments