当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 4 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 菜鸟求助
帖子发表于 : 2007-08-07 12:48 

注册: 2007-08-07 12:43
帖子: 2
送出感谢: 0 次
接收感谢: 0 次
刚开始接解ubuntu
所以是在XP环境下用虚拟机装的ubuntu
但不知该如何用虚拟机中的ubuntu来访问物理主机XP系统中的硬盘和文件夹?
我的虚拟机用的是virtualbox


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2007-08-07 13:24 
头像

注册: 2005-08-14 21:55
帖子: 58428
地址: 长沙
送出感谢: 4
接收感谢: 272
这个,论坛好多。还有virtualbox的pdf。


_________________
● 鸣学


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2007-08-07 16:00 

注册: 2007-08-07 12:43
帖子: 2
送出感谢: 0 次
接收感谢: 0 次
这个论坛是很多,不过大部分都是主机是ubuntu,虚拟机里装XP的
而我的是主机是XP系统,虚拟机里装备ubuntu的
好难找啊!!


页首
 用户资料  
 
4 楼 
 文章标题 : 官网有pdf下载的啊。
帖子发表于 : 2007-08-07 16:07 
头像

注册: 2005-08-14 21:55
帖子: 58428
地址: 长沙
送出感谢: 4
接收感谢: 272
5.4. Folder Sharing
Shared Folders allow you to access files of your host system from within the guest system, much
like ordinary shares on Windows networks would -- except that shared folders do not need a net-
working setup. Sharing is accomplished using a special service on the host and a file system driver
for the guest, both of which are provided by VirtualBox.
In order to use this feature, the VirtualBox Guest Additions have to be installed. Currently, Shared
Folders are limited to Windows XP, Windows 2000 and Linux 2.4 and 2.6 guests.
To declare a folder as shared to VirtualBox, you specify a certain path on the host (which will be-
come the shared folder) and give it a "share name" that only VirtualBox will use. Using this share
name, which the VirtualBox Shared Folders service will provide to the guest, a drive letter mapping
can be performed in the guest.
Shares are created using the VBoxManage command line interface; see Chapter 7, VBoxManage ref-
erence. The command is as follows:
VBoxManage sharedfolder add "VM name" -name "sharename" -hostpath "C:\test"
There are three types of shares:
1. global shares which are available to all VMs;
2. VM shares which are only available to the VM for which they have been defined;
3. transient VM shares, which can be added and removed at runtime and do not persist after a VM
has stopped; for these, add the -transient option to the above command line.
Then, you can mount the shared folder from inside a VM the same way as you would mount an or-
dinary network share:
• In a Windows guest, use the following command:
net use x: \\vboxsvr\sharename
Replace "x:" with the drive letter that you want to use for the share, and sharename with the
share name specified with VBoxManage.
• In a Linux guest, use the following command:
mount -t vboxsf [-o OPTIONS] sharename mountpoint
Replace sharename with the share name specified with VBoxManage, and mountpoint with
the path where you want the share to be mounted (e.g. /mnt/share). The usual mount rules ap-
ply, that is, create this directory first if it does not exist yet.
Beyond the standard options supplied by the mount command, the following OPTIONS are avail-
able:
iocharset CHARSET
38
Configuring virtual machines
to set the character set used for I/O operations (utf8 by default) and
convertcp CHARSET
to specify the character set used for the shared folder name (utf8 by default).


_________________
● 鸣学


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 4 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译