Fix it yourselfLinux

Issue with VMWare Workstation on Linux: “The virtual machine is unable to reserve memory”

2nd May 2018 — by That IT Guy0

main

Fix it yourselfLinux

Issue with VMWare Workstation on Linux: “The virtual machine is unable to reserve memory”

2nd May 2018 — by That IT Guy0

VMWare Workstation (or player) 12 and 14 have a common issue with newer kernels where they will refuse to run a vm indicating that “The virtual machine is unable to reserve memory” even when there’s plenty of ram available. This can be fixed by recompiling the host modules (note that this does not mean reinstalling will work, it won’t).

First, clone the git:

cd /tmp
git clone https://github.com/mkubecek/vmware-host-modules.git
cd vmware-host-modules
git checkout workstation-14.0.0

Now, recompile and install.

tar cf vmmon.tar vmmon-only
sudo cp vmmon.tar /usr/lib/vmware/modules/source
sudo vmware-modconfig --console --install-all

To finalize, open up workstation or player again and try running a VM, this should now work accordingly. This has been tested on all 3 flavours of Linux Mint, Ubuntu 16.04 LTS and 17.10 with VMWare Workstation 12 and 14.