Thursday, July 6, 2017

VMware Workstation 12 on Ubuntu 16.04 (Cannot Open dev/vmmon)

1. Ubuntu 16.04 LTS (Secure Boot is enabled) - Tested Operational on a Dell Inspiron 17

2. Download VMware Workstation 12

3. Open Terminal:

sudo chmod u+x VMware-Workstation*

sudo ./VMware-Workstation*

(Install the Application and Add your license key)

4. Create a VM and get this error:

5. VMware KB:

Commands (Sudo) - Run Separately
openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=VMware/"

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)

6. When you run this command as sudo pick a password:

sudo mokutil --import MOK.der

7. sudo reboot

8. NOTE!!! Be careful and test inside a VM since this can brick a physical machine and put you into a loop.