

This post showed you how to share VirtualBox host folders with guest machines, including Ubuntu. If you don’t see it mounted, go to the /media/sf_ FOLDERNAME The next time you login, the shared folder on the host should be mounted. Turn on the guest machine or reboot if you’re already logged in. If you want the folder to automatically mount everytime the guest machine starts, choose that option.Ĭlick OK to save your changes and close out. From there, click the Plus ( + ) at the top to add a folder you want to share.īrowse to the folder on the host machine and select it. Select the guest machine you want to share with and go to the Settings tab and pick the Shared Folders from the list. The command to do that is below: sudo usermod -G vboxsf -a $USERĪfter running the command above from Ubuntu guest, to Ubuntu guest machine settings from the host software and share the folder from the host machine. sudo apt install virtualbox-guest-dkms build-essential linux-headers-virtualĪfter installing the packages above, restart your machine and continue below.

When you’re done, run the commands below to install the latest kernel header and dkms package to support VirtualBox. sudo apt update & sudo apt dist-upgrade & sudo apt autoremove First run the commands below update Ubuntu guest machine. To install the tool in Ubuntu, follow the steps below. The tool provides tight integration between the host and virtual machine operating systems, improvement to the VM graphics performance, shared folder between the host and guest machines, copying and pasting of text, images and files between the host and guest machine as well as mouse improvement. Whenever you create a new guest machine, you must install the guest additions tool. VirtualBox comes with guest machines tool called guest additions. To get started with sharing folders from VirtualBox host to guest machines, follow the steps below: Step 1: Install VirtualBox Guest Additions You’ll have to enable bidirectional sharing from the host software, and the steps below show you how to do that. In order for this to work, you must by running the latest version of VirtualBox virtualization software with the current version of guest additions tools.
