How Can We Help?

Categories

Install VirtualBox Guest Additions in Ubuntu

You are here:
< Back

These instructions assume that you have installed a guest Ubuntu system in VirtualBox.

  • Open VirtualBox in the host system and start Ubuntu virtual machine.
  • Open a terminal and install the following:
  • sudo apt install build-essential dkms linux-headers-$(uname -r)
  • After the above command is complete, restart the guest Ubuntu system.
  • After boot up is complete, go to the VirtualBox menu and select Devices > Insert Guest Additions CD Image. Here’s an example image for your reference (Figure 1).
  • Once you do that, you should see a new disk mounted under /run/media/[user name]/ directory. Go to that directory from the terminal.
  • Then, execute the setup program VBoxLinuxAdditions.run using the below command.
  • sudo ./VBoxLinuxAdditions.run
  • Wait for the instructions to finish. Once done, you should see the options available for Copy/Paste, folder share and others, as shown below