@@ -36,10 +36,39 @@ var vmProblems = map[string]match{
Advice:"In some environments, this message is incorrect. Try 'minikube start --no-vtx-check'",
Issues:[]int{3900},
},
"VBOX_THIRD_PARTY":{
Regexp:re(`The virtual machine * has terminated unexpectedly during startup with exit code 1`),
Advice:"A third-party program may be interfering with VirtualBox. Try disabling any real-time antivirus software, reinstalling VirtualBox and rebooting.",
Issues:[]int{3910},
"VBOX_VERR_VMX_NO_VMX":{
Regexp:re(`VT-x is not available.*VERR_VMX_NO_VMX`),
Advice:"Please check your BIOS, and ensure that you are running without HyperV or other nested virtualization that may interfere",
Issues:[]int{1994},
},
"VBOX_BLOCKED":{
Regexp:re(`NS_ERROR_FAILURE.*0x80004005`),
Advice:"Reinstall VirtualBox and verify that it is not blocked: System Preferences -> Security & Privacy -> General -> Some system software was blocked from loading",
Issues:[]int{4107},
GOOS:"darwin",
},
"VBOX_DRV_NOT_LOADED":{
Regexp:re(`The vboxdrv kernel module is not loaded`),
Advice:"Run 'sudo modprobe vboxdrv' and reinstall VirtualBox if it fails.",
Issues:[]int{4043},
},
"VBOX_DEVICE_MISSING":{
Regexp:re(`/dev/vboxdrv does not exist`),
Advice:"Run 'sudo modprobe vboxdrv' and reinstall VirtualBox if it fails.",