Installing VirtualBox Guest Additions On Ubuntu Server 12.04

Overview

Trying to install the VirtualBox guest additions in a non desktop system I encounter errors. Luckily the solution wasn’t too difficult to fix.

Install

Vbox Guest Additions CD Image Menu
Use the Virtualbox menu to install the guest additions CD image

Mount the Guest Additions CD.
sudo mount /dev/cdrom /media/cdrom

Install kernel build software:
sudo apt-get install -y dkms build-essential linux-headers-generic linux-headers-$(uname -r)

Run the installer on the CD:
sudo sh /media/cdrom/VBoxLinuxAdditions.run

Windows system drivers fail
Expect the “Installing the Window System drivers” to fail because on a server X windows (GUI) is not typically installed and therefore is not relevant.

Summary

Not as simple as the desktop version but for a non GUI installer it should not be beyond many people who are familiar with command line. It’s a shame Oracle hasn’t improved the script for the server edition.

Installing VirtualBox Guest Additions on Ubuntu Server

About Danny

I.T software professional always studying and applying the knowledge gained and one way of doing this is to blog. Danny also has participates in a part time project called Energy@Home [http://code.google.com/p/energyathome/] for monitoring energy usage on a premise. Dedicated to I.T since studying pure Information Technology since the age of 16, Danny Tsang working in the field that he has aimed for since leaving school. View all posts by Danny → This entry was posted in Linux and tagged , , , , , , . Bookmark the permalink.

Leave a Reply

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

All comments must go through an approval and anti-spam process before appearing on the website. Please be patience and do not re-submit your comment if it does not appear.

This site uses Akismet to reduce spam. Learn how your comment data is processed.