Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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