VirtualBox 错误:未安装内核驱动程序 (rc=-1908)(通过 crouton 在 chromebook 上运行 ubuntu 20.04)

Jac*_*nna 4 virtualbox kernel chroot

当我尝试在 VirtualBox 中启动虚拟机时,出现上述错误。我尝试了它要求我做的事情,但没有成功。我的内核版本是4.4.232。另外,这是错误消息:

The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please reinstall virtualbox-dkms package and load the kernel module by executing

'modprobe vboxdrv'

as root.

If your system has EFI Secure Boot enabled you may also need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system's documentation for more information.

where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT. 
Run Code Online (Sandbox Code Playgroud)

此外,它还给了我第二条错误消息:

The virtual machine 'linux 2' has terminated unexpectedly during startup with exit code 1 (0x1).


Result Code: 
NS_ERROR_FAILURE (0x80004005)
Component: 
MachineWrap
Interface: 
IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}
Run Code Online (Sandbox Code Playgroud)

是的,我正在尝试在 Linux 中运行 Linux,但我知道事实并非如此,因为我已经尝试过多个不同的虚拟机。另外,我在我的 chromebook 上运行 Ubuntu 20.04,所以如果这是问题所在,我想要一个解决方法。我在 howtogeek.com 上使用 crouton 进行了设置,如果有帮助的话。

我在 Ubuntu 16.04 和 Ubuntu 18.04 上遇到了相同的错误消息,所以版本不是问题。另外,我注意到在重新安装 virtualbox 时,终端提到我的内核版本可能属于 chroot 主机,所以这也可能是一个问题。如果我需要不同版本的 Linux 内核,我需要指导,因为它对我来说可能有所不同,因为我使用的是 chromebook。

对于任何像我一样尝试使用 crouton 在 chromebook 上运行 VirtualBox 并遇到相同错误的人,从我读到的内容来看,在某些设备上 chrome 操作系统内核不支持运行虚拟机。

小智 6

我有确切的问题。使用以下简单命令修复它

sudo apt update
sudo apt install virtualbox
Run Code Online (Sandbox Code Playgroud)

好处是我现有的机器从未受到影响;他们仍然工作得很好。