Skip to content

Instantly share code, notes, and snippets.

@zopyx
Created September 19, 2017 08:52
Show Gist options
  • Save zopyx/f0f13efdffe6edc587074bcd0d54b5b2 to your computer and use it in GitHub Desktop.
Save zopyx/f0f13efdffe6edc587074bcd0d54b5b2 to your computer and use it in GitHub Desktop.
ajung@blackmoon ~ $ sudo /sbin/vboxconfig
Building kernel modules...
Build of VirtualBox host kernel modules failed.
Look at /var/log/virtualbox.log to find reasons.
ajung@blackmoon ~ $ sudo cat /var/log/virtualbox.log
=== Building 'vboxdrv' module ===
make[1]: Entering directory '/usr/src/kernel-modules/virtualbox/src/vboxdrv'
Makefile:187: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
make[1]: Leaving directory '/usr/src/kernel-modules/virtualbox/src/vboxdrv'
make: *** [Makefile:41: all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment