Hi Béatrice,
Are you on a Windows host computer? Based on the error message you shared, I suspect that virtualization may not currently be enabled in your BIOS.
On many Windows computers, virtualization is often disabled in the BIOS by default, and needs to be manually enabled/allowed. 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"
After you have changed the settings to enable virtualization, it’s recommended that you shut down the computer for minimum 10 seconds and restart it (aka a "Cold Restart") for the settings to properly take effect.
If your computer uses UEFI, you can still access the BIOS settings, but they make it a bit harder. The following links cover both cases:
One other thing I find it is often good to check on Windows based computers: check the Virtualbox Adapter settings.
Sometimes, you might need to adjust Windows' default adapter settings for it to work with Virtualbox. This can be necessary during first installation, but sometimes also after upgrading your version of Virtualbox. To do so, first make sure Vagrant and Virtualbox are shut down, and then:
- Open the Control Panel, and navigate to Network and Internet > Network and Sharing Center
- In the left sidebar, click on the link to "Change adapter settings"
- Windows will open a new window - one of the connections should be call the "VirtualBox Host-Only Network"
- Click once on it, and then in the header bar, click the option that appears to "Change the settings of this adapter"
- Another dialogue window will pop up
- In the Network tab of this new window, make sure that the "Virtualbox NDIS6 Bridged Networking Driver" option is checked
- Save your changes
Let us know if that helps!
Regards,