如何在 Ubuntu 中修复 VirtualBox 的 “Kernel driver not installed (rc=-1908)” 错
Ubuntu 如何 修复 not driver Kernel RC VirtualBox
2023-06-13 09:15:29 时间
我使用 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 中的 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}
启动期间虚拟机意外终止,退出代码为 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中国 荣誉推出
48351.html
linuxUbuntuVirtualBox虚拟机相关文章
- 如何用ubuntu命令打开pycharm_ubuntu安装pycharm教程
- ubuntu 卸载命令_Ubuntu怎么卸载
- docker创建的mysql连接不上_ubuntu docker
- ubuntu编译安卓源码_安卓源码编译环境
- Ubuntu 9.04
- Ubuntu救援模式emergency mode笔记
- Ubuntu远程连接MySQL(connection refused)解决方法
- 如何重新安装 Ubuntu Linux系统?
- ubuntu环境下如何修改的php相关路径和方法
- Ubuntu安装MySQL数据库的指南(ubuntu装mysql)
- 在ubuntu中安装filezilla
- Ubuntu 如何拨号上网 图示
- Ubuntu 上如何将 Mysql 5.5 数据库迁移到 MariaDB 10
- Docker:在 Ubuntu 15.04 上如何安装和基本用法
- 如何在Ubuntu 18.04上安装Koel Music Streaming Server
- 如何在Ubuntu 18.04 LTS上安装和配置Mantis Bug Tracker
- 如何将您的Android手机无线连接到Ubuntu
- 如何在Ubuntu 18.04 LTS上安装LimeSurvey
- Ubuntu如何开启Linux之旅(ubuntu与linux)
- 如何在 Ubuntu 上设置时间同步
- 如何在 Ubuntu 和其他 Linux 发行版中启动、停止和重启服务
- 如何在 Ubuntu 中更改默认终端
- Pop!_OS 20.04 点评:最好的基于 Ubuntu 的发行版变得更好了
- 如何在 Ubuntu 20.04 上禁用坞站(dock)
- 如何修复 Ubuntu Linux 中的 “Release file is not valid yet” 错误
- 如何在 Ubuntu Linux 上安装 Zlib
- Ubuntu中使用Redis缓存数据库的完整指南(ubunturedis)
- 在VPS上用3Proxy架设http代理和socks代理(Ubuntu环境)