Closed ZheDude closed 4 months ago
fixed the issue after using my brain for a little while. going to close this now
the fix:
TMP_FOLDER=/tmp/patch-vmware
rm -fdr $TMP_FOLDER
mkdir -p $TMP_FOLDER
cd $TMP_FOLDER
git clone -b tmp/workstation-17.5.2-k6.9.1 https://github.com/nan0desu/vmware-host-modules.git
cd vmware-host-modules/
make
sudo make install
sudo rm /usr/lib/vmware/lib/libz.so.1/libz.so.1
sudo ln -s /lib/x86_64-linux-gnu/libz.so.1 /usr/lib/vmware/lib/libz.so.1/libz.so.1
#sudo mkdir -p /misc/sign-vmware-modules
#sudo chmod 777 /misc/sign-vmware-modules
cd /misc/sign-vmware-modules
openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=MSI/"
chmod 600 MOK.priv
sudo mokutil --import MOK.der
sudo /misc/sign-vmware-modules/signingscript
signingscript:
#!/bin/bash
for modfile in $(modinfo -n vmmon vmnet); do
echo "Signing $modfile"
/usr/src/kernels/$(uname -r)/scripts/sign-file sha256 \
/misc/sign-vmware-modules/MOK.priv \
/misc/sign-vmware-modules/MOK.der "$modfile"
done
System:
the first script used to work perfectly up until i updated to the kernel versions 6.9.6+ from 6.8.11
I tried running both of these Scripts i found online & in this issue -> #257 https://github.com/mkubecek/vmware-host-modules/issues/257#issuecomment-2198321399 :
Script 1:
Error Output at make:
Script 2:
Error Message:
logs: