Hi, I am trying to install minikube in my local(windows 10 pro - hyper-v enabled . . .

Sharath Kumar:
Hi, I am trying to install minikube in my local(windows 10 pro - hyper-v enabled) and getting below error. please suggest how to get out of this error. I am following below installation instructions.https://minikube.sigs.k8s.io/docs/start/

Sharath Kumar:
It worked with Hyper-V driver. C:\Sharath\Installations\KodeKloud\minikube>minikube start --driver=virtualbox

  • minikube v1.18.1 on Microsoft Windows 10 Pro 10.0.19041 Build 19041
  • Using the virtualbox driver based on user configuration
  • Downloading VM boot image …
    > minikube-v1.18.0.iso.sha256: 65 B / 65 B [-------------] 100.00% ? p/s 0s
    > minikube-v1.18.0.iso: 212.99 MiB / 212.99 MiB [] 100.00% 5.17 MiB p/s 41s
  • Starting control plane node minikube in cluster minikube
  • Creating virtualbox VM (CPUs=2, Memory=4000MB, Disk=20000MB) …
    ! StartHost failed, but will try again: creating host: create: precreate: This computer is running Hyper-V. VirtualBox won’t boot a 64bits VM when Hyper-V is activated. Either use Hyper-V as a driver, or disable the Hyper-V hypervisor. (To skip this check, use --virtualbox-no-vtx-check)
  • Creating virtualbox VM (CPUs=2, Memory=4000MB, Disk=20000MB) …
  • Failed to start virtualbox VM. Running “minikube delete” may fix it: creating host: create: precreate: This computer is running Hyper-V. VirtualBox won’t boot a 64bits VM when Hyper-V is activated. Either use Hyper-V as a driver, or disable the Hyper-V hypervisor. (To skip this check, use --virtualbox-no-vtx-check)

X Exiting due to PR_VBOX_HYPERV_64_BOOT: Failed to start host: creating host: create: precreate: This computer is running Hyper-V. VirtualBox won’t boot a 64bits VM when Hyper-V is activated. Either use Hyper-V as a driver, or disable the Hyper-V hypervisor. (To skip this check, use --virtualbox-no-vtx-check)

C:\Sharath\Installations\KodeKloud\minikube>minikube delete

  • Removed all traces of the “minikube” cluster.

C:\Sharath\Installations\KodeKloud\minikube>minikube start --driver=hyperv

  • minikube v1.18.1 on Microsoft Windows 10 Pro 10.0.19041 Build 19041
  • Using the hyperv driver based on user configuration

X Exiting due to PROVIDER_HYPERV_NOT_RUNNING: Hyper-V requires Administrator privileges

  • Suggestion: Right-click the PowerShell icon and select Run as Administrator to open PowerShell in elevated mode.