1

I'm trying to install a Windows 10 VM on Oracle VM VirtualBox ver. 5.1.22 on Ubuntu 17.04, but whenever I try to run it, I get the following errors:

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

Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
MachineWrap
Interface:
IMachine {b2547866-a0a1-4391-8b86-6952d82efaa0}

And:

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.

I'm almost completely new to Linux and Ubuntu so please try to be simple.

  • 1
    It's actually quite simple: Disable Secure Boot in UEFI settings. – user692175 Aug 17 '17 at 10:01
  • @John This isn't a forum. If you have a question please post an actual question. – user692175 Nov 3 '17 at 0:35
  • @MichaelBay I understand but my comment was not a new question, it was a clarification of a sub-case of the original question. Still, I will remove it. – John Nov 3 '17 at 0:48
  • @John If you have a BIOS system then your problem is different, not a "sub-case". – user692175 Nov 3 '17 at 0:56
1

After struggling with the same issue all night I finally found a way to keep Secure Boot enabled & got Virtualbox VMs running properly- in Ubuntu Xenial (16.04.3).

I used this PPA: https://launchpad.net/~costamagnagianfranco/+archive/ubuntu/virtualbox-ppa

Though maybe another would work, possibly even the official one- I didn't try.

A key part of the process was signing the kernel module, & the instructions here worked for me: https://stegard.net/2016/10/virtualbox-secure-boot-ubuntu-fail/

Best of luck!

  • I use efitools and sbsigntools to create and enroll keys and sign modules. If you don't use windows, efitools can be used to take over your EFI keys. – ravery Sep 14 '17 at 9:26

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.