VMWare Workstation Pro - vmmon not found
This error will appear when you start a VM on a system that boots from UEFI with secure boot enabled. Hosts with secure boot enabled will not allow loading of any unsigned drivers. As a result, the vmmon
module is not loaded in the system and this is causing the error you see.
There are two ways to resolve the issue:
- If you do not use Windows, disable "Secure Boot" in the BIOS.
- If you do use Windows, sign the
vmmon
kernel module and complete the enrollment from the UEFI console.
If you choose to go with the second option, this is the process:
Generate a key pair using the
openssl
to signvmmon
andvmnet
modules:$ sudo openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=VMware/"
Replace
MOK
with the name of the file you want for the key.Sign the modules using the generated key by running these commands:
$ sudo /usr/src/linux-headers-`uname -r`/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n vmmon) $ sudo /usr/src/linux-headers-`uname -r`/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n vmnet)
Import the public key to the system's MOK list by running this command:
$ sudo mokutil --import MOK.der
Confirm a password for this
MOK
enrollment request.Reboot your machine and complete the enrollment from the UEFI console.
Hope this helps 👍🏻
Related videos on Youtube
Lorenzo Battilocchi
Italian sexy (possibly sassy too) guy. Just doing programming for the passion, not the money. "Remember tonight, for it's the beginning of forever." Dante Alighieri
Updated on September 18, 2022Comments
-
Lorenzo Battilocchi almost 2 years
I am having an issue setting up my new Ubuntu 16.04 LTS install with VMWare Workstation Pro 14. Install is successful and reports no errors, but when I go to launch a VM it complains about a module "vmmon" not loaded or found.
Thanks for any solutions.
-
Lorenzo Battilocchi over 3 yearsEureka! This was exactly it. In fact, I actually recall doing this exact procedure a few years ago and getting stumped on the exact same steps :) Thank yo very much!