Skip to main content

Posts

Showing posts from March, 2018

Sharing a folder from Windows 10 host to Ubuntu in Virtual Box

1. First things first! Make sure that you have the latest VirtualBox Guest Additions installed. There are two ways to install it     a. From Ubuntu Desktop Menu Option: Start your VM and select " Devices > Insert Guest Additions CD image ..."     b. From command line with sudo permissions: Execute "VBoxLinuxAdditions.run" file. In my case, it was under path - "/media/VBox_Gas_5.2.6".     sudo /media/VBox_Gas_5.2.6/VBoxLinuxAdditions.run   2. Now share the folder between Windows 10 Host and Ubuntu Guest     a. Create a directory in Windows on any location of your choice.     b. In the VirtualBox, go to the settings of the Ubuntu Guest.     c. Under the Shared Folder section, add the location of you folder created with full permission.     d. Start the ubuntu guest and add your user to the vboxsf group:      sudo usermod -aG vboxsf $(whoami)     e. Logout the user and login again.     Now you can access your shared directory in /media/sf_(shared_folde