MOK manager utility won't show up on reboot on Ubuntu 16.04 (dual boot)

Discussions related to using VirtualBox on Linux hosts.
Post Reply
VirtualYerong
Posts: 11
Joined: 24. Dec 2017, 06:31

MOK manager utility won't show up on reboot on Ubuntu 16.04 (dual boot)

Post by VirtualYerong »

Hi everyone,

I am trying to install and start virtualbox 5.2.4 on ubuntu 16.04(dual boot). But I still get the secure boot issue and cannot start virtualbox properly.
If I enable secure boot in BIOS everytime I run

Code: Select all

virtualbox
I get error message like this:

Code: Select all

WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (4.10.0-42-generic) or it failed to
         load. Please recompile the kernel module and install it by

           sudo /sbin/vboxconfig

         You will not be able to start VMs until this problem is fixed
If I disable secure boot the virtualbox works fine while ubuntu won't won't login normally after suspend or logout.

So I am trying to make virtualbox work with secure boot enabled, basically I followed posts using mokutil:https://stegard.net/2016/10/virtualbox- ... untu-fail/

But after I finished the step:

Code: Select all

# mokutil --import /root/module-signing/MOK.der
input password:
input password again:
And reboot the machine, nothing happened ot me, in some posts it reads that "When the bootloader starts, the MOK manager EFI utility should automatically start. "

Anyone could help me on this? I am trying to start virtualbox on ubuntu, and it is a dual system alongside windows 10.
Last edited by VirtualYerong on 31. Dec 2017, 20:54, edited 2 times in total.
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Secure Boot issue on Ubuntu 16.04 (dual boot)

Post by socratis »

Have you searched for "VirtualBox secure boot"? Please do...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
VirtualYerong
Posts: 11
Joined: 24. Dec 2017, 06:31

Re: Secure Boot issue on Ubuntu 16.04 (dual boot)

Post by VirtualYerong »

I tried these two posts:
https://gorka.eguileor.com/vbox-vmware- ... 16-update/
https://stegard.net/2016/10/virtualbox- ... untu-fail/

But everytime I type in the mokutil password and confirm it. My machine get into ubuntu automatically after reboot. No EFI guide showup...
VirtualYerong
Posts: 11
Joined: 24. Dec 2017, 06:31

Re: Secure Boot issue on Ubuntu 16.04 (dual boot)

Post by VirtualYerong »

I tried this post https://stegard.net/2016/10/virtualbox- ... untu-fail/ on two different machines and one of them works well.

The one that works runs ubuntu 17.10. But the other machine is running ubuntu 16.04, with Intel(R) Core(TM) i7-6500U CPU, secure boot enabled and fast boot disabed.

Could anyone help on this?
Post Reply