devsecops / bootcamp

A open contribute bootcamp to develop DevSecOps skills...

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting error "NS_ERROR_FAILURE (0x80004005)" when running "vagrant up" or "vagrant ssh" on Windows

pbnj opened this issue · comments

SYMPTOM/ISSUE

When I run vagrant up or vagrant ssh on my Windows machine, I get the following error:

...
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
Machine
Interface:
IMachine 
...

DESCRIPTION

This issue is not coming from Vagrant, but rather from VirtualBox.
Furthermore, if you try to open VirtualBox itself and open a console into your Virtual Machine, you will get the error:

VT-x/AMD-V hardware acceleration has been enabled, but is not operational. Your 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot.

Please ensure that you have enabled VT-x/AMD-V properly in the BIOS of your host computer.

SOLUTION

This error is caused by Virtualization Technology setting being disabled in your BIOS.
To resolve this, you must:

  • Know what keyboard combinations/keys will get you to the BIOS screen (e.g. HP Envy is F10).
    • If you don't know, google it (e.g. how to access bios on [insert laptop brand and model here])
  • Reboot/restart your Windows machine and press the keyboard combinations/keys to access the BIOS
  • Once in the BIOS screen, enable the Virtualization Technology setting
  • Save and Quit

Then once your machine is rebooted, in Git Bash, go to dso_repos/bootcamp directory and run: vagrant up.