Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error while installing minishift: Checking if Hyper-V driver is installed ... FAIL

Tags:

minishift

I've been following the steps to install minishift on my local machine. All the commands seem to work correctly until I get to the point where I need to create a virtual switch and set HyperV as the default driver. I followed the steps to create a virtual switch called "External VM Switch". When I try to start minishift, I'm always getting a FAIL when it checks if the 'Hyper-V driver is installed'. I've followed the steps on the suggested documentation but even after completing them I am still getting the same error when I try to start minishift.

PS C:\WINDOWS\system32> minishift config set vm-driver hyperv
No Minishift instance exists. New 'vm-driver' setting will be applied on next 'minishift start'

PS C:\WINDOWS\system32> minishift start --hyperv-virtual-switch "External VM Switch"
-- Starting profile 'minishift'
-- Check if deprecated options are used ...
   Use of HYPERV_VIRTUAL_SWITCH has been deprecated
   Please use: minishift config set hyper-virtual-switch External
FAIL

-- Checking if https://github.com is reachable ... OK
-- Checking if requested OpenShift version 'v3.9.0' is valid ... OK
-- Checking if requested OpenShift version 'v3.9.0' is supported ... OK
-- Checking if requested hypervisor 'hyperv' is supported on this platform ... OK
-- Checking if Hyper-V driver is installed ... FAIL
   See the 'Setting Up the Virtualization Environment' topic (https://docs.openshift.org/latest/minishift/getting-started/setting-up-virtualization-environment.html) for more information

Added External VM Switch

like image 963
Flethuseo Avatar asked Jul 01 '26 16:07

Flethuseo


2 Answers

Was having [Virtual Switch Not Found] error - turned out I needed to add my user id to the HyperV Administrators group using Edit Local users and Groups snap-in. Logged out and after logging back in and the issue was resolved.

like image 90
parry Avatar answered Jul 07 '26 17:07

parry


Launching the windows command prompt in administrator mode will solve the problem

launch your cmd in administrator mode
and issue the command

minishift config set hyperv-virtual-switch "External VM Switch"
like image 34
Dickens A S Avatar answered Jul 07 '26 19:07

Dickens A S



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!