[教学]在 Ubuntu 7.10 中安装 VirtualBox

Kvm、VMware、Virtualbox、Xen、Qemu 等
渔风
帖子: 56
注册时间: 2007-07-16 9:44

#16

帖子 渔风 » 2007-12-26 8:32

sudo apt-get install linux-headers-`uname -r

这个命令我执行了没有什么反应,怎么回事。执行后只出现一个大于好>,用tab补全补不出来
渔风
帖子: 56
注册时间: 2007-07-16 9:44

#17

帖子 渔风 » 2007-12-26 13:40

楼主的“首先安装编译环境及获取与当前内核版本相一致的头文件”中使用的命令有问题,最后少了一个点。
正确的应该是这样的:sudo apt-get install linux-headers-`uname -r`
头像
chinafenghao
帖子: 234
注册时间: 2007-12-18 21:50

#18

帖子 chinafenghao » 2007-12-26 13:50

看了就踩
waf7225
帖子: 36
注册时间: 2007-08-18 11:36

#19

帖子 waf7225 » 2008-01-22 21:31

收藏了!
waf7225
帖子: 36
注册时间: 2007-08-18 11:36

#20

帖子 waf7225 » 2008-01-23 10:46

sudo mousepad /etc/init.d/mountdevsubfs.sh
出现错误:sudo: mousepad: command not found
是什么意思?
附件
error.png
error.png (9.89 KiB) 查看 2093 次
waf7225
帖子: 36
注册时间: 2007-08-18 11:36

#21

帖子 waf7225 » 2008-01-23 13:43

ŸŸ如下:

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粉丝网
ltf504
帖子: 2
注册时间: 2008-01-27 16:08

乌班图

#22

帖子 ltf504 » 2008-01-27 16:59

非常好 谢谢你了
bluesky3368
帖子: 34
注册时间: 2007-07-24 18:21

#23

帖子 bluesky3368 » 2008-01-27 20: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.
头像
whx-002
帖子: 139
注册时间: 2007-11-07 23:37
联系:

#24

帖子 whx-002 » 2008-01-31 19:57

如果我在guest系统可以通用么?
就是我在ubuntu(host)中安装的winserver2003(guest)在XP(HOST)中可以用不?
pxy0592
帖子: 3
注册时间: 2008-02-01 20:30

how to handle this error

#25

帖子 pxy0592 » 2008-02-01 20:50

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)
头像
yion
帖子: 32
注册时间: 2008-01-19 1:21

#26

帖子 yion » 2008-02-05 14:43

:D 搜了
5460
帖子: 14
注册时间: 2006-01-07 21:14

#27

帖子 5460 » 2008-02-11 14:47

whx-002 写了:如果我在guest系统可以通用么?
就是我在ubuntu(host)中安装的winserver2003(guest)在XP(HOST)中可以用不?
我也想知道这个问题,希望有经验的朋友说说 :D
paopaostar
帖子: 19
注册时间: 2008-01-14 11:59
来自: 北京海淀

#28

帖子 paopaostar » 2008-02-11 20:03

收起来慢慢研究 ,感谢楼主!
kevinzhang
帖子: 66
注册时间: 2007-12-05 20:20

#29

帖子 kevinzhang » 2008-02-16 21:17

谢谢,配置好了,准备装个xp精简版,开发软件测试用。
tsingtolsm
帖子: 1
注册时间: 2008-01-14 1:26

#30

帖子 tsingtolsm » 2008-02-28 20:00

在试 顶了
回复