Virtualbox报错------> '/etc/init.d/vboxdrv setup'

简介: Ubuntu下VirtualBox本来可以很好地用的,今天早上一来就报错了,……提示如下内容: ------------------------------------------------------------------------- Kernel...

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

相关文章
|
3月前
|
Linux iOS开发 MacOS
pnpm全局安装报错:Run “pnpm setup“ to create it automatically, or set the global-bin-dir setting, or the PN
pnpm全局安装报错:Run “pnpm setup“ to create it automatically, or set the global-bin-dir setting, or the PN
504 0
|
5月前
npm run dev启动报错:Error: Cannot find module 'semver'
npm run dev启动报错:Error: Cannot find module 'semver'
99 0
|
8天前
|
Python
IDA3.12版本的python,依旧报错IDAPython: error executing init.py.No module named ‘impRefer to the message win
IDA3.12版本的python,依旧报错IDAPython: error executing init.py.No module named ‘impRefer to the message win
|
5月前
|
JavaScript 前端开发 测试技术
npm run dev启动报错:TypeError: Cannot read property 'upgrade' of undefined
npm run dev启动报错:TypeError: Cannot read property 'upgrade' of undefined
98 0
|
8月前
|
前端开发
npm install 命令使用区别(-S,-D,-g,--save,--save-dev)
npm install 命令使用区别(-S,-D,-g,--save,--save-dev)
180 0
|
Linux
LINUX虚拟机安装增强功能时报错: Kernel headers not found for target kernel. Please install them and execute
LINUX虚拟机安装增强功能时报错: Kernel headers not found for target kernel. Please install them and execute
269 0
|
Linux 网络虚拟化
ROS安装遇到 sudo rosdep init 与rosdep update出现error loading sources list
ROS安装遇到 sudo rosdep init 与rosdep update出现error loading sources list
227 0
ROS安装遇到 sudo rosdep init 与rosdep update出现error loading sources list
|
Python
python报错——Command “python setup.py egg_info“ failed with error code 1 in /tmp/pip-build-wq8dcdx6/cry
python报错——Command “python setup.py egg_info“ failed with error code 1 in /tmp/pip-build-wq8dcdx6/cry
501 0
python报错——Command “python setup.py egg_info“ failed with error code 1 in /tmp/pip-build-wq8dcdx6/cry
|
Java
hybris安装执行install.sh -r b2c_acc initialize遇到build错误 8983端口
hybris安装执行install.sh -r b2c_acc initialize遇到build错误 8983端口
147 0