Minikube fails on start, missing file

Hello,

I am noob to K8s. First time setting up a minikube lab on my windows 10 pro with a virtual box driver.

However, when i run # minicube start, i get the below error:— (highlighted some lines which I think is important)

PS C:\Users\Me> minikube start

  • minikube v1.34.0 on Microsoft Windows 10 Pro 10.0.19045.4894 Build 19045.4894

  • Automatically selected the virtualbox driver

  • Downloading VM boot image …

    minikube-v1.34.0-amd64.iso…: 65 B / 65 B [---------] 100.00% ? p/s 0s
    minikube-v1.34.0-amd64.iso: 333.55 MiB / 333.55 MiB 100.00% 16.50 MiB p

  • Starting “minikube” primary control-plane node in “minikube” cluster

  • Downloading Kubernetes v1.31.0 preload …

    preloaded-images-k8s-v18-v1…: 326.69 MiB / 326.69 MiB 100.00% 16.43 M

  • Creating virtualbox VM (CPUs=2, Memory=4000MB, Disk=20000MB) …
    *** Deleting “minikube” in virtualbox …**
    ! StartHost failed, but will try again: creating host: create: creating: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe modifyvm minikube --firmware bios --bioslogofadein off --bioslogofadeout off --bioslogodisplaytime 0 --biosbootmenu disabled --ostype Linux26_64 --cpus 2 --memory 4000 --acpi on --ioapic on --rtcuseutc on --natdnshostresolver1 on --natdnsproxy1 off --cpuhotplug off --pae on --hpet on --hwvirtex on --nestedpaging on --largepages on --vtxvpid on --accelerate3d off --boot1 dvd –natlocalhostreachable1 on failed:
    VBoxManage.exe: error: The graphics controller does not support the given feature
    VBoxManage.exe: error: Details: code VBOX_E_NOT_SUPPORTED (0x80bb0009), component GraphicsAdapterWrap, interface IGraphicsAdapter, callee IUnknown
    VBoxManage.exe: error: Context: “SetFeature(GraphicsFeature_Acceleration3D, ValueUnion.f)” at line 1108 of file VBoxManageModifyVM.cpp

  • Failed to start virtualbox VM. Running “minikube delete” may fix it: error loading existing host. Please try running [minikube delete], then run [minikube start] again: filestore “minikube”: open C:\Users\Me.minikube\machines\minikube\config.json: The system cannot find the file specified.

X Exiting due to GUEST_NOT_FOUND: Failed to start host: error loading existing host. Please try running [minikube delete], then run [minikube start] again: filestore “minikube”: open C:\Users\Me.minikube\machines\minikube\config.json: The system cannot find the file specified.

I have checked other site for a solution but, found none which works. I have run:

PS C:\Users\Me> minikube delete
PS C:\Users\Me> minikube delete --all --purge
PS C:\Users\Me> minikube start --driver=virtualbox

Copied a config.json file over to the minikube path on my PC from below link, not sure what changes needs to be made on the json file specific to my environment:

None of these work.

I am following a study material from KodeKloud but, in that the instructors uses Linux.

Any assistance is very much appreciated.

Thank you.

Hi @Psyconaut

Minikube has pretty good documentation for installation on all the important OS’s including Windows.
Would this be of any help to you?

And this one specific for VirtualBox

Thank you for the quick reply.

I have already refered those docs and run those steps but, it still fails.

PS C:\Users\Me> minikube start --driver=virtualbox

  • minikube v1.34.0 on Microsoft Windows 10 Pro 10.0.19045.4894 Build 19045.4894

  • Using the virtualbox driver based on user configuration

  • Starting “minikube” primary control-plane node in “minikube” cluster

  • Creating virtualbox VM (CPUs=2, Memory=4000MB, Disk=20000MB) …

  • Deleting “minikube” in virtualbox
    ! StartHost failed, but will try again: creating host: create: creating: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe modifyvm minikube --firmware bios --bioslogofadein off --bioslogofadeout off --bioslogodisplaytime 0 --biosbootmenu disabled --ostype Linux26_64 --cpus 2 --memory 4000 --acpi on --ioapic on --rtcuseutc on --natdnshostresolver1 on --natdnsproxy1 off --cpuhotplug off --pae on --hpet on --hwvirtex on --nestedpaging on --largepages on --vtxvpid on --accelerate3d off --boot1 dvd --natlocalhostreachable1 on failed:
    VBoxManage.exe: error: The graphics controller does not support the given feature
    VBoxManage.exe: error: Details: code VBOX_E_NOT_SUPPORTED (0x80bb0009), component GraphicsAdapterWrap, interface IGraphicsAdapter, callee IUnknown
    VBoxManage.exe: error: Context: “SetFeature(GraphicsFeature_Acceleration3D, ValueUnion.f)” at line 1108 of file VBoxManageModifyVM.cpp

  • Failed to start virtualbox VM. Running “minikube delete” may fix it: error loading existing host. Please try running [minikube delete], then run [minikube start] again: filestore “minikube”: open C:\Users\Me.minikube\machines\minikube\config.json: The system cannot find the file specified.

X Exiting due to GUEST_NOT_FOUND: Failed to start host: error loading existing host. Please try running [minikube delete], then run [minikube start] again: filestore “minikube”: open C:\Users\Me.minikube\machines\minikube\config.json: The system cannot find the file specified.

Looks like the issue starts when the program starts deleting the minikube from virtual box. Not sure why it is doing that.

Can you confirm the Virtualbox version?

By viewing your logs, it appears there might be some issue with your Graphics dirver.

Virtual Box is at 7.1.0 r164728.

So, I tried installing minikube on a docker driver and it worked. I have 0 exp on docker so, didnt really want to go that way. However, the doc recommends docker driver so, installed it and now it works. Most likely will need to setup a proxy for the minikube container to talk outside.

May be a compatibility issue between virtualbox, minikube and windows 10pro was causing the issue.

Thank you