VirtualBox, Guest Additions, Ubuntu

25 Nov 2009

Just the facts ma'am.

  • Click on the console of a running Ubuntu VM.
  • In the DEVICES menu bar, select Install Guest Additions
  • Do the following in the console (or terminal)
sudo apt-get install linux-headers-generic gcc
# apt-cache search linux-headers if this isn't quite right

sudo mount /media/cdrom0 /dev/cdrom

sudo /media/cdrom0
# OR if 64-bit linux

sudo reboot
  • Unmount the cdrom. Click the cdrom icon on the bottom of the console