Skip to content

Instantly share code, notes, and snippets.

@Lewiscowles1986
Created September 7, 2017 16:30
Show Gist options
  • Save Lewiscowles1986/ff7df202519ed7ad5568ef8fd9a7beca to your computer and use it in GitHub Desktop.
Save Lewiscowles1986/ff7df202519ed7ad5568ef8fd9a7beca to your computer and use it in GitHub Desktop.
Fix Virtualbox
#!/bin/bash
#
# Fix Kernel updates in Xenial breaking Virtualbox DKMS...
#
if [ "$EUID" -ne 0 ]
then echo "Must be root"
exit
fi
apt-get install --reinstall virtualbox-dkms*
modprobe vboxdrv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment