0

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:

Error #1

The 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.

Error #2

Failed to open a session for the virtual machine Windows.

The virtual machine 'Windows' has terminated unexpectedly during startup with exit code 1 (0x1).

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: MachineWrap
Interface: IMachine {f30138d4-e5ea-4b3a-8858-a059de4c93fd}

What should I do to fix these?

marked as duplicate by karel, Eric Carvalho, Pilot6, Charles Green, Andrea Lazzarotto Aug 14 '17 at 15:28

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Install linux-headers package. – Manoj Sawai Aug 7 '17 at 19:53
  • 1
    You might have installed virtualbox in a wrong way, here is a guide to install it correctly: askubuntu.com/questions/900794/… – Ravexina Aug 7 '17 at 19:53
  • If you have a UEFI machine you are probably running into the unsigned Virtualbox driver problem. You will have to turn off secure boot or manually sign the driver. Search this site for similar problems, it has come up often. – Organic Marble Aug 14 '17 at 13:40