I’ve been trying to get Whonix to work for the past couple days and have been running into every issue possible. I finally got all my machines imported into VirtualBox but now I can’t start any of them. When trying to start a machine I get the following error message:
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 virtualbox-dkms package and load the kernel module by executing
‘modprobe vboxdrv’
as root.
where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.
After following directions and entering the above command I receive the message:
modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/4.15.0-23-generic
Looking through previous questions I ran across the suggestion of reinstalling dkms however I run into another roadblock there too:
Smith@laptop:~$ sudo apt-get install dkms
E: dpkg was interrupted, you must manually run ‘sudo dpkg --configure -a’ to correct the problem.
Smith@laptop:~$ sudo dpkg --configure -a
Setting up virtualbox-dkms (5.2.10-dfsg-6) …
Removing old virtualbox-5.2.10 DKMS files…
-------- Uninstall Beginning --------
Module: virtualbox
Version: 5.2.10
Kernel: 4.15.0-23-generic (x86_64)
Status: This module version was INACTIVE for this kernel.
depmod…
DKMS: uninstall completed.
Deleting module version: 5.2.10
completely from the DKMS tree.
Done.
Loading new virtualbox-5.2.10 DKMS files…
Building for 4.15.0-23-generic
Building initial module for 4.15.0-23-generic
At this point my terminal just gets stuck and will not finish the command. What should I do?