Last active
September 27, 2015 21:48
-
-
Save hakjoon/1336655 to your computer and use it in GitHub Desktop.
Upgrade VBox guest additions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# On Vagrant Box | |
wget -c \ | |
http://download.virtualbox.org/virtualbox/4.1.12/VBoxGuestAdditions_4.1.12.iso \ | |
-O VBoxGuestAdditions_4.1.12.iso | |
sudo mount VBoxGuestAdditions_4.1.12.iso -o loop /mnt | |
sudo sh /mnt/VBoxLinuxAdditions.run --nox11 | |
rm *.iso | |
# After Update on host | |
vagrant halt | |
vagrant package | |
# For lucid32 and VirtualBox 4.1.8 if kernel errors | |
sudo apt-get install dkms build-essential linux-headers-`uname -r` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The last line should read:
sudo apt-get install dkms build-essential linux-headers-
uname -r``