May 1

[Ubuntu] Virtual Box虚拟机无法启动的解决办法 不指定

felix021 @ 2008-5-1 13:05 [IT » 软件] 评论(0) , 引用(0) , 阅读(5960) | Via 本站原创 | |
刚安装好VirtualBox,新建虚拟机,配置完毕,双击运行->出错:
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).

错误提示的意思是当前用户无法访问/dev/vboxdrv
解决办法就是:
系统管理->用户和组->(解锁)->管理组->找到vboxusers组双击,勾选当前用户,确定->注销->登录->OK

当然,你也可以手动改配置文件:
#先备份
$sudo cp /etc/group /etc/group.bak001
#修改
$sudo gedit /etc/group
找到vboxusers开头的行,在末尾加入你的用户名,保存退出,注销,登录,OK

------------------

如果错误提示是:
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}

解决办法,转自 http://bbs.zdnet.com.cn/archiver/tid-396913.html
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 start

* Starting VirtualBox kernel module vboxdrv [ OK ]


VB能起来了,但是在虚拟机里不能用键盘,解决方法如下:

打开新立得,把scim-bridge- client-qt重装了下,同时把scim-bridge-client-qt4也给装了,然后virtualbox里的键盘就可以用了。



欢迎扫码关注:




转载请注明出自 ,如是转载文则注明原出处,谢谢:)
RSS订阅地址: https://www.felix021.com/blog/feed.php
Tags:
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   *非必须
网址   电邮   [注册]