Problem
* [knative] minikube v1.28.0 on Microsoft Windows 10 Enterprise 10.0.19044 Build 19044
* Automatically selected the hyperv driver. Other choices: virtualbox, ssh
* Starting control plane node knative in cluster knative
* Creating hyperv VM (CPUs=3, Memory=3078MB, Disk=20000MB) ...
! StartHost failed, but will try again: creating host: create: precreate: Hyper-V PowerShell Module is not available
* Creating hyperv VM (CPUs=3, Memory=3078MB, Disk=20000MB) ...
* Failed to start hyperv VM. Running "minikube delete -p knative" may fix it: creating host: create: precreate: Hyper-V PowerShell Module is not available
! Startup with hyperv driver failed, trying with alternate driver virtualbox: Failed to start host: creating host: create: precreate: Hyper-V PowerShell Module is not available
! Failed to delete cluster knative, proceeding with retry anyway.
* Starting control plane node knative in cluster knative
* Creating virtualbox VM (CPUs=3, Memory=3078MB, Disk=20000MB) ...
! StartHost failed, but will try again: creating host: create: precreate: This computer doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory
* Creating virtualbox VM (CPUs=3, Memory=3078MB, Disk=20000MB) ...
* Failed to start virtualbox VM. Running "minikube delete -p knative" may fix it: creating host: create: precreate: This computer doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory
X Exiting due to PR_HYPERV_MODULE_NOT_INSTALLED: Failed to start host: creating host: create: precreate: Hyper-V PowerShell Module is not available
* Suggestion: Run: 'Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-Tools-All -All'
* Documentation: https://www.altaro.com/hyper-v/install-hyper-v-powershell-module/
* Related issue: https://github.com/kubernetes/minikube/issues/9040
Error: creating cluster: existing cluster: new cluster: minikube create: piping output: exit status 65
Usage:
kn-quickstart minikube [flags]
Solution
If you have already enabled the feature in the BIOS, make sure you did not enable the Windows Hyper-V feature as well. Otherwise VirtualBox will not run.
How to disable Hyper-V in command line?
In an elevated Command Prompt write this :
To disable:
$ bcdedit /set hypervisorlaunchtype off
To enable:
$ bcdedit /set hypervisorlaunchtype auto
(From comments - restart to take effect)

Powershell command
Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All

Latest posts by rajeshkumar (see all)
- Astropilot: Elevating Pilot Training to New Heights - December 28, 2024
- Discover Ranchi with Motoshare’s Bike and Car Rental Services - December 16, 2024
- Explore Mumbai with Motoshare’s Easy Bike and Car Rentals - December 16, 2024