Skip to content

Instantly share code, notes, and snippets.

@chrjorgensen
Last active July 24, 2019 07:16
Show Gist options
  • Save chrjorgensen/be16d2b2725e60d367f8885109682a11 to your computer and use it in GitHub Desktop.
Save chrjorgensen/be16d2b2725e60d367f8885109682a11 to your computer and use it in GitHub Desktop.
Sign Oracle Virtualbox modules in Ubuntu 19.04

Import Machine Owner Key

Import the Debian key (entering a simple password when asked - need to reenter after boot):

mokutil --import /var/lib/shim-signed/mok/MOK.der

Reboot.

Check the key "ubuntu Secure Boot Module Signature key" has been registered:

dmesg | grep 'Loaded UEFI:'

Build VirtualBox modules

Make VirtualBox rebuild the kernel modules and automatically sign:

sudo /sbin/vboxconfig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment