AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 1129880
Accepted
Adam
Adam
Asked: 2019-03-31 02:43:29 +0800 CST2019-03-31 02:43:29 +0800 CST 2019-03-31 02:43:29 +0800 CST

未为内核 5.0.5 加载 vboxdrv 内核模块

  • 772

我已经安装了内核 5.0.5-050005-generic,因为我遇到了启动问题。

现在,当我运行时,vagrant up我收到以下消息:

VirtualBox 抱怨内核模块未加载。请运行VBoxManage --version或打开 VirtualBox GUI 以查看错误消息,其中应包含有关如何修复此错误的说明。

然后我做了什么:

adam@adam-MS-7A63:~/Programme/homestead$ VBoxManage --version
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (5.0.5-050005-generic) or it failed to
         load. Please recompile the kernel module and install it by

           sudo /sbin/vboxconfig

         You will not be able to start VMs until this problem is fixed.
6.0.2r128162

接下来我尝试按照建议重新编译:

adam@adam-MS-7A63:~/Programme/homestead$ sudo /sbin/vboxconfig
[sudo] password for adam: 
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: failed: Look at /var/log/vbox-setup.log to find out what went wrong.

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig
as root.

我将日志文件中的内容放在 Ubuntu Pastebin 中,因为如果我将其粘贴到此处的代码块中,我会超出允许的正文限制。

我还按照https://askubuntu.com/a/779427/247771的建议禁用了安全启动,但它没有改变任何东西。

任何建议如何解决这个问题?

18.04
  • 2 2 个回答
  • 5024 Views

2 个回答

  • Voted
  1. Best Answer
    marko
    2019-03-31T02:52:03+08:002019-03-31T02:52:03+08:00

    这是任何新内核版本的正常行为,现有内核对象/模块在更新并与您正在运行的内核兼容之前将无法工作。

    • 4
  2. Nisankh Acharjya
    2019-04-02T00:17:26+08:002019-04-02T00:17:26+08:00

    你需要安装 Virtualbox 版本 6.0.4 ,如果你使用 Ubuntu 存储库安装 VirtualBox,它将无法与内核 5.0.5 一起正常工作

    使用 Oracle Virtual-box 存储库并安装 Virtualbox 6.0.4

    • 0

相关问题

  • Ubuntu 16.10 及更高版本中的 Nautilus 功能“创建链接”发生了什么变化?

  • 使用标准接口(使用 mimetype)以编程方式修改文件关联

  • 我可以从 Evince 拖放到 Thunderbird 吗?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve