Problems when installing vagrant

279 views
Skip to first unread message

Roberto Bosshardt

unread,
Mar 27, 2021, 5:06:16 PM3/27/21
to AtoM Users
Hi there. When I was installing vagrant the following error occurred: 

There was an error while executing `VBoxManage`, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below. Command: ["startvm", "9095d9bc-bc37-4367-badb-2ab37f3838a2", "--type", "headless"] Stderr: VBoxManage.exe: error: Not in a hypervisor partition (HVP=0) (VERR_NEM_NOT_AVAILABLE). VBoxManage.exe: error: VT-x is disabled in the BIOS for all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED) VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ConsoleWrap, interface IConsole 

Would you please guide me on this? Thanks

Dan Gillean

unread,
Mar 29, 2021, 10:13:54 AM3/29/21
to ICA-AtoM Users
Hi Roberto, 

Short answer: on many Windows computers, virtualization is disabled in the BIOS by default, and needs to be manually enabled/allowed before you can use VM tools like Virtualbox and Vagrant. This is done differently on each computer depending on the manufacturer, but you'll need to restart and go into the BIOS settings to enable things. 

Longer answer: 

Modern CPUs include hardware virtualization features that help accelerate virtual machines created in VirtualBox, VMware, Hyper-V, and other apps. But those features aren’t always enabled by default. On systems with an Intel CPU, the Intel VT-x feature can be disabled via a BIOS or UEFI firmware setting. In fact, it’s often disabled by default on new computers - meaning you will need to go into your BIOS/UEFI settings to enable it manually.

PCs made prior to the release of Windows 8 probably use BIOS. PCs made after Windows 8 came out may use UEFI instead, and the likelihood of using UEFI grows the more modern the PC. If you're curious, you can read more about the difference between BIOS and UEFI here and here.

On a BIOS-based system, you’ll access BIOS settings by restarting your PC and pressing the appropriate key right when it first boots. The key you press depends on your PC’s manufacturer, but it’s often the "Delete," "ESC," or "F2" key. You also will most likely see a message during startup that says something like, "Press {Key} to access setup." If you can’t figure out the right key to get into your BIOS settings, just perform a web search for something like "{computer} {model_number} access BIOS."
Once again, it will depend on your particular computer and the BIOS version it uses, but places to look to find the setting you will want to enable are:
  • Look in the Power or Advanced Chipset Settings sections
  • Look for "Virtualization Technology" setting
  • Make sure this is set to "Enabled"
Here's a post that shows an example of doing this on an UEFI system: 
After you have changed the settings to enable virtualization, it’s recommended that you shut down the computer for a minimum 10 seconds and restart it (aka a "Cold Restart") for the settings to properly take effect.

Hope this helps! Good luck! 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory
he / him


--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/5343b2fa-cf61-4105-bbdb-48733e45c282n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages