首页 > 解决方案 > ubuntu 18 中的 Minikube 32 位安装问题

问题描述

我无法在 ubuntu 18.04 上安装 32 位 minikube。现在只需要一个解决方案,我可以以某种方式安装 32 minikube insde 我的 GUEST 以便我可以运行它。因为现在我不能双启动我的主机。虽然双引导最终会解决我知道的问题。我可以通过调整 HOST virtualbox 的设置来启用 GUEST 虚拟化吗?

塞纳里奥

HOST [windows 7 64-bit]
GUEST [ ubuntu 18.04 64-bit]

遵循的步骤

1. Installed 64 bit virtual box inside my HOST. 
2. Installed GUEST in Virtual box ( in HOST as a vm ).
3. Installed Virutal box inside my GUEST (virtual box only shows 32-bit os due to inside vm nested virtualization not supported AFAIK ). 
4. installed kubectl in GUEST.
5. Downloaded minikube for GUEST  (but downloaded 64-bit minikube [LINK](https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64) 
 because did not found 32 bit image. I do know it will not work because it is 64-bit which will not work on 32-bit architecture in my case).
start minikube

以下是在 GUEST 中运行上述命令后的日志

* minikube v1.2.0 on linux (amd64)
* Downloading Minikube ISO ...
 129.33 MB / 129.33 MB [============================================] 100.00% 0s
* Creating virtualbox VM (CPUs=2, Memory=2048MB, Disk=20000MB) ...
E0702 00:59:42.328274    7241 start.go:559] StartHost: create: precreate: This computer doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory

X Unable to start VM
* Error:         [VBOX_VTX_DISABLED] create: precreate: This computer doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory
* Advice:        In some environments, this message is incorrect. Try 'minikube start --no-vtx-check'
* Related issues:
  - https://github.com/kubernetes/minikube/issues/3900

* If the above advice does not help, please let us know:
  - https://github.com/kubernetes/minikube/issues/new

标签: linuxvirtualboxubuntu-18.0432-bitminikube

解决方案


您需要在 BIOS 中启用虚拟扩展。重新启动您的计算机,进入 BIOS 设置(通常您需要按特定的键,如 Delete 或 F2 或其他方式才能发生这种情况),然后启用扩展。


推荐阅读