Skip to content

Instantly share code, notes, and snippets.

@feryardiant
Forked from zbal/gist:7800423
Last active October 31, 2016 02:27
Show Gist options
  • Save feryardiant/bf8970f270364c82e13b to your computer and use it in GitHub Desktop.
Save feryardiant/bf8970f270364c82e13b to your computer and use it in GitHub Desktop.
Update VBox Guest Additions on Ubuntu Guest (Vagrant)
# Start the old vagrant
vagrant@host:~$ sudo su
root@host:/home/vagrant# sudo wget -c http://download.virtualbox.org/virtualbox/4.3.10/VBoxGuestAdditions_4.3.10.iso -O VBoxGuestAdditions_4.3.10.iso
root@host:/home/vagrant# mount VBoxGuestAdditions_4.3.10.iso -o loop /mnt
mount: block device /home/vagrant/VBoxGuestAdditions_4.3.10.iso is write-protected, mounting read-only
root@host:/home/vagrant# cd /mnt
root@host:/mnt# sh VBoxLinuxAdditions.run --nox11
root@host:/mnt# cd ~
root@host:/mnt# VBoxGuestAdditions_4.3.10.iso
root@host:/mnt# ln -s /opt/VBoxGuestAdditions-4.3.10/lib/VBoxGuestAdditions /usr/lib/VBoxGuestAdditions
root@host:/mnt# exit
vagrant@host:~$ exit
# Now check that the Guest Additions work
$ vagrant reload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment