• 使用debian,一时手贱update了下系统,vmware虚拟机无法使用,升级vmware版本,仍报错‘Not enough physical memory’, 求助google,解决。
  • 大概原因是vmware有个限制的physical memory的设定,不让intel的显卡开启3d加速一类的功能,解除这个限制,更新了就ok了,命令如下:
1
2
3
4
5
6
7
8
9
10
11
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/vmware-host-modules/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