📅 2012-Oct-30 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ ubuntu, virtualbox, windows ⬩ 📚 Archive
On Windows, I sometimes run Ubuntu inside a VirtualBox virtual machine. I find that sharing a folder from Windows to Ubuntu is a convenient method of sharing files between the host and guest OS. Doing this is easy:
Install Guest Additions on the Ubuntu virtual machine.
Add your user to the group
vboxsf in the Ubuntu VM:
$ sudo adduser yourusername vboxsf
Power down the Ubuntu virtual machine.
In VirtualBox, right-click on the Ubuntu virtual machine and choose Settings → Shared Folders.
Choose Add Share. Choose the Folder Path to the directory you want to share. Note down the Folder Name displayed. This name will be used inside Ubuntu, so change it if you want. Check the Auto-mount option to have Ubuntu mount this directory whenever it starts up.
Power up the Ubuntu virtual machine. Your
foo shared folder will be accessible in
Tried with: Ubuntu 12.04 x64, Windows 7 Enterprise x64 and VirtualBox 4.2.0