我先是用源里的virtualbox ose后来就从官网下了正是版本都出现了这个问题,具体如下
可以进入virtualbox的图形界面,但在安装虚拟系统时报错
VirtualBox kernel driver not installed. The vboxdrv kernel module was either not loaded or /dev/vboxdrv was not created for some reason.
Re-setup the kernel module by executing ‘/etc/init.d/vboxdrv setup’
as root.
按照提示 运行 /etc/init.d/vboxdrv setup
第二步显示失败
Stopping VirtualBox kernel module [完成]
Recompiling VirtualBox kernel module [失败]
(Look at /var/log/vbox-install.log to find out what went wrong)
再按照提示查看 vbox-install.log
内容如下
makefile:75: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again。 停止。
百度知
解决此问题需安装当前Linux内核的源文件
得到了ubuntu下的解决方法
为
sudo apt-get install linux-headers-`uname -r`
以及fc8的解决方法
安装
http://hany.sk/mirror/fedora/updates...5.fc8.i686.rpm
~~我想问的是 mandriva下如何安装内核的源文件呢?