Installing 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.
This tutorial assumes you already have VirtualBox installed and a Fedora Virtual Machine running.
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:
- In the VirtualBox menu, under Devices, select “Install Guest Additions”
- Select the VBOXADDITIONS* image from the Places menu, which will mount the image.
- In a Terminal, navigate to /media/VBOXADDITIONS*/ and run: sudo ./VboxLinuxAdditions-(x86,amd64).sh
- 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.