UbuntuHelp:VirtualBox/SharedFolders
来自Ubuntu中文
Wikibot(讨论 | 贡献)2009年5月18日 (一) 18:11的版本 (创建新页面为 '{{From|https://help.ubuntu.com/community/VirtualBox/SharedFolders}} {{Languages|UbuntuHelp:VirtualBox/SharedFolders}} Note: Before trying to mount/map shared folder you must ins...')
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
Note: Before trying to mount/map shared folder you must install Guest Additions (run machine and choose "Install Guest Additions" form Device menu of machine window. Note: The client OS can not be open when adding share. On the host (ubuntu) computer, run
mkdir ~/VirtualBoxShare VBoxManage sharedfolder add "XP" -name "share" -hostpath /home/your/shared/folder/VirtualBoxShare/
Where "XP" is the name of the virtual machine in VirtualBox, and "share" is the name of the share as the guest machine will see it. The hostpath must be a fully-qualified path. On the Windows client, run
net use x: \\vboxsvr\share
If the client is Linux, run
mount -t vboxfs share mountpoint
For the above command if you get error as
mount: unknown filesystem type 'vboxfs'
Then just change the vboxfs to vboxsf means the command will be
mount -t vboxsf share mountpoint
See Section 4.4 Folder Sharing in the VirtualBox documentation.