VirtualBox 共享配置(Linux)

字体大小: 中小 标准 ->行高大小: 标准

VirtualBox没有WMware那样的拖放功能,需要配置Host OS(主系统,此处是Windows 7) 和Guest OS(VirtualBox中的系统,此处是Gentoo) 之间共享目录

1.安装VirtualBox 增强功能

1.1 VirtualBox OS界面:“设备” -> "安装增强功能"  :


1.2 在Gentoo Linux 中安装增强功能:

  1. # mkdir /mnt/cdrom  
  2. # mount /dev/cdrom /mnt/cdrom  
  3. # /mnt/cdrom/VBoxLinuxAdditions.run  


2. 选择Host OS中的共享目录

2.1 VirtualBox OS界面:“设备” -> "分配数据空间" 


选择数据空间

2.2 挂载共享目录:

  1. #mkdir /mnt/share  
  2. #mount -t vboxsf share /mnt/share  

此文章由 http://www.ositren.com 收集整理 ,地址为: http://www.ositren.com/htmls/58547.html