Skip to content

Instantly share code, notes, and snippets.

@xaitax
Last active November 23, 2020 18:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xaitax/c18ddc0dac3c493a48e6c0305ed85767 to your computer and use it in GitHub Desktop.
Save xaitax/c18ddc0dac3c493a48e6c0305ed85767 to your computer and use it in GitHub Desktop.
Script to make the latest Linux Kernel work with VMWare Workstation
#!/bin/bash
## Script to make the latest Linux Kernel work with VMWare Workstation
## Automated since it was too annoying to run the commands after each Kernel update
## Tested with Linux Kernel 5.9.8 & VMWare Workstation 16.1.0
## Alexander Hagenah (@xaitax)
VERSION=16.1.0
wget https://github.com/mkubecek/vmware-host-modules/archive/workstation-${VERSION}.tar.gz
tar -xzf workstation-${VERSION}.tar.gz
cd vmware-host-modules-workstation-${VERSION}
tar -cf vmmon.tar vmmon-only
tar -cf vmnet.tar vmnet-only
sudo cp -v vmmon.tar vmnet.tar /usr/lib/vmware/modules/source/
sudo vmware-modconfig --console --install-all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment