https://github.com/ericklv/virtualbox-on-linux-mint
Run unsigned kernel modules with Secure Boot enabled
https://github.com/ericklv/virtualbox-on-linux-mint
Last synced: 5 months ago
JSON representation
Run unsigned kernel modules with Secure Boot enabled
- Host: GitHub
- URL: https://github.com/ericklv/virtualbox-on-linux-mint
- Owner: ericklv
- Created: 2017-01-18T08:43:55.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-18T08:45:29.000Z (over 9 years ago)
- Last Synced: 2024-10-11T22:17:59.690Z (over 1 year ago)
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# VirtualBox-on-Linux-mint
Run unsigned kernel modules with Secure Boot enabled
1. Create signing keys
openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=Descriptive name/"
2. Sign the module (vboxdrv for this example)
sudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n vboxdrv)
3. Register the keys to secure boot
sudo mokutil --import MOK.der
4. Supply a password for later use after reboot
On boot
1. Select Enroll MOK
2. Select Continue
3. Select YES
4. Then you will need to enter the password you used when running 'mokutil --import'.
5. Select OK
After reboot
1. sudo modprobe vboxdrv
2. Execute virtualbox normally