我在Ubuntu 17.10中安装了VMware Workstation 14。 创建了一个分配4 GB RAM的新的kali虚拟机。 我有2 GB的可用RAM和4 GB的免费交换内存,但是当我开启虚拟机时,显示如下错误:
Not enough physical memory is available to power on this virtual machine with its configured settings. It is possible that native applications and/or services have locked down memory which could be preventing the virtual machine from launching. Shutting down unnecessary applications or services may free enough memory to launch this virtual machine. If you were able to power on this virtual machine on this host computer in the past, try rebooting the host computer. Rebooting may allow you to use slightly more host memory to run virtual machines.
我尝试打开其他的虚拟机,也出现同样的状况。于是卸载了VMware Workstation 14,之后安装VMware Workstation 12便能正常打开我创建的所有虚拟机,开来这只是VMware Workstation 14的问题。
解决方法:
sudo su
cd /tmp
cp /usr/lib/vmware/modules/source/vmmon.tar .
tar xf vmmon.tar
rm vmmon.tar
wget https://raw.githubusercontent.com/mkubecek/vmwaremodules/fadedd9c8a4dd23f74da2b448572df95666dfe12/vmmon-only/linux/hostif.c
mv -f hostif.c vmmon-only/linux/hostif.c
tar cf vmmon.tar vmmon-only
rm -fr vmmon-only
mv -f vmmon.tar /usr/lib/vmware/modules/source/vmmon.tar
vmware-modconfig –console –install-all
如果您运行intels板载图形,另一个提示是为了启用3D加速(相应地调整客户机的GFX内存),就像一个7500U的CPU是足够强大的。VMware默认情况下不允许这样做。
mks.gl.allowBlacklistedDrivers = TRUE