This morning I downloaded the brand-spanking-new Fedora 14 to run in a VirtualBox virtual machine. At first I was unable to install the VirtualBox Guest Additions. Thanks to this post I was pointed in the right direction to resolve this. The following instructions are for Fedora 14 64-bit. This post mentions some additional instructions for 32-bit users.

First, since I am a Mac user and I like using SUDO instead of SU, I added my user account to the sudo users list. This is not done by default by the Fedora 14 installation. This section is OPTIONAL. You can simply switch to super user (SU) when running the commands to install the addons.

  1. Open Terminal (Applications > System Tools > Terminal)
  2. Switch to Super User mode
  3. Open the sudoers list
  4. Using the Page Down or Arrow keys, scroll to the bottom of the file
  5. Hit the letter O on your keyboard to edit the file
  6. Enter the following (replace Username with your actual username)
    [ps]Username ALL=(ALL) ALL[/ps]
  7. Exit Edit Mode by hitting escape on your keyboard
  8. Save the file by hitting : (colon), the letter w, and then enter – : w [enter]
  9. Quit the editor by hitting : (colon), the letter q, and then enter – : q [enter]

The following is how to get the VirtualBox Guest Additions installed using SUDO. If you are using SU instead, simply do that before running the series of commands and leave out SUDO from the commands below.

  1. Install the following packages: kernel-headers, kernel-devel, and gcc
    [ps]sudo yum install kernel-headers kernel-devel gcc[/ps]
  2. Set the KERN_DIR environmental variable. Since the kernel version changes and is a long string, use the UNIX tab autocomplete feature on the kernel directory
    [ps]export KERN_DIR=/user/src/kernels/2 [hit tab to finish the directory string, remove the trailing / at the end][/ps]
  3. Switch directories to the mount point of the VirtualBox Guest Additions virtual CD (make sure you have gone to Devices > Install Guest Additions in VirtualBox)
    [ps]cd /media/VBOX [hit tab to autocomplete, the version number often changes][/ps]
  4. Run the installer
    [ps]sudo ./[/ps]
  5. After the installation is finished, simply reboot

That’s it. The VirtualBox Guest Additions should be installed.

Share This
%d bloggers like this: