Fix “Could not open /dev/vmmon” Error on Linux | VMware Workstation Kernel Module Fix
After the configuration of the operating system for installation on VMware Workstation, when you click on Start up this guest operating system, you have to face another error- Could not open /dev/vmmon: No such file or directory. Please make sure that the kernel module 'vmmon' is loaded.
To fix this error, we have to install and configure vmmon, vmnet, and dependencies. For the process, you can close the VMware Workstation.
Open the terminal and process the following command.
sudo vmware-modconfig --console --install-allUpdate the system-
sudo apt updateInstall build-essential linux-headers-
sudo apt install build-essential linux-headers-$(uname -r)Configure and install VMware modconfig console-
sudo vmware-modconfig --console --install-alCheck if secure boot is enabled or not. If not, you can enable it from the system BIOS.
mokutil --sb-stateConfigure the vmmon-
lsmod | grep vmmonsudo modprobe vmmonInstall mokutil and openssl-
sudo apt install mokutil opensslCreate a directory for VMware signing-
mkdir -p ~/vmware-signingOpen the directory-
cd ~/vmware-signingDownload and configure the VMware Module Signing Key-
openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=VMware Module Signing/"Import the MOK-
sudo mokutil --import MOK.derHere, set a minimum of 4 digits of password, and confirm the same password again
Restart your system-
rebootWhile rebooting the system, here press any key within 10 seconds to perform MOK management-
Here, select Enroll MOK and press enter-
Here, select Continue and press Enter-
Here, select Yes and press enter-
Now, type the password that we have set on the terminal and press enter-
Here, select Reboot and press Enter-
After a successful start, your system processes the next command in the Terminal.
Configure the vmmon, and vmnet
modinfo -n vmmonYou will latest module version info of the vmmon, which will be used in the upcoming command
modinfo -n vmnetYou will latest module version info of the vmnet, which will be used in the upcoming command
Import the latest module of vmmon and vmnet, make sure to change to the recent version of vmmon or vmnet.
sudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 ~/vmware-signing/MOK.priv ~/vmware-signing/MOK.der /lib/modules/6.17.0-19-generic/misc/vmmon.kosudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 ~/vmware-signing/MOK.priv ~/vmware-signing/MOK.der /lib/modules/6.17.0-19-generic/misc/vmnet.koLinux to unload (remove) the VMware kernel modules vmmon and vmnet from the running kernel.
sudo modprobe -r vmmon vmnetLoads the vmmon and vmnet kernel modules into the running Linux kernel.
sudo modprobe vmmonsudo modprobe vmnetCheck if vmmon and vmnet are loaded or not.
lsmod | grep vmmonlsmod | grep vmnet
Now it's all done, the error should be fixed, and next, we will learn how to install Windows 11 on VMware.
You can also watch the video tutorial to fix this error-
Leave Fix “Could not open /dev/vmmon” Error on Linux | VMware Workstation Kernel Module Fix to:
Read more #hive-197685 posts
Best Posts From AN1INFo
We have not curated any of an1info's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From AN1INFo
- Set Up Google Authenticator 2FA on a Linux System
- How to install VMware tools in Windows and Linux.
- Install Ubuntu 26.04 LTS on MAC VMware Fusion
- Download and Configure Ubuntu 26.04 for installation on VMware Fusion.
- Download and install VMware Fusion on Mac.
- How to Fix Internet Not Working in Linux VMware (Windows 11 VM)
- BYPASS “Install Driver” | Install Windows 11 on Linux VMware Workstation. (Part- 2)
- Install Windows 11 on Linux VMware Workstation. (Part- 1)
- Fix “Could not open /dev/vmmon” Error on Linux | VMware Workstation Kernel Module Fix
- Download and Configuration for Installing Windows 11 on Linux VMware Workstation.
- gcc not found on Linux VMware.
- Install VMware Workstation Pro on Linux + Fix vmmon, gcc & All Errors (Full Guide)
- Install OBS Studio on Linux, Free open-source Broadcaster Software.
- How to create a Windows 11 bootable pen drive on Linux
- Fix Linux Remote Desktop Password Changing After Reboot
- Upgraded My Studio with a microphone stand.
- Fix ‘Unable to Access Location’ Error in Linux
- Microsoft Office 2024 Free Download on Windows (No Crack, 100% Legal)
- Keep Linux Running When Laptop Lid is Closed!
- Most popular data compression encrypt software for Windows, MacOS and Linux operating system.