Ubuntu下VirtualBox本来可以很好地用的,今天早上一来就报错了,……提示如下内容:
-------------------------------------------------------------------------
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 the kernel module by executing
'/etc/init.d/vboxdrv setup'
as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
解决方法:
这段提示让用户先安装 DKMS ,然后再执行 /dev/vboxdrv 如果没有权限,需要sudo
执行以下几个命令:
sudo apt-get install dkms sudo apt-get install linux-headers-`uname -r` build-essential sudo /etc/init.d/vboxdrv setup
附录:解决方法来自网络:http://forum.ubuntu.org.cn/viewtopic.php?f=169&t=314998
时间: 2024-09-23 23:10:27