You are not logged in.

#1 2016-05-20 03:15:58

niteesh
New Member
Registered: 2016-05-20
Posts: 1

How to solve virtual box modprobe vboxdrv error in kali linux?

---Mod edit: Not a BunsenLabs question, so moved to Help & Support (Other)

I am new to kali linux. And want to install virtualbox to practice hacking and penetration testing. I installed virtual box from its website and it opens and I was able to create a virtual machine but when ever I start it, it gives me an modprobe vboxdrv error. I already installed DKMS.

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please install virtualbox-dkms package and load the kernel module by executing

'modprobe vboxdrv'

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.

This is the error I get. Whenever i do sudo modprobe vboxdrv i get modprobe: FATAL: Module vboxdrv not found.
This give me quick solution I am even ready to reinstall from first

Last edited by damo (2016-05-20 04:51:29)

Offline

#2 2016-05-20 05:13:40

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: How to solve virtual box modprobe vboxdrv error in kali linux?

I don't know about kali, but this is my BunsenLabs VBox cheatsheet:

If USB devices won't show up in the host and guest machine after install, check on the host whether the user has already been added to the "vboxusers" group (both host and guest)

Check with
        groups $USER
        
Add with
        sudo groupadd vboxusers
        sudo usermod -a -G vboxusers $USER

In the guest:
------------
Before installing guest-additions:

    sudo apt-get update
    sudo apt-get upgrade
    sudo  apt-get install dkms build-essential linux-headers-$(uname -r) module-assistant
    sudo m-a prepare
    
    sudo apt-get install virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11

Mount virtualbox-guest-additions iso and build the guest-additions

    sudo mount /dev/sr0 /media/cdrom0
    cd /media/cdrom0 && sudo ./VBoxLinuxAdditions.run

   
Reboot and choose resolution


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

Board footer

Powered by FluxBB