Install VMware : Could not open /dev/vmmon: No such file or directory. Please make sure that the kernel module `vmmon' is loaded

Manthan picture Manthan · Mar 10, 2018 · Viewed 44.4k times · Source

I downloaded the VMware S/W from official website and installed the same. When I try to run any virtual machine it shows error

Could not open /dev/vmmon: No such file or directory. Please make sure that the kernel module `vmmon' is loaded

and says failed to initialize. I tried this solution and at the last command got the following error

$ sudo mokutil --import MOK.der

EFI variables are not supported on this system``

Also I couldn't install the virtualbox as well, the error was

Kernel driver not installed (rc=-1908)

Answer

Rqomey picture Rqomey · Mar 29, 2018

There is a lot of posts about the missing vmmon, but this one always bites me after I update ubuntu kernel, and then I forget every time :)

From: https://kb.vmware.com/s/article/1002411

vmware-modconfig --console --install-all

You need to have the very latest version of workstation/player/viewer if you upgrade your kernel Workstation builds modules, and often the build process breaks if there are kernel changes. So if you are having problems first make sure you have the latest version of workstation https://www.vmware.com/products/workstation-pro/workstation-pro-evaluation.html