Page 1 of 1

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

Posted: 24. Dec 2017, 06:49
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.

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

Posted: 24. Dec 2017, 07:37
by socratis
Have you searched for "VirtualBox secure boot"? Please do...

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

Posted: 30. Dec 2017, 03:11
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...

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

Posted: 31. Dec 2017, 09:56
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?