浙江省高等学校教师教育理论培训

微信搜索“毛凌志岗前心得”小程序

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
today,i finally find how to use share folder with the virtual os is windows,you should open the network neighbor,double click virtualbox newwork,in this folder there is a folder named //Vboxsvr


Then, you can mount the shared folder from inside a VM the same way as you would mount an ordinary network share:

  • In a Windows guest, starting with VirtualBox 1.5.0, shared folders are browseable and are therefore visible in Windows Explorer. So, to attach the host's shared folder to your Windows guest, open Windows Explorer and look for it under "My Networking Places" -> "Entire Network" -> "VirtualBox Shared Folders". By right-clicking on a shared folder and selecting "Map network drive" from the menu that pops up, you can assign a drive letter to that shared folder.
  • Alternatively, on the Windows command line, use the following:

    <span style="font-family: 'Courier New,courier';">net use x: \\vboxsvr\sharename</span>

    While vboxsvr is a fixed name (note that vboxsrv would also work), 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:
<span style="font-family: 'Courier New,courier';">mount -t vboxsf [-o OPTIONS] sharename mountpoint</span><!--EndFragment-->


posted on 2010-04-13 13:19  lexus  阅读(392)  评论(0编辑  收藏  举报