[教学]在 Ubuntu 7.10 中安装 VirtualBox
-
- 帖子: 56
- 注册时间: 2007-07-16 9:44
-
- 帖子: 56
- 注册时间: 2007-07-16 9:44
- chinafenghao
- 帖子: 234
- 注册时间: 2007-12-18 21:50
-
- 帖子: 36
- 注册时间: 2007-08-18 11:36
-
- 帖子: 36
- 注册时间: 2007-08-18 11:36
ŸŸ如下:
Could not load the Host USB Proxy Service (VERR_FILE_NOT_FOUND). The service might be not installed on the host computer.
Result Code:
0×80004005
Component:
Host
Interface:
IHost {81729c26-1aec-46f5-b7c0-cc7364738fdb}
Callee:
IMachine {31f7169f-14da-4c55-8cb6-a3665186e35e}
原因是由于当前帐户无法识别USB设备,虽然在UBUNTU下是好的,解决方法:
1.增加用户组usbfs
$ sudo groupadd usbfs
2. 查看usbfs用户组的gid
$ cat /etc/group | grep usbfs
usbfs
1002:
把当前用户增加到usbfs组
$ sudo gedit /etc/group
把
usbfs
1002:
修改为
usbfs
1002:zhouyun(这里改成你的帐户名)
4. 为USB设备重新设置权限编辑/etc/fstab文件,添加下面两行,注意你的gid可能不是1002
$ sudo gedit /etc/fstab
在末尾加上
# 1002 is the USB group IDI
none /proc/bus/usb usbfs devgid=1002,devmode=664 0 0
重新启动后,应该就可以在客户机中使用USB设备了。
转自于 iT粉丝网
Could not load the Host USB Proxy Service (VERR_FILE_NOT_FOUND). The service might be not installed on the host computer.
Result Code:
0×80004005
Component:
Host
Interface:
IHost {81729c26-1aec-46f5-b7c0-cc7364738fdb}
Callee:
IMachine {31f7169f-14da-4c55-8cb6-a3665186e35e}
原因是由于当前帐户无法识别USB设备,虽然在UBUNTU下是好的,解决方法:
1.增加用户组usbfs
$ sudo groupadd usbfs
2. 查看usbfs用户组的gid
$ cat /etc/group | grep usbfs
usbfs
把当前用户增加到usbfs组
$ sudo gedit /etc/group
把
usbfs
修改为
usbfs
4. 为USB设备重新设置权限编辑/etc/fstab文件,添加下面两行,注意你的gid可能不是1002
$ sudo gedit /etc/fstab
在末尾加上
# 1002 is the USB group IDI
none /proc/bus/usb usbfs devgid=1002,devmode=664 0 0
重新启动后,应该就可以在客户机中使用USB设备了。
转自于 iT粉丝网
-
- 帖子: 34
- 注册时间: 2007-07-24 18:21
huan@huan-laptop:~$ VBoxManage sharedfolder add "M$" -name "für M$" -hostpath "\home\media\sda6"
VirtualBox Command Line Management Interface Version 1.5.4
(C) 2005-2007 innotek GmbH
All rights reserved.
[!] FAILED calling machine->CreateSharedFolder(Bstr(name), Bstr(hostpath)) at line 6134!
[!] Primary RC = 0x80070057
[!] Full error info present: true , basic error info present: true
[!] Result Code = 0x80070057
[!] Text = Shared folder path '\home\media\sda6' is not absolute
[!] Component = SharedFolder, Interface: ISharedFolder, {8b0c5f70-9139-4f97-a421-64d5e9c335d5}
[!] Callee = IMachine, {31f7169f-14da-4c55-8cb6-a3665186e35e}
what is the problem? thanks
i can not input English in Ubuntu.
VirtualBox Command Line Management Interface Version 1.5.4
(C) 2005-2007 innotek GmbH
All rights reserved.
[!] FAILED calling machine->CreateSharedFolder(Bstr(name), Bstr(hostpath)) at line 6134!
[!] Primary RC = 0x80070057
[!] Full error info present: true , basic error info present: true
[!] Result Code = 0x80070057
[!] Text = Shared folder path '\home\media\sda6' is not absolute
[!] Component = SharedFolder, Interface: ISharedFolder, {8b0c5f70-9139-4f97-a421-64d5e9c335d5}
[!] Callee = IMachine, {31f7169f-14da-4c55-8cb6-a3665186e35e}
what is the problem? thanks
i can not input English in Ubuntu.
- whx-002
- 帖子: 139
- 注册时间: 2007-11-07 23:37
- 联系:
-
- 帖子: 3
- 注册时间: 2008-02-01 20:30
how to handle this error
xpan@xpan-desktop:~$ sudo apt-get install virtualbox
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
virtualbox-ose-modules-2.6.22-14-generic
Use 'apt-get autoremove' to remove them.
Recommended packages:
libsdl-ttf2.0-0 bridge-utils uml-utilities
The following packages will be REMOVED:
virtualbox-ose
The following NEW packages will be installed:
virtualbox
0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B/16.9MB of archives.
After unpacking 18.5MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
(Reading database ... 142106 files and directories currently installed.)
Removing virtualbox-ose ...
Selecting previously deselected package virtualbox.
(Reading database ... 141577 files and directories currently installed.)
Unpacking virtualbox (from .../virtualbox_1.5.4-27034_Ubuntu_gutsy_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/virtualbox_1.5.4-27034_Ubuntu_gutsy_i386.deb (--unpack):
trying to overwrite `/lib/modules/2.6.22-14-generic/misc/vboxdrv.ko', which is also in package virtualbox-ose-modules-2.6.22-14-generic
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/virtualbox_1.5.4-27034_Ubuntu_gutsy_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
virtualbox-ose-modules-2.6.22-14-generic
Use 'apt-get autoremove' to remove them.
Recommended packages:
libsdl-ttf2.0-0 bridge-utils uml-utilities
The following packages will be REMOVED:
virtualbox-ose
The following NEW packages will be installed:
virtualbox
0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B/16.9MB of archives.
After unpacking 18.5MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
(Reading database ... 142106 files and directories currently installed.)
Removing virtualbox-ose ...
Selecting previously deselected package virtualbox.
(Reading database ... 141577 files and directories currently installed.)
Unpacking virtualbox (from .../virtualbox_1.5.4-27034_Ubuntu_gutsy_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/virtualbox_1.5.4-27034_Ubuntu_gutsy_i386.deb (--unpack):
trying to overwrite `/lib/modules/2.6.22-14-generic/misc/vboxdrv.ko', which is also in package virtualbox-ose-modules-2.6.22-14-generic
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/virtualbox_1.5.4-27034_Ubuntu_gutsy_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
-
- 帖子: 14
- 注册时间: 2006-01-07 21:14
-
- 帖子: 19
- 注册时间: 2008-01-14 11:59
- 来自: 北京海淀
-
- 帖子: 66
- 注册时间: 2007-12-05 20:20
-
- 帖子: 1
- 注册时间: 2008-01-14 1:26