13

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)

2
  • What is your host OS, what kernel version etc
    – Rqomey
    Mar 29, 2018 at 8:52
  • Output of uname -a Linux Aspire-E5-573 4.4.0-119-generic #143-Ubuntu SMP Mon Apr 2 16:08:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
    – Manthan
    Apr 14, 2018 at 13:28

1 Answer 1

15

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

EDIT- I also have to do the following now on Ubuntu:

"First line only needs to be run once:

openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=VMware/"
sudo mokutil --import MOK.der

Then reboot and if memory serves you will asked to confirm a change to your boot loader. Essentially you are adding this self created cert to the boot loader.

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)

sudo modprobe -v vmmon

sudo modprobe -v vmnet

sudo vmware-networks --start

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

7
  • After running the command, it shows Unable to start services
    – Manthan
    Apr 14, 2018 at 13:39
  • @Manthan Have you downloaded the latest version of Workstation / player?
    – Rqomey
    Jul 5, 2018 at 9:23
  • VMware Workstation 14.1.0 build-7370693 is the output for $vmware -v.
    – Manthan
    Jul 7, 2018 at 11:27
  • Latest is VMware Workstation 14.1.2 build-8497320 please update and try again
    – Rqomey
    Jul 11, 2018 at 13:10
  • 3
    After running the command using 15.0.1 build-10737736 and linux kernel 4.18.0-15-generic in Kubuntu 18.10 I have Unable to start service Virtual machine monitor and Virtual ethernet Mar 7, 2019 at 21:20

Not the answer you're looking for? Browse other questions tagged or ask your own question.