first you will have to share the folder (Machine -> Settings -> Shared Folders -> Click on the green Plus on the right side)

# create mount point
mkdir /media/host;
# mounts the shared folder DATA
mount -t vboxsf name_of_share /media/host;

# if you want allow non-root users to mount host's share
# mount for access for non-root users
# find out what uid/gid user has
cat /etc/passwd|grep username;
chown -R 1004:1004 /media/host
mount -t vboxsf -o uid=1004,gid=1004 vms /media/host

liked this article?

  • only together we can create a truly free world
  • plz support dwaves to keep it up & running!
  • (yes the info on the internet is (mostly) free but beer is still not free (still have to work on that))
  • really really hate advertisement
  • contribute: whenever a solution was found, blog about it for others to find!
  • talk about, recommend & link to this blog and articles
  • thanks to all who contribute!
admin