VirtualBox’s Guest Additions: What They Are And How To Install Them

Affiliate Disclosure: By buying the products we recommend, you help keep the lights on at MakeUseOf. Read more.


Testing another operating system in a virtual machine such as VirtualBox How to Use VirtualBox: User's Guide How to Use VirtualBox: User's Guide With VirtualBox you can easily install and test multiple operating systems. We'll show you how to set up Windows 10 and Ubuntu Linux as a virtual machine. Read More is a great way to do so without having to wipe out your currently installed one. But just installing an operating system to the virtual machine What Is a Virtual Machine? Everything You Need to Know What Is a Virtual Machine? Everything You Need to Know Virtual machines allow you to run other operating systems on your current computer. Here's what you should know about them. Read More isn’t enough – you need to install VirtualBox’s Guest Additions to get the best experience possible.

What exactly do the Guest Additions do, and how can you install them?

What Are The Guest Additions?

The Guest Additions are some extra bits of software that you install in the operating system you’re virtualizing. That operating system is also called the “guest OS”. Meanwhile, the operating system you actually have installed on your hardware and that you boot into every time you turn the system on is called the “host OS”. This is where the name Guest Additions comes from – they’re additions to the guest OS.

Installing the Guest Additions enables various extra features that are already built into VirtualBox. These include automatic resizing, seamless mode, the bidirectional clipboard, drag and drop, and generally better performance.

Automatic Resizing

Automatic resizing allows you to resize the window of the virtual machine, and the desktop will automatically respond to completely fill in the new window size. The Guest Additions makes this happen by checking how big the window is, and then telling the guest OS those exact dimensions as if it’s the size of the monitor that is connected.

Otherwise, without the Guest Additions, the guest OS will tend to only do a 640×480, 800×600, or 1024×768 resolution and will remain that way no matter the size of the window of the virtual machine.

Shared Clipboard

The Guest Additions also allow the clipboards to be shared, in either a one-directional or bidirectional way. I personally find bidirectional to be the most convenient, because then you can move between both operating systems without having to think twice. Anything you copy in one operating system (whether text, an image, or more) can be pasted in the other.

Drag and Drop

Another feature to aid in interoperability between the two operating systems is drag and drop. With this, you can simply drag items from one operating system to the other with ease, so you won’t have to mess around too much if you need something in the guest OS that’s stored on the host OS or vice versa.

Seamless Mode

Seamless Mode is a feature of VirtualBox that allows the desktops of the guest OS and host OS to merge. In other words, it allows applications that run on the guest OS to appear as if they are running natively on the host OS (although it will keep the window decorations of the guest OS rather than the host OS).

Additionally, with the shared clipboard and drag and drop features, working with both the guest OS and host OS at the same time is simple.

Improved Performance

Finally, the Guest Additions also improve performance of the guest OS. For example, when you run Ubuntu in VirtualBox without the Guest Additions, it can act unnecessarily sluggish which gets annoying very quickly.

With the Guest Additions, Ubuntu runs much more like it would natively, thanks to various optimizations found in the kernel module that is installed as part of the Guest Additions. They help the guest OS better communicate with the virtual machine. There are many technical reasons why the kernel modules makes this work, but that’s a bit out of the scope of this article. Just know that installing them does help.

Installing The Guest Additions

Installing the Guest Additions is quite simple, really. There’s nothing you have to download, as they come with your VirtualBox installation. All you need to do is boot up your desired virtual machine, and then choose Devices -> Insert Guest Additions CD image. This will insert an ISO image into the virtual CD drive attached to the virtual machine, which should start an autorun prompt.

In Windows, it should install with ease thanks to the installer. In Linux Test Drive Linux Operating Systems with VirtualBox Test Drive Linux Operating Systems with VirtualBox Read More , you’ll need to enter your password before the installer takes care of the rest. However, it’ll only work well if you make sure you have gcc, g++, dkms, and kernel-devel installed.

In Ubuntu, before choosing to install the Guest Additions, you just need to run the terminal command:

sudo apt-get install gcc g++ dkms

In Fedora, the command would be:

sudo yum install gcc g++ dkms kernel-devel.

Using Guest Additions

As you can see, it’s well worth installing the Guest Additions in your guest OS to get the best possible experience with VirtualBox. It only takes a few moments and a quick restart, so there’s little reason not to do this. Honestly, the only reason might be because you’re just quickly testing an operating system before removing it again, but even then it’d be worth installing the Guest Additions for the performance boost.

How often do you use VirtualBox or another virtual machine package? Do you know any cool tricks you can do with them? Let us know in the comments!

Whatsapp Pinterest

Enjoyed this article? Stay informed by joining our newsletter!

Enter your Email

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. Bummed
    December 8, 2017 at 11:49 am

    Based on what I've read online and on my own experience, guest additions mainly just locks up your computer requiring a reboot to recover, especially with a Windows 10 guest on Ubuntu.

  2. timo
    April 9, 2016 at 8:21 am

    Do I need to install the guest additions again when I want to install another Linux distro? For example I already have fedora and now I want ubuntu..

  3. Mina
    March 8, 2015 at 4:05 am

    I like both; what guest additions can do and the article itself :) :)

  4. kayla
    July 5, 2014 at 2:22 am

    Anyone else impressed with for increasing direct sales? Have to hand it to them, they totally "get" video.

  5. Hisham S
    June 20, 2014 at 12:14 am

    I entered the command :
    sudo apt-get install gcc g++ dkms
    and installed the Guest Additions.

    But I can't resize the display ;-(

  6. Avijit
    June 19, 2014 at 6:32 pm

    @Danny, Thanks for the great article. I remember when i want to run multiple OS instances parallel - and i have no solutions. The Seamless Mode works great for that purpose and that time i can't find a comprehensive guide about it. So, if possible, In any next article, Please Make a comprehensive detail on Seamless Mode and its settings/configurations.


  7. ant
    June 18, 2014 at 9:15 pm

    I used VirtualBox for 3 years but moved on to VMware Workstation, because each update you need to manually update guest additions. VMware has a feature called easy install and it automatically installs VMware tools. VMware is much easier to use.

  8. jasray
    June 18, 2014 at 5:43 pm

    Used to use VirtualBox quite often, but lately distros seem to be running soooo slow, even with Guest Additions. Ubuntu, Mint, Fedora used to run at near native speeds; now, the speed is like qemu or kqemu--not worth the time. Somewhat odd for me is the speed with a USB Linux distro plugged in is remarkably fast.

    • bobrob
      June 20, 2014 at 3:17 am

      I'm glad i'm not the only one with this problem. Testing a different OS with VirtualBox just isn't worth it for me anymore. It runs so slowly that it is pretty much unusuable. I have started doing the same as you and install a test Linux OS on a USB stick instead. The only thing I can't figure out is with Ubuntu on a USB stick. It will run lightning quick unless I install it with persistent memory. If I install with the persistent memory it slows down to a crawl.

    • pmshah
      June 20, 2014 at 4:51 am

      I use BootITNg as my boot manager and have several operating systems installed on my machine, all in their own isolated primary partitions. However lately the trend for all the Lunux distributions has been to take over your entire hard disk and install the boot sector in MBR in stead of giving an option of installing it to the boot sector of the specific partitions. In this situation one has no alternative except to use Virtual Machine. Just because of slow and very often unreliable performance I have given up on working with Linux altogether. Since all my clients are on Windows there is no more question of my shifting to Linux !

  9. Chinmay S
    June 18, 2014 at 1:30 pm

    You didn't mention the main purpose of Guest Additions :- Full Screen.
    I don't think there is any Guest OS that runs fullscreen by default.