Sharing Folder with Host System
To share network folders, you need to configure a share folder with a share name in the virtual machine settings.
Then in Linux, you need to mount the share folder using VirtualBox file system:
#mount –t vboxfs name_of_share_folder /mnt/mount_point
Please note that the above mounted folder is owned by root. To allow user to own the files and folder use the command:
#mount -t vboxsf -o uid=1000,gid=1000 name_of_share_folder /mnt/mount_point
Where uid is the user id and gid is the group id. If you want to have it mount automatically upon each boot, put the mount command in /etc/rc.local. Using /etc/fstab has little effect, because that file is processed before the SF module is loaded and will fail to mount the share.