【苏州IT外包经验】VMware Workstation pro 14 for Linux not usable with all the kernel 4.13-rc's

Ubuntu升级到17.10后,VMware workstation不能打开虚拟机,提示“The virtual machine is unable to reserve memory. If selecting Retry does not work, try powering off or suspending any other virtual machines first”

一、环境:

物理机:Ubuntu 17.10+VMware workstation Pro 14或12.5

虚拟机:Windows 10、Windows 7、macOS 12

二、解决方法如下 :

1、进入你的个人文件夹或你有修改权限的文件夹

cd ~

2、备份原vmmon.tar文件,胆子大的可忽略此步
cp /usr/lib/vmware/modules/source/vmmon.tar .                   //最后有个点,别忘了

3、提取压缩包
tar xf vmmon.tar

4、下载新的vmmon包

VMware workstation pro 14下载地址:

wget -O ./vmmon-only/linux/hostif.c https://raw.githubusercontent.com/mkubecek/vmware-host-modules/fadedd9c8a4dd23f74da2b448572df95666dfe12/vmmon-only/linux/hostif.c

本地下载

VMware workstation pro 12.5下载地址:

wget -O ./vmmon-only/linux/hostif.c https://raw.githubusercontent.com/mkubecek/vmware-host-modules/b50848c985f1a6c0a341187346d77f0119d0a835/vmmon-only/linux/hostif.c

本地下载

5、将新修改的文件包装成一个压缩包替换原始文件
sudo tar cf /usr/lib/vmware/modules/source/vmmon.tar vmmon-only

6、重新编译vmware内核模块
sudo vmware-modconfig --console --install-all

7、重启物理机
sudo reboot