You are not logged in.

#1 2014-01-31 16:03:24

blubbb
Member
Registered: 2013-09-26
Posts: 59

[solved]Virtualbox not working

Hello Guys,

recently a friend of mine tried installing virtualbox on his system(arch too) had some problems and didn't make it. Now I tried to do the same and didn't get it working either. I've no costum kernel and installed virtualbox-host. However when trying to start a virtual machine I always get this error:

Kernel driver not installed.(rc=-1908)
The virtualbox kernel driver(vboxdrv) is either not loaded or there is a permission problem[...]

In the terminal this is the output:

[wolf@arch ~]$ virtualbox 
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (3.12.9-1-ARCH) or it failed to
         load. Please reinstall the kernel module virtualbox-host-modules or
         if you don't use our stock kernel compile the modules with

           sudo dkms autoinstall

         You will not be able to start VMs until this problem is fixed.

Now I've tried the sudo dkms autoinstall command, tried reinstalling the virtualbox-host package and even tried modprobe vboxdrv neither of them did anything to fix it and right now I'm here because I don't have any idea how to continue.
I'd really appreciate if anyone could help me further.

Best regards
blubbb


Oh, I nearly forgot, certainly I've installed the linux headers..

Last edited by blubbb (2014-01-31 21:40:57)

Offline

#2 2014-01-31 16:12:50

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,701

Re: [solved]Virtualbox not working

Did you try modprobe vboxdrv  as root ?  Hint, it is not the only module you will need.

I don't often use VirtualBox, so I do not want the modules loaded by default.  I use this trivial  script when I want to use VirtualBox:

#! /bin/bash
modprobe vboxdrv
modprobe vboxnetadp
modprobe vboxnetflt

Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2014-01-31 16:32:00

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [solved]Virtualbox not working

vboxdrv should be enough to start a VM, the others just add extra networking features.

If you're not using a custom kernel, forget dkms, the virtualbox-host-modules package is all you need. What version do you have installed? Any errors when you modprobe vboxdrv? What does lsmod | grep vbox show? Are you in the vboxusers group (shouldn't be necessary to just run a VM)?

Offline

#4 2014-01-31 21:40:38

blubbb
Member
Registered: 2013-09-26
Posts: 59

Re: [solved]Virtualbox not working

Oh my god. Forgot to use sudo. sudo modprobe vboxdrv and everything works. I feel so stupid right now.
Thanks for all your answers!

Offline

#5 2014-01-31 21:42:34

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,701

Re: [solved]Virtualbox not working

Cool.  Don't forget to mark your thread as solved.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB