Vagrant: Stderr: VBoxManage: error: VT-x is disabled in the BIOS for all CPU modes

Submitted by oioioooi on 30/05/2022 - 15:20

If you fall into the following message during vagrant up command:

Command: ["startvm", "71626f2d-1b1c-406c-8cab-698ec48b9815", "--type", "headless"]
Stderr: VBoxManage: error: VT-x is disabled in the BIOS for all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED)

... then it seems that your device has virtualization disabled in bios settings.

Reboot, enter your BIOS (either by constantly pressing F2 or DEL button before the splash screen appears), navigate to CPU settings and enable the virtualization option to fix this error. Exit the BIOS saving the changes and after host machine boots up, virtual machines should boot as well.

Tags