How to install VirtualBox Guest Additions on Fedora 21

November 11, 2014 | By | 6 Replies More

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

su
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.

su
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.

Tags: , , , , , , ,

Category: Fedora, Virtualization

Comments (6)

Trackback URL | Comments RSS Feed

Sites That Link to this Post

  1. Create Virtual Machine fedora 21 | Enterprise | April 20, 2015
  1. Ed Connor says:

    Worked perfectly. You’re a genius!

    Thanks.

  2. STH says:

    Worked like a charm! Thank you for publishing these instructions.

  3. Suthan says:

    thank you it’s fine …….

  4. PR says:

    Thank you! That was very helpful.

  5. FMartin says:

    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