分页: 2 / 4

发表于 : 2007-12-26 8:32
渔风
sudo apt-get install linux-headers-`uname -r

这个命令我执行了没有什么反应,怎么回事。执行后只出现一个大于好>,用tab补全补不出来

发表于 : 2007-12-26 13:40
渔风
楼主的“首先安装编译环境及获取与当前内核版本相一致的头文件”中使用的命令有问题,最后少了一个点。
正确的应该是这样的:sudo apt-get install linux-headers-`uname -r`

发表于 : 2007-12-26 13:50
chinafenghao
看了就踩

发表于 : 2008-01-22 21:31
waf7225
收藏了!

发表于 : 2008-01-23 10:46
waf7225
sudo mousepad /etc/init.d/mountdevsubfs.sh
出现错误:sudo: mousepad: command not found
是什么意思?

发表于 : 2008-01-23 13:43
waf7225
ŸŸ如下:

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:x:1002:

把当前用户增加到usbfs组

$ sudo gedit /etc/group



usbfs:x:1002:

修改为

usbfs:x: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粉丝网

乌班图

发表于 : 2008-01-27 16:59
ltf504
非常好 谢谢你了

发表于 : 2008-01-27 20:21
bluesky3368
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.

发表于 : 2008-01-31 19:57
whx-002
如果我在guest系统可以通用么?
就是我在ubuntu(host)中安装的winserver2003(guest)在XP(HOST)中可以用不?

how to handle this error

发表于 : 2008-02-01 20:50
pxy0592
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)

发表于 : 2008-02-05 14:43
yion
:D 搜了

发表于 : 2008-02-11 14:47
5460
whx-002 写了:如果我在guest系统可以通用么?
就是我在ubuntu(host)中安装的winserver2003(guest)在XP(HOST)中可以用不?
我也想知道这个问题,希望有经验的朋友说说 :D

发表于 : 2008-02-11 20:03
paopaostar
收起来慢慢研究 ,感谢楼主!

发表于 : 2008-02-16 21:17
kevinzhang
谢谢,配置好了,准备装个xp精简版,开发软件测试用。

发表于 : 2008-02-28 20:00
tsingtolsm
在试 顶了