Home > Computing Tips, Linux > How to install Virtualbox guest additions on Ubuntu

How to install Virtualbox guest additions on Ubuntu

November 22nd, 2009 Leave a comment Go to comments

This is a reminder to myself on how to install guest additions for Ubuntu 9.10 as a guest when using Sun VirtualBox. I’m currently using Sun Virtual Box 3, feel free to use it as is.

Type

sudo -i

This command will prompt you for the root password, please type it in.
Type

apt-get update

Type

apt-get upgrade

At this point if your upgrade has installed a new Linux Kernal then I would reboot. Otherwise don’t reboot and continue with the following instructions.

If you’ve rebooted then open a terminal and Type

sudo -i

other wise continue using your previous terminal.
Type

apt-get install linux-headers-generic

Type

apt-get install build-essential

Now look up at the top left of the VirtualBox window and click devices then click install guest additions.

You’ll notice that a CD icon will appear on your desktop called VBOXADDITION_3 (I’m currently running version 3 of VBOX, yours may be different.)

Use the command prompt you opened earlier
Type

/media/cdrom/autorun.sh

Exit the terminal unmount the CD and reboot your Ubuntu Guest OS. At this point I usually shutdown and take a snapshot but thats entirely up to yourself.

  1. No comments yet.
  1. No trackbacks yet.