How to install the VirtualBox Guest Additions

When we work with virtual machines, it is advisable to look for the perfect integration between the host operating system (the one that manages the equipment) and the guest operating system (the one that is installed in the virtual machine), in order to be able to manage files between both systems, use the function copy and paste, share documents… If you use VirtualBox, and you want to integrate virtual operating systems on your computer with Windows, macOS and Linux, you need Guest Additions.

Guest Additions is a set of plugins that are natively available in VirtualBox. This set of accessories allows us to interact with virtual machines as if it were one more unit.

How to install the Virtual Box Guest Additions

How useful are the Virtual Box Guest Additions

The Guest Additions are installed inside the virtual machine that we have on our computer. In other words, if we have a virtual machine with Windows 11, another with Linux and another with macOS, if we want to get the maximum integration between the host operating system and the guests, it is necessary to install this set of applications in each of them.

With Virtual Box Guest Additions we can:

  • Shared folders , which allows the user to exchange files between the host and guest operating systems as a common storage unit.
  • Full support for mouse use in the guest operating system.
  • Shared clipboard , allowing users to copy and paste text and files between the virtual machine and the host operating system.
  • Custom video drivers to take advantage of the resolution offered by the host machine and, incidentally, an accelerated performance system.
  • Time zone synchronization , thus solving one of the common problems when creating virtual machines.

Guest Additions is a set of device drivers and system applications that are responsible for optimizing the operating system to offer the best possible performance and usability.

The set of drivers and applications that are part of Guest Additions are located in the VirtualBox installation directory and, depending on the operating system, we must perform some steps or others, steps that we will show you later.

They are completely free

Unlike other applications to manage virtual machines, such as VMware, where it is necessary to have a paid version to be able to enjoy a perfect integration between the host and virtual operating systems, with VirtualBox it is not necessary.

VirtualBox is a completely free application managed by the Oracle company. This application, like the set of Guest Additions, is completely free , so it is not necessary to spend any money to get the most out of this application to manage virtual machines.

Install Guest Additions on Windows

As I mentioned above, we must install Guest Additions in each of the virtual machines that we have on our computer. The first thing we need to do to install Guest Additions on a Windows virtual machine is to run the virtual machine.

Once we have launched the virtual machine, we go to the options menu of that machine, click on the Devices Menu and then select Insert CD image from the “Guest Additions”. This process creates a virtual drive with the ISO where the drivers are located, controls that are available in the application, so there is no need to download additional content.

Guest Additions Windows

Depending on the configuration that our equipment has established, a message should appear on the screen, informing us that we have inserted a CD in the unit and allowing us to choose what we want to do.

If so, we select the Run VBoxWindowsAdditions.exe option. If no window appears, we go to My computer and double-click on the virtual drive that VirtualBox has created to install the set of applications and drivers.

We select the folder where we want to install Guest Additions, we can leave the default folder that shows us, click on Next and finally click on Install to start the installation. Once the installation process has finished, the virtual machine invites us to restart it to apply the changes correctly.

Once we have restarted the virtual machine, we can start using each and every one of the functions offered by the VirtualBox Guest Additions in a virtual machine managed by Windows.

Guest Additions on macOS

Installing Guest Additions on macOS is not much different from the process we need to follow to install it on Windows. First of all, we must run the virtual machine of the version of macOS where we want to install it.

Guest Addition macOS

Depending on the version of macOS that we have installed, the Guest Additions installation box will automatically open in macOS. If not, from the macOS desktop, we must click twice on the Virtual Box icon to open the installation dialog box and follow all the steps that the installer shows us.

Install Guest Additions on Linux

The process to install the Guest Additions in a Linux virtual machine is different from that of Windows and macOS, since instead of using the VirtualBox application menu, we will initially use Terminal.

First of all, we will use the following command to check if there is an update available:

sudo apt-get update

Once the process is finished, we proceed to install dkms, an application necessary for the operation of Guest Additions using the command:

sudo apt-get install dkms

Guest Additions Linux

We answer Y and the installation will begin. Once the process is finished, we go to the Devices menu and select Insert from CD from the “Guest Additions” . When automatically detecting the ISO with the controls, the Linux distro that we have installed will invite us to install it, a process that we will do by clicking on the Run button and entering the user password.

A Terminal window will open where the installation process will be shown and where we have absolutely nothing to do but wait. Once the process is finished, we must restart the virtual machine.

last steps

Once we have installed the Guest Additions, we must verify that the sharing of both files, shared folders, the copy and paste function, is always correctly activated.

We must carry out this process in each of the virtual machines that we have installed through VirtualBox and it is the same for all operating systems.

First of all, from the main page of VirtualBox, we must select the virtual machine in which we want to check if all the Guest Additions functions are enabled, and then click on the Configuration button.

Next, we need to access the General > Advanced menu and check that the Clipboard Sharing and Drag and Drop function has the Bidirectional action selected. If it shows Disabled, click on this option and select Bidirectional.