How to Install VirtualBox Guest Additions in Fedora Guests

By | 2010/06/27

VirtualBox Guest Additions on FedoraInstalling VirtualBox guest additions seems to vary between distributions. The other day I saw an article outlining how to install VirtualBox Guest Additions on Ubuntu, but those same steps did not apply to my Fedora 13 Virtual Machine. In this article I’ll outline the packages and steps required to install VirtualBox Guest Additions on a Fedora Guest.

Requirements

This tutorial assumes you already have VirtualBox installed and a Fedora Virtual Machine running.

Installation

To successfully install VirtualBox Guest Additions on a Fedora guest, you’ll need to install the following:

yum install kernel-headers kernel-devel gcc

Once these packages are installed you’ll be able to mount the VirtualBox Guest Additions image, and run the required script. This is done using the following steps:

  1. In the VirtualBox menu, under Devices, select “Install Guest Additions”
  2. Select the VBOXADDITIONS* image from the Places menu, which will mount the image.
  3. In a Terminal, navigate to /media/VBOXADDITIONS*/ and run: sudo ./VboxLinuxAdditions-(x86,amd64).sh
  4. Reboot the Fedora guest

Installing VirtualBox Guest Additions isn’t difficult, it is just different on most Linux distributions. Hopefully this helps those using Fedora quickly get it installed on their systems.