Install VirtualBox Guest Additions on Ubuntu Server

Install VirtualBox Guest Additions


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.

[code lang=”bash”]sudo passwd root

update system and install essentials for the installation process

[code lang=”bash”]apt-get update
apt-get upgrade
apt-get install gcc make dkms build-essential


Install VirtualBox Guest Additions

Mount your guest addition

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

[code lang=”bash”]cd /opt
mkdir cdrom
mount /dev/cdrom /opt/cdrom
cd cdrom


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

(Could not find the or XFree86 Window System)

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

[code lang=”bash”]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.