How to Install VirtualBox Guest Editions in Ubuntu Server 14.04


As I always forget how to do this in Ubuntu Desktop and Ubuntu Server, I wrote this brief tutorial to help me remember. It should work with any Debian based distribution.

Hopefully you will also find it useful.

 

  1. Update your APT database:  sudo apt-get update
  2. Install the latest security updates:  sudo apt-get upgrade
  3. Install required packages:  sudo apt-get install build-essential module-assistant
  4. Configure your system for building kernel modules:  sudo m-a prepare
  5. Click on Install Guest Additions… from the Devices menu
  6. Mount the virtual CD Rom: sudo mount /dev/cdrom /media/cdrom 
  7. Change directory to the virtual CD Rom Drive: cd /media/cdrom
  8. Install Guest Editions: sudo ./VBoxLinuxAdditions.run
  9. Restart VM by entering: sudo reboot
  10. To check that Guest Editions are installed: lsmod | grep vboxguest

9 thoughts on “How to Install VirtualBox Guest Editions in Ubuntu Server 14.04

Leave a comment