VirtualBox 安装给出消息“modprobe vboxdrv”失败

Kap*_*pil 11 virtualbox modprobe

VirtualBox 安装给出消息

sudo modprobe vboxdrv
modprobe: FATAL: Module vboxdrv not found.
Run Code Online (Sandbox Code Playgroud)

我已经更新了系统

sudo apt-get update
Run Code Online (Sandbox Code Playgroud)

跟着

reboot
Run Code Online (Sandbox Code Playgroud)

Ubuntu 版本:14.04 LTS

我尝试使用 GDebi 软件包安装程序进行安装,消息是-

Selecting previously unselected package virtualbox-5.1.
(Reading database ... 800789 files and directories currently installed.)
Preparing to unpack .../virtualbox-5.1_5.1.0-108711~Ubuntu~trusty_amd64.deb ...
Unpacking virtualbox-5.1 (5.1.0-108711~Ubuntu~trusty) ...
Setting up virtualbox-5.1 (5.1.0-108711~Ubuntu~trusty) ...
addgroup: The group `vboxusers' already exists as a system group. Exiting.
vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig
as root.
vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Run Code Online (Sandbox Code Playgroud)

另一个尝试:我从 BIOS 禁用了安全启动并遵循

apt-get update
apt-get install linux-headers-$(uname -r)
dpkg-reconfigure virtualbox-dkms
modprobe vboxdrv 
Run Code Online (Sandbox Code Playgroud)

现在 modprobe vboxdrv 工作正常。所以我用 GDebi Package Installer安装了 VirtualBox 文件 - virtualbox-5.1_5.1.0-108711~Ubuntu~trusty_amd64.deb。现在,当我启动 VirtualBox 并启动一台机器时,它显示以下错误-

**RTR3InitEx failed with rc=-1912 (rc=-1912)**

 The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing

'/sbin/vboxconfig'

may correct this. Make sure that you do not mix the OSE version and the PUEL version of VirtualBox.

where: supR3HardenedMainInitRuntime what: 4 VERR_VM_DRIVER_VERSION_MISMATCH (-1912) - The installed support driver doesn't match the version of the user. 
Run Code Online (Sandbox Code Playgroud)

小智 17

这帮助了我:

apt-get update
apt-get install linux-headers-$(uname -r)
dpkg-reconfigure virtualbox-dkms
modprobe vboxdrv 
Run Code Online (Sandbox Code Playgroud)

  • 抱歉没用 (2认同)