ubuntu 8.04 安装官方版的virtualbox 2.0.2无法使用

Kvm、VMware、Virtualbox、Xen、Qemu 等
回复
mozilla
帖子: 29
注册时间: 2006-10-07 0:48

ubuntu 8.04 安装官方版的virtualbox 2.0.2无法使用

#1

帖子 mozilla » 2008-10-18 22:26

提示如下:
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (2.6.24-21-generic) or it failed to
load. Please recompile the kernel module and install it by

sudo /etc/init.d/vboxdrv setup

You will not be able to start VMs until this problem is fixed.
WARNING: The compilation of the vboxdrv.ko kernel module failed during the
installation for some reason. Starting a VM will not be possible.
Please consult the User Manual for build instructions.

并且已经安装virtualbox-ose-guest-modules-2.6.24-21-generic和virtualbox-ose-modules-2.6.24-21-generic

2.0.2不支持2.6.24-21-generic?还是需要安装什么包?
谢谢,请高手指教
头像
想入非非
帖子: 8078
注册时间: 2008-07-14 22:42
来自: Beijing
联系:

Re: ubuntu 8.04 安装官方版的virtualbox 2.0.2无法使用

#2

帖子 想入非非 » 2008-10-18 23:02

不是直接有deb包安装么? :em02
Ubuntu User
mozilla
帖子: 29
注册时间: 2006-10-07 0:48

Re: ubuntu 8.04 安装官方版的virtualbox 2.0.2无法使用

#3

帖子 mozilla » 2008-10-19 0:14

是下载的deb包安装的。
我发现2.0.2不支持2.6.24-21-generic和2.6.24-20-generic
把系统换成2.6.24-19-generic就可以了
头像
想入非非
帖子: 8078
注册时间: 2008-07-14 22:42
来自: Beijing
联系:

Re: ubuntu 8.04 安装官方版的virtualbox 2.0.2无法使用

#4

帖子 想入非非 » 2008-10-19 12:58

:em05 我就是在2.6.24-21-generic正常使用的。。。
Ubuntu User
头像
TeliuTe
论坛版主
帖子: 7668
注册时间: 2007-11-25 13:29
系统: 16/18/20/w7
来自: 新疆博乐
联系:

Re: ubuntu 8.04 安装官方版的virtualbox 2.0.2无法使用

#5

帖子 TeliuTe » 2008-10-19 22:43

重新编译一下驱动
编译virtualbox 驱动

代码: 全选

sudo apt-get install virtualbox-ose-source
cd /usr/src
sudo tar xjvf virtualbox*.bz2
cd modules/virtualbox-ose
sudo ./build_in_tmp install
sudo /etc/init.d/vboxdrv restart

设置 /dev/vboxdrv 的权限

sudo chmod ugo+rw /dev/vboxdrv
回复