How to install VirtualBox Guest Additions on Fedora 21

I just installed the new Fedora 21 Beta on my VirtualBox. Installing Fedora 21 on Virtualbox only take few minutes. After install Fedora 21, the fist thing to do is to install VirtualBox Guest Additions on it. The Guest Additions will unlock many features such as full screen and seamless display mode, shared clipboard, drag and drop support and many others. This tutorial is going to show you how to install VirtualBox Guest Additions on Fedora 21. I am using VirtualBox version 4.3.18 on Windows 8 machine. I highly recommend to upgrade VirtualBox installation to the most recent version.

Steps to install VirtualBox Guest Additions on Fedora 21

A. Update Kernel 

Before we install the Guest Additions, we need to update Kernel to the latest version. Open Terminal and paste the following commands

yum update kernel*

When finished, reboot Fedora. On the boot screen menu, select the first entry as follow

guest additions on fedora 21 1

B. Install additional packages

Now, install kernel-headers, kernel-devel and dkms. Use this command to install those packages.

yum install kernel-headers kernel-devel dkms

C. Install Guest Additions

Now we are ready to install the Guest Additions. From the Virtualbox menu, go to Devices | Install Guest Additions CD Image. The installer will be auto mounted. Click Run to start the installation.

guest additions on fedora 21 2

If you did not see the above picture on your Fedora 21. Open Files and click your CD ROM icon. Then click Run Software.

guest additions on fedora 21 3

When the installation finished, simply log out and re login. Thank you.



  1. Hello there,

    I’ve tried this but in the very first step I came across with this:

    One of the configured repositories failed (Fedora 21 – x86_64), and yum doesn’t have enough cached data to continue.

    Than it shows four options to “solve” the cached data issue.

    Some of them seems to be a definitive solution.

    What I would like to know is why does it happen ?

Leave a Reply

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