在 Ubuntu 12.04 上,我一直愉快地使用 VMware Workstation 6。然后,有一天,在启动 VM 时出现此错误:
Could not open /dev/vmmon: No such file or directory.
Please make sure that the kernel module `vmmon' is loaded.
Failed to initialize monitor device.
Run Code Online (Sandbox Code Playgroud)
我不确定原因,但这可能纯粹是推测性的,因为升级了 Nvidia 驱动程序(这类似于访问牙医办公室,所以请不要告诉我再次使用图形驱动程序。 )
为了寻求解决方案,我使用 GUI 安装程序更新到 VMware Workstation 12。
gksudo bash xxxxx.bundle
Run Code Online (Sandbox Code Playgroud)
我认为在继续安装新版本之前卸载旧版本已经足够聪明了。一切都很好,除了当我尝试启动虚拟机时出现上述相同的问题。确实,正如所建议的,我在我的系统中找不到文件或目录/dev/vmmon(在重新安装到新版本之前也是如此。)
按照另一个明智的建议,我尝试了:
sudo vmware-modconfig --console --install-all
Run Code Online (Sandbox Code Playgroud)
完整的输出(以免我因缺乏提供细节而被否决)是这样的:
Stopping VMware services:
VMware Authentication Daemon done
VM communication interface socket family done
Virtual machine communication interface done
Virtual machine monitor done
Blocking file system …Run Code Online (Sandbox Code Playgroud) vmware ×1