Chinaunix首页 | 论坛 | 博客
  • 博客访问: 13807
  • 博文数量: 5
  • 博客积分: 215
  • 博客等级: 二等列兵
  • 技术积分: 60
  • 用 户 组: 普通用户
  • 注册时间: 2008-06-30 17:46
文章分类
文章存档

2011年(1)

2008年(4)

我的朋友
最近访客

分类: LINUX

2008-11-17 04:11:23

virtualbox Linux上比较流行的虚拟机软件、开源。
主页地址:

用下面命令安装:

sudo apt-get install virtualbox-ose virtualbox-ose-source

新建一个虚拟机器,运行时出现下面这个错误:

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.
VBox status code: -1908 (VERR_VM_DRIVER_NOT_INSTALLED).

Result Code: 0x80004005
Component: Console
Interface: IConsole


说是vboxdrv内核模块没有安装。

解决方法:

sudo apt-get install linux-headers-`uname -r`
sudo m-a prepare
sudo m-a -f auto-install virtualbox-ose-source
sudo adduser `whoami` vboxusers


重启机器。
   
  • Debian-based Linux distributions: Add one of the following lines according to your distribution to your /etc/apt/sources.list:
    deb  gutsy non-free
    deb feisty non-free
    deb edgy non-free
    deb dapper non-free
    deb etch non-free
    deb sarge non-free
    deb xandros4.0-xn non-free
    The innotek public key for apt-secure can be downloaded . You can add this key with
    apt-key add innotek.asc

The key fingerprint is

6947 BD50 026A E8C8 9AC4  09FD 390E C3FF 927C CC73
innotek GmbH (archive signing key)

You will need to install some additional libraries on your Linux system in order to run VirtualBox - in particular, you will need libxalan-c, libxerces-c and version 5 of libstdc++. How to install these will depend on the Linux distribution you are using.




阅读(732) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~