virtualbox的一点小问题

Kvm、VMware、Virtualbox、Xen、Qemu 等
回复
raowen0721
帖子: 4
注册时间: 2008-05-23 14:24

virtualbox的一点小问题

#1

帖子 raowen0721 » 2008-05-28 9:54

我安装完后。按以前在WIN下用VM的经验很快的设定了一个XP的系统,可是启动时确遇到如下的出错信息。看起来是virtualbox的内核未被正确安装。可我不知怎 么样解决。我是用新立得包管理器装的。应当说安装都是正确的啊!现在信息让我在装virtualbox-ose-modules package。想请教有经验的朋友,我应当怎么做?

出错信息如下:
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, e.g. virtualbox-ose-modules-generic..
VBox status code: -1908 (VERR_VM_DRIVER_NOT_INSTALLED).


返回 代码:
0x80004005
组件:
Console
界面:
IConsole {1dea5c4b-0753-4193-b909-22330f64ec45}
cvgmt
帖子: 322
注册时间: 2007-02-26 2:29
来自: 广东

#2

帖子 cvgmt » 2008-05-28 10:13

我的也是,出错信息是

cvgmt@CVGMT:~$ VirtualBox
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (2.6.15-26-386) 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.
Qt WARNING: X Error: BadDevice, invalid or uninitialized input device 168
Major opcode: 145
Minor opcode: 3
Resource id: 0x0
Qt WARNING: Failed to open device
Qt WARNING: X Error: BadDevice, invalid or uninitialized input device 168
Major opcode: 145
Minor opcode: 3
Resource id: 0x0
Qt WARNING: Failed to open device
头像
yiding_he
帖子: 2677
注册时间: 2006-10-25 18:10
来自: 长沙
联系:

#3

帖子 yiding_he » 2008-05-28 10:15

1、在新立得中搜索“virtualbox-ose-modules-generic”,找到与自己内核版本相匹配的版本并安装。
2、安装完后运行一下“sudo /etc/init.d/vboxdrv setup”。没有报错就 OK 了。
你是自由的。别人也是。
raowen0721
帖子: 4
注册时间: 2008-05-23 14:24

#4

帖子 raowen0721 » 2008-05-28 10:48

谢谢三楼的回复!

可是我按您的提示在新立得里找不到相对应的模块。不论是开源还是第三方里,我都找不到。不知为什么,给出如下的信息:
There is no matching application available.


不过还是要谢谢!我已经明白了解决的思路大致方向了,我上virtualbox网站上去找找看相对应的解决办法去!
头像
yiding_he
帖子: 2677
注册时间: 2006-10-25 18:10
来自: 长沙
联系:

#5

帖子 yiding_he » 2008-05-28 11:11

哦 应该是搜索“virtualbox-ose-guest-modules-”

比如现在最新的 Ubuntu 内核版本是 2.6.24.17,那么相应的 VirtualBox OSE Module 就是 virtualbox-ose-guest-modules-2.6.24.17-generic
你是自由的。别人也是。
头像
blissday
帖子: 384
注册时间: 2008-05-18 14:23
系统: Win7
联系:

#6

帖子 blissday » 2008-05-30 11:50

谢谢三楼的回复!
回复