我该如何在Virtual Box中在主机(Mac)和客户操作系统(Ubuntu)之间共享文件夹?
我该如何在Virtual Box中在主机(Mac)和客户操作系统(Ubuntu)之间共享文件夹?
sudo mount -t vboxsf folder_name path_to_mount_point
folder_name是您之前输入的用于描述共享的名称如果遇到挂载问题,例如出现以下错误:
mount: wrong fs type, bad option, bad superblock on mydata,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount.<type> helper program)
In some cases useful info is found in syslog - try
dmesg | tail or so
sudo rm /sbin/mount.vboxsf
sudo ln -s /opt/VBoxGuestAdditions-4.3.10/lib/VBoxGuestAdditions/mount.vboxsf /sbin/mount.vboxsf
path_to_mount_point
是什么?是来自主机操作系统共享目录的完整路径吗? - ismailsunnisudo usermod -a -G vboxsf [用户名]
)。参考链接:http://www.virtualbox.org/manual/ch04.html#sf_mount_auto - theDrake