Virtualbox报错------> '/etc/init.d/vboxdrv setup'
2024-10-20 11:54:26
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
最新文章
- Linux学习(CentOS-7)---磁盘分区(概念、分区方法、分区方案)
- 开发webservice的方式
- JavaScript代码优化指南
- LeetCode——Copy List with Random Pointer(带random引用的单链表深拷贝)
- 使用递归方法遍历TreeView的节点如配置则勾选
- mingw32-g++.exe: *: No such file or directory错误解决方法
- group By 和 Union 、 Union all的用法
- codeforces 165D.Beard Graph 解题报告
- [Polymer] Introduction
- xntp的配置
- Spring Boot实战:拦截器与过滤器
- js中一个对象当做参数传递时候?
- jenkins集成python时出现";Non-ASCII character '\xe6' in file";错误解决方法
- Linux运维(首页)
- axios 中文文档(转载)
- tp5 (layui )excel导入
- Unittest + python
- leetCode-linkedListCycle判断链表是否有环
- [转]JDK动态代理
- mybatis四大接口之 Executor