ubuntu虚拟机运行VMware提示 /dev/vmmon 错误解决

sudo vmware-modconfig --console --install-all
openssl req -new -x509 -newkey rsa:2048 -keyout VMWARE15.priv -outform DER -out VMWARE15.der -nodes -days 36500 -subj "/CN=VMWARE/"
sudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 ./VMWARE15.priv ./VMWARE15.der $(modinfo -n vmmon)
sudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 ./VMWARE15.priv ./VMWARE15.der $(modinfo -n vmnet)
tail $(modinfo -n vmmon) | grep "Module signature appended"
sudo mokutil --import VMWARE15.der
##now reboot
reboot

重启时选择安装key,进入后

mokutil --test-key VMWARE15.der

 

posted on 2023-04-26 08:15  震撼起飞  阅读(257)  评论(0编辑  收藏  举报

导航