公告:魔扣目录网为广大站长提供免费收录网站服务,提交前请做好本站友链:【 网站目录:https://www.morko.net 】, 免友链快审服务(50元/站),

点击这里在线咨询客服
新站提交
  • 网站:51998
  • 待审:31
  • 小程序:12
  • 文章:1030137
  • 会员:747

如何在 Ubuntu 中修复 VirtualBox 的“rc=-1908”错误

 

仔细阅读这两个错误消息后,我意识到我应该更新 Virtualbox 程序。

-- Sk(作者)

我使用 Oracle VirtualBox 来测试各种 linux 和 Unix 发行版。到目前为止,我已经在 VirtualBox 中测试了上百个虚拟机。今天,我在我的 Ubuntu 18.04 桌面上启动了 Ubuntu 18.04 服务器版虚拟机,我收到了以下错误。

Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall virtualbox-dkms package and load the kernel module by executing
'modprobe vboxdrv'
as root.
where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.

 

如何在 Ubuntu 中修复 VirtualBox 的“rc=-1908”错误

Ubuntu 中的 “Kernel driver not installed (rc=-1908)

 

我点击了 OK 关闭消息框,然后在后台看到了另一条消息。

Failed to open a session for the virtual machine Ubuntu 18.04 LTS Server.
The virtual machine 'Ubuntu 18.04 LTS Server' has terminated unexpectedly during startup with exit code 1 (0x1).
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
MachineWrap
Interface:
IMachine {85cd948e-a71f-4289-281e-0ca7ad48cd89}

 

如何在 Ubuntu 中修复 VirtualBox 的“rc=-1908”错误

启动期间虚拟机意外终止,退出代码为 1(0x1)

 

我不知道该先做什么。我运行以下命令来检查是否有用。

$ sudo modprobe vboxdrv

我收到了这个错误:

modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/5.0.0-23-generic

仔细阅读这两个错误消息后,我意识到我应该更新 Virtualbox 程序。

如果你在 Ubuntu 及其衍生版(如 Linux Mint)中遇到此错误,你只需使用以下命令重新安装或更新 virtualbox-dkms 包:

$ sudo apt install virtualbox-dkms

或者,最好更新整个系统:

$ sudo apt upgrade

错误消失了,我可以正常在 VirtualBox 中启动虚拟机了。


via: https://www.ostechnix.com/how-to-fix-kernel-driver-not-installed-rc-1908-virtualbox-error-in-ubuntu/

作者: sk 选题: lujun9972 译者: geekpi 校对: wxy

本文由 LCTT 原创编译, Linux中国 荣誉推出

分享到:
标签:rc
用户无头像

网友整理

注册时间:

网站:5 个   小程序:0 个  文章:12 篇

  • 51998

    网站

  • 12

    小程序

  • 1030137

    文章

  • 747

    会员

赶快注册账号,推广您的网站吧!
最新入驻小程序

数独大挑战2018-06-03

数独一种数学游戏,玩家需要根据9

答题星2018-06-03

您可以通过答题星轻松地创建试卷

全阶人生考试2018-06-03

各种考试题,题库,初中,高中,大学四六

运动步数有氧达人2018-06-03

记录运动步数,积累氧气值。还可偷

每日养生app2018-06-03

每日养生,天天健康

体育训练成绩评定2018-06-03

通用课目体育训练成绩评定