
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.ko
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/vmnet.ko
Linux 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
Congratulations @an1info! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)
Your next target is to reach 30 posts.
You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word
STOPCurated!
Please vote for the new Ecency Proposal
Finally seeing vmmon show up in lsmod is like finally locating that one invoice you lost in the stack :)
The way you used mokutil to import thier key really saved a lot of headache.
Im glad you got past the secure boot hurdle, that part can be a real pain.
It was more easy than I expected, guess the Linux docs are secretly written for accountants.
This post has been manually curated by @bhattg from Indiaunited community. Join us on our Discord Server.
Do you know that you can earn a passive income by delegating to @indiaunited. We share more than 100 % of the curation rewards with the delegators in the form of IUC tokens.
Here are some handy links for delegations: 100HP, 250HP, 500HP, 1000HP.
100% of the rewards from this comment goes to the curator for their manual curation efforts. Please encourage the curator @bhattg by upvoting this comment and support the community by voting the posts made by @indiaunited.