• virtualbox won't mount isos kernel driver not installed?


    HI All,

    I received the following error after installing virtualbox with pacman and trying to create two virtual machines.

    I installed what it says in the error, and restarted the machine, both of which didn’t help what I am doing wrong.

    I’m used to just installing virtulbox and guest additions and that’s it.

    Here is the error I get: http://imgur.com/jwmrK0E

  • Yes… oh yes… oh god yes… I feel your pain brother (or sister…). I’ve come across this error when I was on Ubuntu 14.04 and couldn’t find anything about it in the forums and I ended up giving up on using vbox the entire time I was on that distro . When I came across it again on Antergos, I decided that enough was enough and I spent hours sifting through vbox’s wiki until I figured it out.

    It’s pretty straight forward once you figure it out. I posted about it on a bunch of different forums trying to help out others who may run across it. I’m just going to cut and paste here:


    Took me a long time to solve this issue. I had dkms and all the modules already installed and compiled into my kernel, yet I still got a module related error message when I tried to run a vBox virtual machine.

    If your vBox GUI starts without a hitch but get an error telling to install the VBoxDrv kernel module when you try to run a virtual machine, your problems are not related to installing the modules into your kernel but ACTIVATING THEM in modprobe which the module installation script fails to do.

    To load a module manually (such as vboxdrv in your case), open a terminal prompt and put in :

    sudo modprobe vboxdrv
    If you Virtual Machine runs after that without giving you an error message, then you can activate the vboxdrv module permanently by going to /etc/modules-load.d/ and making a .conf file (such as vbox.conf). In the .conf file the names of the vbox kernel modules you want to add, such as: vboxdrv.

    Save and reboot

    You can also ad these optional modules: vboxnetadp, vboxnetflt and vboxpci

    From Vbox’s wiki:

    vboxnetadp and vboxnetflt are both needed when you intend to use the “Host-only networking” feature. More precisely, vboxnetadp is needed to create the host interface in the VirtualBox global preferences, and vboxnetflt is needed to launch a virtual machine using that network interface.

    vboxpci is needed when your virtual machine needs to pass through a PCI device on your host.

    Note: If the VirtualBox kernel modules were loaded in the kernel while you updated the modules, you need to reload them manually to use the new updated version. To do it, run vboxreload as root.

Posts 2Views 928
Log in to reply