Install VirtualBox Guest Additions on Ubuntu Server

Install VirtualBox Guest Additions

Prerequisites

This article was tested under Ubuntu Server 12.04 & 12.10
if you have installed new setup of ubuntu server, root is disabled by default.

sudo passwd root
su

update system and install essentials for the installation process

apt-get update
apt-get upgrade
apt-get install gcc make dkms build-essential
reboot

 

Install VirtualBox Guest Additions

Mount your guest addition

you need to be as root or ‘su’ and then type:

cd /opt
mkdir cdrom
mount /dev/cdrom /opt/cdrom
cd cdrom
./VBoxLinuxAdditions.run

 

if you have errors, check the reason. on ubuntu server, Xorg related errors are acceptable 😉

(Could not find the X.org or XFree86 Window System)

Reboot, and you’ have VirtualBox Guest Additions on Ubuntu Server!

reboot

 

 

1 thought on “Install VirtualBox Guest Additions on Ubuntu Server

Leave a Reply

Your email address will not be published.

*

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