【问题标题】:VirtualBox VERR_VM_DRIVER_VERSION_MISMATCH on UbuntuUbuntu 上的 VirtualBox VERR_VM_DRIVER_VERSION_MISMATCH
【发布时间】:2016-12-14 15:27:16
【问题描述】:

我尝试在 Ubuntu 14.04 上安装 VirtualBox。我已经从 Ubuntu 存储库安装了 VirtualBox:

sudo apt-get install virtualbox

然后我将我的用户添加到 vboxusers:

sudo usermod -G vboxusers -a user

我还为我的 vb vsion 安装了一个额外的包:

wget http://download.virtualbox.org/virtualbox/5.0.10/Oracle_VM_VirtualBox_Extension_Pack-4.3.36-105129.vbox-extpack

sudo vboxmanage extpack install Oracle_VM_VirtualBox_Extension_Pack-5.0.10-104061.vbox-extpack

但是当我尝试启动 vm 时,我得到一个错误:

RTR3InitEx failed with rc=-1912 (rc=-1912)The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing  '/etc/init.d/vboxdrv setup'may correct this. Make sure that you do not mix the OSE version and the PUEL version of VirtualBox.

where: supR3HardenedMainInitRuntime
what:  4
VERR_VM_DRIVER_VERSION_MISMATCH (-1912) - The installed support driver doesn't match the version of the user.

我没有/etc/init.d/vboxdrv 文件。 我该如何解决这个问题?

【问题讨论】:

标签: ubuntu-14.04 virtualbox


【解决方案1】:

我已经删除了所有的virualbox包:

sudo apt-get purge 'virtualbox*'

然后我安装了 virtualbox v.5

sudo apt-get install virtualbox-5.0

之后,我在 BIOS 中启用了虚拟化。 现在可以了。

【讨论】:

    【解决方案2】:

    检查你安装的 virtualbox 版本

    dpkg --list 'virtualbox*'
    

    可能与扩展包不一致。

    删除您的安装

    sudo apt-get autoremove 'virtualbox*'
    

    不要从 Ubuntu 存储库安装,而是按照 official Oracle Virtualbox Download page 关于基于 Debian 的 Linux 发行版的说明运行全新安装。

    在安装扩展包之前检查 Virtualbox 是否正在运行。

    【讨论】:

    • 我的情况:我有混合版本 6.1.2 但其他版本为 5.2.34,所以: «sudo apt remove virtualbox-guest-utils» «sudo apt remove virtualbox-guest-x11» «sudo apt删除 virtualbox-qt» 并修复! (谢谢!)
    • 谢谢,这似乎有效。由于尝试通过 apt-get 安装 virtualbox,我也有混合版本,后来通过官方下载的 .deb 安装了它。删除旧版本并安装下载的 .deb 似乎工作正常
    【解决方案3】:

    我在 ubuntu 16.4 中启动 vm 客户端时遇到了同样的错误。

    巧合的是,我在文件 /var/crash/_usr_lib_virtualbox_VirtualBox.0.crash 中注意到以下消息:

    标题:VirtualBox 在 QMessageLogger::fatal() 中使用 SIGABRT 崩溃 UnreportableReason: Sie haben einige veraltete Paketversionen 安装程序。 Bitte aktualisieren Sie die folgenen Pakete und prüfen Sie, ob das Problem danach noch auftritt:

    虚拟机-dkms

    翻译:您安装了一些过时的软件包版本。请更新以下软件包并检查,如果之后问题仍然存在:

    命令后:

    sudo apt-get install --only-upgrade virtualbox-dkms
    

    一切正常 :)

    【讨论】:

    • 真的很有帮助,这是唯一对我有用的东西。谢谢!
    • 这对我有用,我使用的是 Ubuntu 18.04,并且我为 minikube 和 GUI 应用程序安装了 Virtualbox。运行唯一的升级然后运行sudo /sbin/vboxconfig 后解决了
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-10-11
    • 2017-08-23
    • 1970-01-01
    • 2015-01-24
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多