红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > Ubuntu

ubuntu8.04安装virtualbox

发布时间:2008-05-22 00:27:37来源:红联作者:qnbrid
今天晚上在Ubuntu8.04下准备安装VirtualBox,“新立得软件包管理器”里面可以更新到最新的VirtualBox.

接下来按照正常的方法把环境配置好后,出现了两个另外的问题。

问题一:启动提示VirtualBox kernel driver not installed.

问题描述:
VirtualBox kernel driver not installed. The vboxdrv kernel module was either not loaded or /dev/vboxdrv was not created for some reason. Please install the virtualbox-ose-modules package for your kernel and execute '/etc/init.d/vboxdrv start' as root.

VBox status code: -1908 (VERR_VM_DRIVER_NOT_INSTALLED)。

Result Code:

0x80004005

Component:

Console

Interface:

IConsole {1dea5c4b-0753-4193-b909-22330f64ec45} [bitsCN_com]

解决办法:
sudo apt-get install virtualbox-ose-source

安装模块源码然后
cd /usr/src

解压源码
sudo tar xjvf virtualbox-ose.tar.bz2

cd modules/virtualbox-ose

sudo ./build_in_tmp install
让他编译安装模块驱动

完成后
/usr/src/modules/virtualbox-ose$ sudo /etc/init.d/vboxdrv start

* Starting VirtualBox kernel module vboxdrv [ OK ]

就可以看到加载成功了,启动virtualbox也没有问题了。

问题二:启动提示The VirtualBox kernel driver is not accessible to the current user.

问题描述:
The VirtualBox kernel driver is not accessible to the current user. Make sure that the user has write permissions for /dev/vboxdrv by adding them to the vboxusers groups. You will need to logout for the change to take effect..
VBox status code: -1909 (VERR_VM_DRIVER_NOT_ACCESSIBLE).

Result Code:0x80004005

解决办法:
sudo chmod ugo+rw /dev/vboxdrv
或者

解决的方法:

sudo chmod 777 /dev/vboxdrv
文章评论

共有 4 条评论

  1. 黄富强 于 2008-05-22 22:41:47发表:

    写得很好

  2. xiaolin3325 于 2008-05-22 22:38:19发表:

    学习了。。。 。。。

  3. lixz007 于 2008-05-22 18:20:32发表:

    我下载的1.6版本的,,然后安装的,没有用源里的

  4. wyb188 于 2008-05-22 14:13:16发表:

    学习了!