вторник, 14 августа 2018 г.

Ubuntu 18.04. VMware Player update kernel problem.

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



      

Ubuntu 18.04. Fixing duplicate of the Bookmark folders and the corresponding mounted disks in the Places menu.

The folders in the home folder are good categorized. And I like put files to the corresponding folders in the Home folder: Documents, Downloads, Pictures...
I want that these folders are independent from reinstallation ubuntu, so I created corresponding disks and mounting them in system installation process.

But the Places menu in Ubuntu 18.04 have duplication of Home folders and corresponding mounted disks.

To fix this you need, in Disks program, click on Document disk and add to the mounted options this:

      x-gvfs-hide

After this Document folder and mounted Document disk will not duplicated in the Places menu.