Skip to content

Instantly share code, notes, and snippets.

@P7h
Created August 17, 2017 22:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save P7h/0b0e24525dd4b4e712d82c0d2e7000cd to your computer and use it in GitHub Desktop.
Save P7h/0b0e24525dd4b4e712d82c0d2e7000cd to your computer and use it in GitHub Desktop.
Share folders between Guest and Host OS with Virtual Box.
# Create a shared folder "Share" in the Host OS through the GUI.
# Run the following in the Virtual Box Guest OS.
sudo usermod -aG vboxsf <<current_user>>
mkdir ~/share
sudo mount -t vboxsf -o uid=$UID,gid=$(id -g) Share ~/share
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment