【问题标题】:Failed to start minikube with virtualbox driver on ubuntu 20.04无法在 ubuntu 20.04 上使用 virtualbox 驱动程序启动 minikube
【发布时间】:2021-03-12 05:43:33
【问题描述】:

我正在尝试使用命令“minikube start --vm-driver=virtualbox”启动 minikube。在我安装适用于 Linux(ubuntu 20.04)的 VirtualBox 6.1.18 之前。但是当我运行启动命令时,shell 会抛出一个错误。谁能帮我解决这个问题

非常感谢!!!

 StartHost failed, but will try again: creating host: create: creating: Unable to start the VM: /usr/bin/VBoxManage startvm minikube --type headless failed:
VBoxManage: error: AMD-V is disabled in the BIOS (or by the host OS) (VERR_SVM_DISABLED)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole

Details: 00:00:00.173843 Power up failed (vrc=VERR_SVM_DISABLED, rc=NS_ERROR_FAILURE (0X80004005))
????  Creating virtualbox VM (CPUs=2, Memory=3900MB, Disk=20000MB) ...
????  Failed to start virtualbox VM. Running "minikube delete" may fix it: creating host: create: creating: Unable to start the VM: /usr/bin/VBoxManage startvm minikube --type headless failed:
VBoxManage: error: AMD-V is disabled in the BIOS (or by the host OS) (VERR_SVM_DISABLED)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole

Details: 00:00:00.172445 Power up failed (vrc=VERR_SVM_DISABLED, rc=NS_ERROR_FAILURE (0X80004005))

❌  Exiting due to HOST_SVM_DISABLED: Failed to start host: creating host: create: creating: Unable to start the VM: /usr/bin/VBoxManage startvm minikube --type headless failed:
VBoxManage: error: AMD-V is disabled in the BIOS (or by the host OS) (VERR_SVM_DISABLED)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole

Details: 00:00:00.172445 Power up failed (vrc=VERR_SVM_DISABLED, rc=NS_ERROR_FAILURE (0X80004005))
????  Suggestion: Your host does not support virtualization. If you are running minikube within a VM, try '--driver=docker'. Otherwise, enable virtualization in your BIOS
????  Related issue: https://github.com/kubernetes/minikube/issues/7074

【问题讨论】:

    标签: docker kubernetes


    【解决方案1】:

    这通常是由于您的机器的 bios 中禁用了虚拟化而导致 VirtualBox 无法正常启动。通常您只需要输入您的 BIOS 设置并启用安全虚拟机模式
    详情请查看此帖https://appuals.com/fix-amd-v-is-disabled-in-the-bios-verr_svm_disabled/

    【讨论】:

      【解决方案2】:

      通常您只需要输入您的 BIOS 设置并启用安全虚拟机模式

      就像你说的那样。我必须进入主板BIOS的高级配置并启用安全虚拟机模式。

      谢谢

      【讨论】:

        猜你喜欢
        • 2020-10-22
        • 2021-03-31
        • 2019-06-20
        • 2019-08-13
        • 1970-01-01
        • 2020-10-05
        • 1970-01-01
        • 2021-11-11
        • 1970-01-01
        相关资源
        最近更新 更多