LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1251|回复: 2

请教 virtualbox 无法启动的问题

[复制链接]
发表于 2009-11-7 22:50:43 | 显示全部楼层 |阅读模式
2009的时候装了 VirtualBox-3.0.10_54097_mdv2009.1-1.i586.rpm 装上xp就好用的,usb也没问题,网上银行一切正常。
换了2010后,同样安装VirtualBox-3.0.10_54097_mdv2009.1-1.i586.rpm
提示
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. Re-setup 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.

执行/etc/init.d/vboxdrv setup 后,有一个/var/log/vbox-install.log

Error! Your kernel source for kernel 2.6.31.5-desktop586-1mnb cannot be found at
/lib/modules/2.6.31.5-desktop586-1mnb/build or /lib/modules/2.6.31.5-desktop586-1mnb/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Failed to install using DKMS, attempting to install without
Makefile:147: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again。 停止

是内核不对么?源上有kernel 2.6.31.5的,换了源上的virtualbox3.08-ose版的,能启动可是usb又用不了.
发表于 2009-11-8 17:14:02 | 显示全部楼层
这个还不知道,我这2009的时候还能认出来视频(USB),现在2010认不了了,主系统认不了,虚拟机就更不行了
回复 支持 反对

使用道具 举报

发表于 2009-11-8 17:32:54 | 显示全部楼层
Error! Your kernel source for kernel 2.6.31.5-desktop586-1mnb cannot be found
需要内核源码包,其实安装开发包就可以了
安装下面几个包
kernel-desktop-devel-2.6.31.5-1mnb
kernel-desktop-devel-latest
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表