minishift: Unable to start minishift on Windows 10 with VirtualBox driver

I tried to use Minishift on my Windows10+Virtualbox machine. It seems to be broken starting v0.5.0+.

Here what is get for minishift start --vm-driver=virtualbox on v0.4.1

Jeff MAURY@DESKTOP-VM3C7S5 MINGW64 /c/Apps/minishift/0.4.1
$ ./minishift.exe start --vm-driver=virtualbox
Starting local OpenShift cluster...
oc is now configured to use the cluster.
Run this command to use the cluster:
oc login --username=admin --password=admin

Here what is get for minishift start --vm-driver=virtualbox on v0.5.0

Jeff MAURY@DESKTOP-VM3C7S5 MINGW64 /c/Apps/minishift/0.5.0
$ ./minishift.exe start --vm-driver=virtualbox
Starting local OpenShift cluster...
E1125 11:21:29.360900   15452 start.go:89] Error starting host: Error getting state for host: machine does not exist. Retrying.
E1125 11:21:29.413437   15452 start.go:89] Error starting host: Error getting state for host: machine does not exist. Retrying.
E1125 11:21:29.467488   15452 start.go:89] Error starting host: Error getting state for host: machine does not exist. Retrying.
E1125 11:21:29.467488   15452 start.go:95] Error starting host:  Error getting state for host: machine does not exist
Error getting state for host: machine does not exist
Error getting state for host: machine does not exist

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 50 (36 by maintainers)

Commits related to this issue

Most upvoted comments

Thanks @jwfang , running it from C: directly fixing the issue. @budhrg I think this should be mentioned in the documentation clearly, 1-copy minishift.exe to drive c: 2- run it from cmd >> c:\minishift start --vm-driver=virtualbox

lastest minishift won’t started, need run from C: drive. may need to update the docs ?

i found the hint here: https://bierkowski.com/minishift-setup-on-windows/

PS D:\tmp\ms> .\minishift.exe config set vm-driver virtualbox
No Minishift instance exists. New vm-driver setting will be applied on next 'minishift start'
PS D:\tmp\ms> .\minishift.exe config set vm-driver virtualbox
No Minishift instance exists. New vm-driver setting will be applied on next 'minishift start'
PS D:\tmp\ms> .\minishift.exe config view
- vm-driver            : virtualbox
PS D:\tmp\ms> .\minishift.exe start
Starting local OpenShift cluster using 'virtualbox' hypervisor...
E0516 16:49:56.622027   13200 start.go:171] Error starting the VM: Error creating the VM. Error creating machine: Error in driver during machine creation: open /Users/jamesf/.minishift/cache/iso/minishift-b2d.iso: The system cannot find the path specified.. Retrying.
E0516 16:49:56.678979   13200 start.go:171] Error starting the VM: Error getting the state for host: machine does not exist. Retrying.
E0516 16:49:56.731803   13200 start.go:171] Error starting the VM: Error getting the state for host: machine does not exist. Retrying.
Error starting the VM:  Error creating the VM. Error creating machine: Error in driver during machine creation: open /Users/jamesf/.minishift/cache/iso/minishift-b2d.iso: The system cannot find the path specified.
Error getting the state for host: machine does not exist
Error getting the state for host: machine does not exist
PS D:\tmp\ms> .\minishift.exe delete
Deleting the Minishift VM...
Minishift VM deleted.
PS D:\tmp\ms> cd c:
PS C:\Users\jamesf> D:\tmp\ms\minishift.exe start
Starting local OpenShift cluster using 'virtualbox' hypervisor...
Downloading OpenShift binary 'oc' version 'v1.5.0'
 19.05 MB / 19.05 MB [=============================================================================================================================================================================================================] 100.00% 0s -- Checking OpenShift client ... OK
-- Checking Docker client ... OK
-- Checking Docker version ... OK
-- Checking for existing OpenShift container ... OK
-- Checking for openshift/origin:v1.5.0 image ...
   Pulling image openshift/origin:v1.5.0
   Pulled 0/3 layers, 3% complete
   Pulled 0/3 layers, 5% complete