Using VirtualBox? And do you want to access shared folders on the host machine from the guest machine which has Ubuntu on it? Well, this brief tutorial is going to show you how to do that. This is a perfect way to get file located on the host machine to the guest machine which in this case is a Ubuntu machine.
This tutorial was done using Windows 7 as my host machine and Ubuntu 12.04 as the guest. Also, make sure you have access to the folder you’re sharing, or it won’t work.
- Access shared folders on the host from the guest machine using VirtualBox
To get started, select the virtual machine to wish to configure then click ‘Settings’ and select the shared folder on the left menu. Click ‘Add’ the select the the folder to share.
Login to Ubuntu and run the commands below to add your user account into VirtualBox account group.
sudo adduser <username> vboxsf
Next, logout or restart your computer and go to the /media/ folder to access the shared folder.