Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Good morning/evening
I'm trying to run a Virtual Machine on Slackware. When I try to start it, VirtualBox reports: "Kernel driver not accessible". I checked /dev/vboxdrv
What version of Slackware and what version of VirtualBox?
I don't know whether it applies, but I ran VB on Slackware successfully for years, until I tried to upgrade to VB v. 6. (I used the "other distros" *.tar.gz from the VB website.)
As said, I already added myself to that group. I tried you command anyway, and still changed nothing
As Frank Bell already said: what version of Slackware (and if -current: which version of the kernel) and what version of VB.
VB is very kernel dependant and the newest kernel versions often aren't supported (yet).
And anyway, you will have to rebuild the kernel modules each and every kernel update (which in -current is about twice a week!).
14.2 had a kernel update (to 4.4.217) less then a month ago too, so even there you will have to rebuilt your vboxdrv etc modules.
What version of Slackware and what version of VirtualBox?
I don't know whether it applies, but I ran VB on Slackware successfully for years, until I tried to upgrade to VB v. 6. (I used the "other distros" *.tar.gz from the VB website.)
I use Slackware-current, kernel 5.5.13 self built. VirtualBox is 6.1.6 and I already rebuilt the kernel modules
Just gone through this. You need the kernel source with the kernel config compiled in it for the modules to compile. I presume you have a prebuilt kernel? You need to copy /boot/config-for_your_kernel to the kernel source as .config AFTER running 'make mrproper' there first. Then run 'make all' and reboot. The kernel modules should be made on the reboot.
Last edited by business_kid; 04-20-2020 at 01:54 PM.
Just gone through this. You need the kernel source with the kernel config compiled in it for the modules to compile. I presume you have a prebuilt kernel? You need to copy /boot/config-for_your_kernel to the kernel source as .config AFTER running 'make mrproper' there first. Then run 'make all' and reboot. The kernel modules should be made on the reboot.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.