Linux中國

如何在 Ubuntu 中修復 VirtualBox 的 「Kernel driver not installed (rc=-1908)」 錯

我使用 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中國 榮譽推出


本文轉載來自 Linux 中國: https://github.com/Linux-CN/archive

對這篇文章感覺如何?

太棒了
0
不錯
0
愛死了
0
不太好
0
感覺很糟
0
雨落清風。心向陽

    You may also like

    Leave a reply

    您的郵箱地址不會被公開。 必填項已用 * 標註

    這個站點使用 Akismet 來減少垃圾評論。了解你的評論數據如何被處理

    More in:Linux中國

    Linux中國

    關於Linux防火牆iptables的面試問答

    Nishita Agarwal是Tecmint的用戶,她將分享關於她剛剛經歷的一家公司(印度的一家私人公司Pune)的面試經驗。在面試中她被問及許多不同的問題,但她是iptables方面的專家,因此她想分享這些關於iptables的問題和相應的答案給那些以後可能會進行相關面試的人。 所有的問題和相應的答案都基於Nishita Agarwal的記憶並經過了重寫。 嗨,朋友!我叫Nishita Agarwal。我已經取得了理學學士學位,我的專業集中在UNIX和它的變種(BSD,Linux)。它們一直深深的吸引著我。我在存儲方面有1年多的經驗。我正在尋求職業上的變化,並將供職於印度的P
    Linux中國

    Lets Encrypt 已被所有主流瀏覽器所信任

    旨在讓每個網站都能使用 HTTPS 加密的非贏利組織 Lets Encrypt 已經得了 IdenTrust的交叉簽名,這意味著其證書現在已經可以被所有主流的瀏覽器所信任。從這個裡程碑事件開始,訪問者訪問使用了Lets Encrypt 證書的網站不再需要特別配置就可以得到 HTTPS 安全保護了。 Lets Encrypt 的兩個中級證書 ...
    Linux中國

    SSL/TLS 加密新紀元 – Lets Encrypt

    根據 Let's Encrypt 官方博客消息,Let's Encrypt 服務將在下周(11 月 16 日)正式對外開放。 Let's Encrypt 項目是由互聯網安全研究小組(ISRG,Internet Security Research Group)主導並開發的一個新型數字證書認證機構(CA,Certificate ...