
Now anything placed in this folder should be visible from the host in the ~/share folder. On the Windows Guest, run net use x: \\vboxsvr\share With a shared folder named share, as above, the folder can be mounted as the directory ~/host with the command sudo mount -t vboxsf -o uid=$UID,gid=$(id -g) share ~/host Optionally select the 'Make permanent' option.For instructions on how to do this, see Guest Additions.Ĭreate a folder on the Host computer (ubuntu) that you would like to share, for example ~/shareīoot the Guest operating system in VirtualBox.

But the steps you take are similar to setting up file sharing over real networks.)īefore sharing folders, you must install Guest Additions. For virtual machines, the network between host and guest is virtual since they are on the same real machine.

(Files are shared over a network, in other words, you access remote files.

This explains how to share files and folders (directories) between host and guest.
