Hi! I´m running Virtualbox on my fresh installed Elementary. After a update a few days ago I get an error "Kernel driver not installed". (I attached a screenshot) I tried different things, which I found on the Internet, for example - reinstall dkms - /etc/init.d/vboxdrv setup (didnt´t work) What should I do now? Thanks a lot!
Heyho brandy, can you try to post the output from "sudo /etc/init.d/vboxdrv setup" ? The issue itself seems to happen because the kernel has been updated, which conflicts with the virtualbox-setup before (compiled depending on the old kernel). Have you already tried to reinstall the package virtualbox-dkms? (from https://ubuntuforums.org/showthread.php?t=1885936) Code (Text): sudo apt-get remove virtualbox-dkms sudo apt-get install virtualbox-dkms
Thanks, I have tried already, but didn´t work - i will try it in half an hour an post the output! What does den UEFI Boot has to do with the kernel installation - I found this on stackexchange: http://elementaryos.stackexchange.com/questions/6988/virtualbox-on-elementaryos/7806#7806 And I now from previous attempts, that he asks me, if I want to disable Secure Boot! Is this a problem?
I am not sure how SecureBoot affects the Virtualbox, sorry. But another try could be the hint in the comments at http://elementaryos.stackexchange.com/questions/3872/vbox-kernel-driver-not-installed-rc-1908: @ThomasShera , you better try with sudo apt-get install linux-generic (This should cover when your installed kernel is absolute). other way sudo apt-get dist-upgrade ; sudo linux-headers-`uname -r` . it means you have to update your kernel. – user.dz You should give it a try, maybe it help when you download the linux-header-packages this way: Code (Text): sudo apt-get install linux-generic #or sudo apt-get dist-upgrade ; sudo apt-get install linux-headers-`uname -r`
On executing Code (Text): sudo apt-get remove virtualbox-dkms I got the message, that dkms is not installed, although it was in the software center. On installing it, I got following message: Code (Text): DKMS: install completed. * Stopping VirtualBox kernel modules [ OK ] * Starting VirtualBox kernel modules * modprobe vboxdrv failed. Please use 'dmesg' to find out why [fail] invoke-rc.d: initscript virtualbox, action "restart" failed. Trigger für shim-signed (1.18~14.04.1+0.8-0ubuntu2) werden verarbeitet ... Whats wrong here? dmesg gives a long list - do you want to see it?
:-( seems connected with http://unix.stackexchange.com/questions/282265/starting-virtualbox-kernel-modules-failed i think the best would be, you disable secure boot in BIOS first, so we are sure that SecureBoot isn't the issue. afterwards, what is the output when you try to install the package dkms + the outpout from --get-selections (show installed packages): Code (Text): sudo apt-get install dkms #and check the installed dkms* packages: sudo dpkg --get-selections | grep dkms
Secure Boot was the answer! I just changed it in BIOS and Virtualbox works perfectly now... Thanks a lot!