Installing Virtual Box Guest Additions for Linux

24 Jan 2010

The guest additions add all sorts of goodies, most importantly, syncing the time with your host computer.

Since I always forget here are the instructions:

  • Click on the console (the black screen) of a running VBox.
  • In the menu bar, select Menu -> Install Guest Additions
  • Then....
# on the virtual box menubar
# select Devices > Install Guest Additions....
#  this "inserts a fake CD"
#
sudo mkdir /mnt/cdrom
sudo mount /dev/cdrom /mnt/cdrom/
cd /mnt/cdrom
# pick the amd64 for 64bit
# pick x86 for 32bit
sudo ./VBoxLinuxAdditions-amd64.run
date
# should be synced with your computer