vmware在centos启动时提示 Could not open /dev/vmmon: ?????????.Please make sure that the kernel

百度了好久,才发现下面的解决方案,

启动vmware提示" Cannot open / dev/vmmon : No such file or directory"。

  解决办法:

1、进入tmp文件夹 ,cd /tmp

2、将vmware下的vmmon加压到tmp文件夹,tar xvf /usr/lib/vmware/modules/source/vmmon.tar

3、进入vmmon-only,cd vmmon-only/

4、编译,make

5、复制vmmon.ko到内核,cp vmmon.ko /lib/modules/4.4.0-31-genric/misc/vmmon.ko

6、将vmmon模块加载到boot驱动,modprobe vmmon

 

  运行第6步,系统提示" modprobe vmmon, but get error:  modprobe: ERROR: could not insert ‘vmmon‘ : Required key not available"。经过查找,原因如下:thinkpad预装了windows OS,windows系统出厂时会在BIOS内设置secure boot,该模块将会禁止windows系统与windows非授权系统共存(windows的自我保护,也称垄断)。如果需要将linux的module驱动加载,则需要关闭secure boot。重启进入centos,运行modprobe vmmon

vmware在centos启动时提示 Could not open /dev/vmmon: ?????????.Please make sure that the kernel