VirtualBox not starting after recent kernel upgrade
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
VirtualBox not starting after recent kernel upgrade
Hello All,
After the recent kernel upgrade VirtualBox will no longer start, I get the following message in a friendly graphical dialog box:
Code:
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing
'/sbin/rcvboxdrv setup'
as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.
I have system/virtualbox-kernel installed, but not system/virtualbox-addons, system/virtualbox-kernel-addons or system/virtualbox-extension-pack.
Can someone tell me what the best apporach is please? Should I use DKMS, re-install VirtualBox? Something else?
The VirtualBox kernel must be compatible with the host kernel.
Did you follow the instructions in the error message and run, as root, /sbin/rcvboxdrv setup?
If that doesn't work, you can try /etc/rc.d/rc.vboxdrv setup?
What version of VirtualBox are you running? I'm running Version 5.2.18 r124319 (Qt5.6.1) and it updates its kernel automatically when a new Slackware kernel is installed.
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,192
Rep:
After each kernel upgrade I always uninstall VirtualBox using, sh /opt/VirtualBox/uninstall.sh,
reboot with the new kernel and then re-install VirtualBox.
Edit in. Thanks to kjhambrick for catching the typo. It is now correct, i.e, sh /opt/VirtualBox/uninstall.sh
As I usually run the command from within the /opt/VirtualBox directory, I slipped a cog somewhere along the line.
Last edited by cwizardone; 09-12-2018 at 09:45 AM.
After each kernel upgrade I always uninstall VirtualBox using /opt/VirtualBox/sh uninstall.sh,
reboot with the new kernel and then re-install VirtualBox.
I'm lazy I guess.
I just re-install Virtualbox: ./VirtualBox-5.2.18-124319-Linux_amd64.run
During the install process the installer detects the installed version of Virtualbox and removes it, then it installs Virtualbox.
It might have been necessary to run the command with a dot-slash, perhaps even with an sh ./.
I always used the /etc/rc.d/rc.vboxdrv setup command myself.
This does not work when using the package from SBo. vboxdrv.sh is modified to tell users to run the virtualbox-kernel.SlackBuild file to re/build the module.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.