If you use VMWare Workstation or player on a Linux host, then you may need (from time to time) to recompile several kernel modules when you update or change your kernel (for example).
...
Code Block |
---|
language | bash |
---|
title | /etc/systemd/system/vmware-modules-rebuild.service |
---|
|
[Unit]
Description=Recompiles vmware modules
Requires=vmware.service
Before=vmware.service
ConditionPathExists=!/dev/vmmon
[Service]
Type=oneshot
ExecStart=/usr/bin/vmware-modconfig --console --install-all
[Install]
WantedBy=multi-user.target |
Warning |
---|
The above systemd service file assumes you have created/installed basic vmware systemd services, e.g. https://wiki.archlinux.org/index.php/VMware#systemd_services. |
Once done reload systemd modules, then enable and start the service you just created:
Code Block |
---|
|
sudo systemdsystemctl daemon-reload
sudo systemctl enable vmware-modules-rebuild
sudo systemctl start vmware-modules-rebuild |
...
- https://kb.vmware.com/s/article/1002411
- https://github.com/mkubecek/vmware-host-modules
- https://wiki.archlinux.org/index.php/VMware#systemd_services
Related articles
Content by Label |
---|
showLabels | false |
---|
max | 5 |
---|
spaces | TKB |
---|
showSpace | false |
---|
sort | modified |
---|
reverse | true |
---|
type | page |
---|
cql | label = "vmware" and type = "page" and space = "TKB" |
---|
labels | vmware |
---|
|
...