-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Could not get the storage format of the medium 'boot2docker.iso' (VERR_NOT_SUPPORTED) #4992
Comments
Looks like the boot2docker.iso file got truncated or corrupted ? Try replacing it with a fresh copy...
There should be one in the cache folder, or download a new one from the github release page. |
Agreed. Do you mind sharing the result of:
This is likely solvable by running |
Apparently one major difference with go-getter (vs go-download) is that it does not use temp files... So if you have a partial aborted download, you will be stuck with it "forever". And no checksums left. This is a design flaw (or two) in the library, but also in our use of it.
i.e. it is never used the second time, and minikube only checks existance. |
Ouch. That's a really bad regression and such a terrible default that I didn't believe you at first, but it's true:
|
Apparently, this is partially our fault: our code asserts that if the file exists, it must be valid. When we remove this shortcut, |
Thanks for fixing, should be OK to only check the checksum once - when downloading to a temp file. |
For me, deleting the |
If you run into this, I highly recommended:
@aparsons - Deleting the entire minikube directory is not recommended, particularly if you have not deleted all the VM's referenced by the existing configuration, as it will leave dangling VM state within your hypervisor. |
💣 Unable to start VM: create: creating: /usr/bin/VBoxManage storageattach minikube --storagectl SATA --port 0 --device 0 --type dvddrive --medium /home/behpand/.minikube/machines/minikube/boot2docker.iso failed:
VBoxManage: error: Could not get the storage format of the medium '/home/behpand/.minikube/machines/minikube/boot2docker.iso' (VERR_NOT_SUPPORTED)
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component MediumWrap, interface IMedium, callee nsISupports
VBoxManage: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 179 of file VBoxManageDisk.cpp
VBoxManage: error: Invalid UUID or filename "/home/behpand/.minikube/machines/minikube/boot2docker.iso"
😿 Sorry that minikube crashed. If this was unexpected, we would love to hear from you:
👉 https://github.com/kubernetes/minikube/issues/new/choose
The text was updated successfully, but these errors were encountered: