VirtualBox中Ubuntu共享windows文件夹

开发配置:

  • Ubuntu 16.04
  • VirtualBox 5.1.30

1.问题

按照网上步骤,首先设置VirtualBox的共享文件夹,然后输入
sudo mount -t vboxsf gongxiang /mnt/shared/

然后报错:
mount: wrong fs type, bad option, bad superblock on share,
missing codepage or helper program, or other e

In some cases useful info is found in syslog - try
dmesg | tail or so.

原因:未安装virtualbox-guest-utils
安装后就挂载成功了!
apt-get install virtualbox-guest-utils

参考:
http://forum.ubuntu.org.cn/viewtopic.php?t=460313

你可能感兴趣的:(virtualbox,ubuntu,Ubuntu)