manjaro 无法启动虚拟机-vmmon

manjaro 无法启动虚拟机-vmmon

1. 报错:无法启动虚拟机

Please make sure that the kernel module vmmon’ is loaded. Could not open /dev/vmmon: ???. Please make sure that the kernel modulevmmon’ is loaded.

原因分析:
Unable to install module vmware-workstation/15.1.0_13591040 for kernel 5.2.8-1-MANJARO: Missing kernel headers.

Missing kernel headers

2. 解决

先查看自己的内核

uname -r

Linux HSM-PC 5.6.15-1-MANJARO #1 SMP PREEMPT Wed May 27 20:38:56 UTC 2020 x86_64 GNU/Linux

安装 linux-headers

sudo pacman -S linux56-headers

加载内核模块

sudo modprobe -a vmw_vmci vmmon

报错:无法启动网络
More information can be found in the vmware.log file.Failed to connect virtual device ‘Ethernet0’.

3. 原因分析:

没有设置开机自启虚拟机网络

4. 解决

systemctl restart vmware-networks
systemctl enable vmware-networks

5. 参考

manjaro 无法启动虚拟机-vmmon