今天在 Linux 開啟 VMware 的時候突然跳出要更新 module 的訊息
按下 Install 等了一下子,竟然!!!!! 哭啊QQ
解決方法
- 自行 build vmware modules against recent kernels
解決步驟
- clone vmware-host-modules repo
git clone https://github.com/mkubecek/vmware-host-modules.git
- 進入 cloned 的專案
cd vmware-host-modules/
- 先檢查 vmware 的版本
vmware -v
- 切換 repo 的 branch
git checkout workstation-16.2.1
記得後面是您 VMware 的版本對應的 branch,可自行去 git repo 看
- 設定 VMware 的使用者
make VM_UNAME=$(uname -r)
- 安裝
sudo make install
- 檢查 (在這成功就代表 ok 囉)
systemctl restart vmware
systemctl status vmware