Wilmott-IT Services - Central Coast based Business IT Systems Management.
AusWebHost - Australia Based Web Hosting Provider. Offering Web Hosting, Dedicated Servers and other Hosted Services including Hosted Email
myTravelBlog - Create your own travel blog for free today! Link to Facebook to automatically update your status and photos everytime you submit a story!

Friday, April 15, 2011

Installing VirtualBox (Guest Additions) on Ubuntu Server 10.10

To install Guest Additions on Ubuntu Server 10.10+, you need to do the following:
sudo apt-get install dkms
sudo apt-get install build-essential
Go to the Virtualbox Devices entry on the menu bar of the guest OS and select Install Guest Additions… , this will load the Guest Additions ISO CD image.

Change directory to media
cd /media
You will likely find a sub directory called cdrom in this directory. You can list the sub directories using the `ls` command. If not create it
sudo mkdir cdrom
this will become our mount point

Mount the Guest Additions ISO to the mount point
sudo mount /dev/cdrom /media/cdrom
Now change to the cdrom directory
cd /media/cdrom
Display the directory contents i.e. the ISO image
ls
Depending on whether you are running a 32bit or 64bit OS, run the relevant installer. In this case 32bit so enter

sudo ./VBoxLinuxAdditions-x86.run

Note:

You will get an error saying “Could not find X.org or Xfree.86 on the guest system”. This is because we are running the server edition and have not got an window manager e.g. KDE or GNOME installed!

If the process complains that DKMS could not be used to build the new kernel then you may need to run the following command to install the linux-headers manually
sudo apt-get install build-essential linux-headers-$(uname -r)

2 comments:

techpeace said...

Thanks for the help!

thiruppathy999 said...

I enjoyed reading your blog ~ thanks for posting such useful content./Nice article and great photos. Very nicely done!

Additions

Engadget

Hack a Day

Slashdot

IntoMobile » Android

Techmeme

Koen's blog

Interesting Blogs