Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not Able start Minikube. It is showing bellow error. Please Help!!!! #14788

Closed
soujatyabhat opened this issue Aug 13, 2022 · 1 comment
Closed

Comments

@soujatyabhat
Copy link

soujatyabhat commented Aug 13, 2022

What Happened?

Previously I was using Windows Version 19.04 . That time minikube was working fine . After Version update I'm facing this issue. I have already disable Hyper-V but Still showing this issue

Attach the log file

PS C:\Users\souja\Desktop\Flask-App> minikube start --driver=virtualbox --no-vtx-check
😄 minikube v1.26.0 on Microsoft Windows 10 Pro 10.0.19044 Build 19044
✨ Using the virtualbox driver based on user configuration
👍 Starting control plane node minikube in cluster minikube
🔥 Creating virtualbox VM (CPUs=2, Memory=2200MB, Disk=20000MB) ...
🔥 Deleting "minikube" in virtualbox ...
🤦 StartHost failed, but will try again: creating host: create: creating: Unable to start the VM: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe startvm minikube --type headless failed:
VBoxManage.exe: error: The virtual machine 'minikube' has terminated unexpectedly during startup with exit code -1073741819 (0xc0000005)VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine

😿 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\souja.minikube\machines\minikube\config.json: The system cannot find the file specified.

❌ Exiting due to GUEST_NOT_FOUND: Failed to start host: error loading existing host. Please try running [minikube delete], then run [mi
PS C:\Users\souja\Desktop\Flask-App> minikube start --driver=virtualbox --no-vtx-check
😄 minikube v1.26.0 on Microsoft Windows 10 Pro 10.0.19044 Build 19044
🎉 minikube 1.26.1 is available! Download it: https://github.com/kubernetes/minikube/releases/tag/v1.26.1
💡 To disable this notice, run: 'minikube config set WantUpdateNotification false'

✨ Using the virtualbox driver based on user configuration
💿 Downloading VM boot image ...
> minikube-v1.26.0-amd64.iso....: 65 B / 65 B [----------] 100.00% ? p/s 0s
> minikube-v1.26.0-amd64.iso: 268.86 MiB / 268.86 MiB 100.00% 4.83 MiB p/s
👍 Starting control plane node minikube in cluster minikube
💾 Downloading Kubernetes v1.24.1 preload ...
> preloaded-images-k8s-v18-v1...: 405.83 MiB / 405.83 MiB 100.00% 3.59 MiB
🔥 Creating virtualbox VM (CPUs=2, Memory=2200MB, Disk=20000MB) ...
🔥 Deleting "minikube" in virtualbox ...
🤦 StartHost failed, but will try again: creating host: create: creating: Unable to start the VM: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe startvm minikube --type headless failed:
VBoxManage.exe: error: The virtual machine 'minikube' has terminated unexpectedly during startup with exit code -1073741819 (0xc0000005)VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine

😿 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\souja.minikube\machines\minikube\config.json: The system cannot find the file specified.
PS C:\Users\souja\Desktop\Flask-App> minikube start --driver=virtualbox --no-vtx-check
😄 minikube v1.26.0 on Microsoft Windows 10 Pro 10.0.19044 Build 19044
✨ Using the virtualbox driver based on user configuration
👍 Starting control plane node minikube in cluster minikube
🔥 Creating virtualbox VM (CPUs=2, Memory=2200MB, Disk=20000MB) ...
🔥 Deleting "minikube" in virtualbox ...
🤦 StartHost failed, but will try again: creating host: create: creating: Unable to start the VM: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe startvm minikube --type headless failed:
VBoxManage.exe: error: The virtual machine 'minikube' has terminated unexpectedly during startup with exit code -1073741819 (0xc0000005)VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine

🔥 Creating virtualbox VM (CPUs=2, Memory=2200MB, Disk=20000MB) ...
😿 Failed to start virtualbox VM. Running "minikube delete" may fix it: creating host: create: creating: Unable to start the VM: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe startvm minikube --type headless failed:
VBoxManage.exe: error: The virtual machine 'minikube' has terminated unexpectedly during startup with exit code -1073741819 (0xc0000005)VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine

❌ Exiting due to GUEST_PROVISION: Failed to start host: creating host: create: creating: Unable to start the VM: C:\Program Files\Oracl
e\VirtualBox\VBoxManage.exe startvm minikube --type headless failed:
VBoxManage.exe: error: The virtual machine 'minikube' has terminated unexpectedly during startup with exit code -1073741819 (0xc0000005)VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine

Operating System

Windows

Driver

VirtualBox

@soujatyabhat
Copy link
Author

Issue Resolved by running following steps

  1. RUN bcdedit /set hypervisorlaunchtype off (Run this Command in CMD with Admin Privilege)
  2. Do Restart
  3. RUN minikube delete
  4. RUN minikube start
  5. To Validate RUN minikube IP

If you get IP as output the your issue got resolved.

If not please go through more troubleshoot technique mentioned in bellow LINK

#3900.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant