This question already has an answer here:
I am new to Linux. I have VirtualBox installed, but when I go to run Windows 10 as a virtual machine I get two errors:
The the VirtualBox Linux kernel driver (
vboxdrv) is either not loaded or there is a permission problem with
/dev/vboxdrv. Please install
virtualbox-dkmspackage and load the kernel module by executing
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
vboxdrvkernel module if necessary.
where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.
Failed to open a session for the virtual machine Windows.
The virtual machine 'Windows' has terminated unexpectedly during startup with exit code 1 (0x1).
What should I do to fix these?