首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >内核和DKMS Virtualbox错误

内核和DKMS Virtualbox错误
EN

Ask Ubuntu用户
提问于 2013-04-01 16:18:34
回答 1查看 2.1K关注 0票数 0

我已经试了好几个星期了。由于以下错误,我无法运行Windows虚拟机:

代码语言:javascript
运行
复制
    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. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.

我已经安装了正确的3.4.0标题和图像。但是,当我运行安装命令时,我得到:

代码语言:javascript
运行
复制
user@ChrUbuntu:~$ sudo /etc/init.d/vboxdrv setup --kernelsourcedir /d
 * Stopping VirtualBox kernel modules                                   [ OK ] 
 * Uninstalling old VirtualBox DKMS kernel modules                      [ OK ] 
 * Trying to register the VirtualBox kernel modules using DKMS                 Error! Your kernel headers for kernel 3.4.0 cannot be found.
Please install the linux-headers-3.4.0 package,
or use the --kernelsourcedir option to tell DKMS where it's located

 * Failed, trying without DKMS
 * Recompiling VirtualBox kernel modules                                       
 * Look at /var/log/vbox-install.log to find out what went wrong

我用的是宏碁c7 Chromebook。请帮帮忙。

EN

回答 1

Ask Ubuntu用户

发布于 2013-04-01 21:03:13

使用--kernelsourcedir /d,您将脚本指向不存在的/d。完全省略--kernelsourcedir

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/276821

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档