Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
i am trying to set up a vm for windows on my laptop. the initial setup went fine. when i try to start the vm, i get this:
kernel driver not installed (rc=-1908)
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
'/etc/init.d/vboxdrv 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.
i have run both the string above and attempted to install the dkms package, and both abort.
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
Quote:
Originally Posted by Myra Mayns
i am trying to set up a vm for windows on my laptop. the initial setup went fine. when i try to start the vm, i get this:
kernel driver not installed (rc=-1908)
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
'/etc/init.d/vboxdrv 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.
i have run both the string above and attempted to install the dkms package, and both abort.
as a newbie, what am i missing?
Are you running the above command as root/superuser?
As, it needs to be run as root/superuser, for it to work.
but i am also confused about root. i installed some app called root, and once i did i could not get out of it back to the standard command prompt other than killing the terminal window...but that's another issue...
Last edited by Myra Mayns; 04-16-2017 at 10:47 PM.
For both Virtualbox and VMware, you need to be sure to have "make" and "gcc" installed. And you need to have the "kernel-headers" installed that match the version of your kernel.
That was for Debian/Ubuntu distros, some distros, maybe fedora?, need "kernel-devel" installed in place of "kernel-headers".
With these programs installed, virtualbox will be able to build the kernel modules.
1) don't be root.
2) the error you posted is maybe the single most posted newbie virtualbox error out there. please search a) your distro's forums and b) virtualbox documentation and c) virtualbox forums for same error.
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
Quote:
Originally Posted by ondoho
1) don't be root.
ondoho, You need to run the /etc/init.d/vboxdrv setup command as root (as the error message states), otherwise it will not be able to build the kernel module.
ondoho, You need to run the /etc/init.d/vboxdrv setup command as root (as the error message states), otherwise it will not be able to build the kernel module.
i'm very sorry, i largely misread the op for lack of quote/code tags.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.