Skip to content

Instantly share code, notes, and snippets.

@vimishor
Created February 18, 2013 12:15
Show Gist options
  • Save vimishor/4976946 to your computer and use it in GitHub Desktop.
Save vimishor/4976946 to your computer and use it in GitHub Desktop.
Installing VirtualBox Guest Additions on Ubuntu Server

Tested on Ubuntu Server 12.04

  • Start the Ubuntu Server VM and insert the Guest Additions CD image (Devices menu, Install Guest Additions).

  • Mount CD Rom:

    $ sudo mount /dev/cdrom /media/cdrom
  • Install necessary build tools and dependencies:

    $ sudo apt-get install -y dkms build-essential linux-headers-generic linux-headers-$(uname -r)
  • Build and install the Guest Additions:

    $ sudo /media/cdrom/VBoxLinuxAdditions.run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment