/var/log/vbox-install.log的日志中提示以下错误:
Uninstalling modules from DKMS
removing old DKMS module vboxhost version 4.0.6
------------------------------
Deleting module version: 4.0.6
completely from the DKMS tree.
------------------------------
Done.
Attempting to install using DKMS
Creating symlink /var/lib/dkms/vboxhost/4.0.6/source ->
/usr/src/vboxhost-4.0.6
DKMS: add Completed.
You can use the --kernelsourcedir option to tell DKMS where it's located, or you could install the linux-headers-2.6.38-8-generic-pae package.
Failed to install using DKMS, attempting to install without
Makefile:169: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again。 停止。
在命令窗口如下显示
sudo /etc/init.d/vboxdrv setup
* 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 2.6.38-8-generic-pae cannot be found at
/lib/modules/2.6.38-8-generic-pae/build or /lib/modules/2.6.38-8-generic-pae/source.
* Failed, trying without DKMS
* Recompiling VirtualBox kernel modules
* Look at /var/log/vbox-install.log to find out what went wrong
怎么解决?请各们高手指导一下吧。
11.04下virtualbox安装错误
-
- 帖子: 105
- 注册时间: 2009-10-26 13:47
-
- 帖子: 3173
- 注册时间: 2010-01-13 23:26
Re: 11.04下virtualbox安装错误
装linux-headers-generic,如果是pae内核装linux-headers-generic-pae
Here I am.
Ubuntu 桌面培训 - 全中文官方文档,含汉化截图,提供PDF
Ubuntu 桌面培训 - 全中文官方文档,含汉化截图,提供PDF
-
- 帖子: 105
- 注册时间: 2009-10-26 13:47
Re: 11.04下virtualbox安装错误
非常感谢。我试一下。
- daf3707
- 论坛版主
- 帖子: 12739
- 注册时间: 2007-06-13 15:57
- 来自: 在他乡
Re: 11.04下virtualbox安装错误
去官方下载11.04版本对应的也可
- qy117121
- 论坛版主
- 帖子: 50587
- 注册时间: 2007-12-14 13:40
- 系统: Winbuntu
- 来自: 志虚国乌由市
- 联系:
Re: 11.04下virtualbox安装错误
软件中心里的可以用的