VirtualBox Shared Folders

Here is a quick tutorial on how to add a automounted VirtualBox shared folder to Ubuntu without modifying the fstab.

  1. Boot the VM
  2. Goto Devices -> Shared Folders in VirtualBox
  3. Select Path and select the folder you’d like to share, then check Make Permanent and Automount. Then Ok.
  4. In terminal, run the command: sudo adduser your_username vboxsf
  5. Restart the VM
  6. Now you can access the shared folder in /media (i.e. /media/sf_sharename)
  7. Make a sym link to access the folder more easily: ln -s /media/sf_sharename share