VirtualBox error : kernel driver not installed(rc=-1908) [closed]

Thought I'd give my 2 cents for those who use MACs

sudo /Library/Application\ Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh restart

sudo apt-get remove virtualbox-dkms
sudo apt-get install virtualbox-dkms

source: http://ubuntuforums.org/showthread.php?t=1885936&page=6

ps. I have this issue everytime I get a Linux kernel update in Ubuntu. The instructions that it gives do not work for me but these two commands work everytime. It would be nice if everytime I got a kernel update these two commands would automatically run afterwards...


I have a solution that works for MacOS users:

  1. You have to restart your system and press Command (⌘) + R during the loading. It will start the Recovery mode.

  2. Now that you're on the Recovery Mode, click on Utilities (top bar) and Terminal.

  3. You have your terminal opened? Enter, it will add Oracle in the authorisation list to access the kernel.

    spctl kext-consent add VB5E2TV963

  4. Restart again.

You're welcome.