Skip to content

Instantly share code, notes, and snippets.

@DanThiffault
Created July 19, 2016 14:27
Show Gist options
  • Save DanThiffault/eb6d01e1f5fc09a22535d16b04f0b84f to your computer and use it in GitHub Desktop.
Save DanThiffault/eb6d01e1f5fc09a22535d16b04f0b84f to your computer and use it in GitHub Desktop.
Virtual Box Guest Additions Upgrade
# First make sure you have a consistent linux kernel & source installed
sudo apt-get install linux-image-3.13.0-92-generic linux-headers-3.13.0-92-generic
sudo reboot
# Check its what you expect
uname -a # should be 3.13.0-92-generic, if not you need to try a newer version/fix this.
# Based on https://gist.github.com/fernandoaleman/5083680
# & https://gist.github.com/zbal/7800423
# Change the VBoxAdditions to match your version of virtual box
sudo wget -c http://download.virtualbox.org/virtualbox/5.0.26/VBoxGuestAdditions_5.0.26.iso \
-O VBoxGuestAdditions_5.0.26.iso
sudo mount VBoxGuestAdditions_5.0.26.iso -o loop /mnt
cd /mnt
sudo sh VBoxLinuxAdditions.run --nox11
cd
sudo rm *.iso
sudo /etc/init.d/vboxadd setup
sudo update-rc.d vboxadd defaults
sudo update-rc.d vboxadd enable
exit
# Now check that the Guest Additions work
$ vagrant halt
$ vagrant up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment