If updating kernel is failed in VMware Player, try to use this command to see all errors in code:
sudo vmware-modconfig --console --install-all
Now you can see all errors are marked in red. To fix them you need to go to the source folder:
cd /usr/lib/vmware/modules/source
Here is archived sources of VMvare modules and we need to fix them.
In my case, all problems was related with files from vmmon.tar archive, so first I duplicate it:
sudo cp vmmon.tar vmmon_old.tar
Then I extract it by:
sudo tar xf vmmon.tar
Then I apply patches from here, then from here (find you error in 308 cases), and finally from here on extracted files. You can manually changed the extracted source files by gedit for example.
After change source files, its need to update an existing source archive (in my case it's vmmon.tar) by:
sudo tar cf vmmon.tar vmmon-only
Then try again:
sudo vmware-modconfig --console --install-all
If process gone successfully, you can clean the extracted source files:
sudo rm -rf vmmon-only
And remove duplicate:
sudo rm -f vmmon_old.tar
By materials:
1
2
3
4
sudo vmware-modconfig --console --install-all
Now you can see all errors are marked in red. To fix them you need to go to the source folder:
cd /usr/lib/vmware/modules/source
Here is archived sources of VMvare modules and we need to fix them.
In my case, all problems was related with files from vmmon.tar archive, so first I duplicate it:
sudo cp vmmon.tar vmmon_old.tar
Then I extract it by:
sudo tar xf vmmon.tar
Then I apply patches from here, then from here (find you error in 308 cases), and finally from here on extracted files. You can manually changed the extracted source files by gedit for example.
After change source files, its need to update an existing source archive (in my case it's vmmon.tar) by:
sudo tar cf vmmon.tar vmmon-only
Then try again:
sudo vmware-modconfig --console --install-all
If process gone successfully, you can clean the extracted source files:
sudo rm -rf vmmon-only
And remove duplicate:
sudo rm -f vmmon_old.tar
By materials:
1
2
3
4
Комментариев нет:
Отправить комментарий