Skip to content

Instantly share code, notes, and snippets.

@peterhgombos
Created September 23, 2019 06:50
Show Gist options
  • Save peterhgombos/c925ef18da175ff9e85f0bf75e8391d1 to your computer and use it in GitHub Desktop.
Save peterhgombos/c925ef18da175ff9e85f0bf75e8391d1 to your computer and use it in GitHub Desktop.
Fix vmmon for vmware on Fedora
#!/bin/bash
# VMWare doesn't support the latest kernels on Fedora, so if you like to run kernel updates when they come out,
# VMWare workstation would stop working. I haven't gone deep into the why this is, but I found the fix through
# a random forum comment[1]. In short, you have to download patches to vmmon from a github repo[2], build it and
# then install the patches. This script does it for VMWare Workstation 15.5.
#
#
# [1] https://communities.vmware.com/message/2864262#2864262
# [2] https://github.com/mkubecek/vmware-host-modules
# To build for another version of vmware, just change the path below.
wget https://github.com/mkubecek/vmware-host-modules/archive/workstation-15.5.0.tar.gz
cd vmware-host-modules-workstation-15.5.0
make clean
make
sudo make install
sudo /etc/init.d/vmware restart
sudo modprobe vmmon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment