Shrink guest on hosted platform: Difference between revisions
Shrink guest on hosted platform (view source)
Revision as of 22:37, 7 September 2022
, 7 September 2022→Shrink the disk
Line 141: | Line 141: | ||
Note that vmware-vdiskmanager is probably not in your search path, so you might have to prepend the vmware-vdiskmanager command with the actual path with the command is located. | Note that vmware-vdiskmanager is probably not in your search path, so you might have to prepend the vmware-vdiskmanager command with the actual path with the command is located. | ||
If you need to use "sudo" in order to be able to run the above then beware that the ownership of the .vmdk files might get changed to root. | On macOS you run it as: | ||
/Applications/VMware\ Fusion.app/Contents/Library/vmware-vdiskmanager -k Ubuntu\ Desktop.vmdk | |||
If you need to use "sudo" in order to be able to run the above then beware that the ownership of the .vmdk files might get changed to root. So certainly try it first without running as root! | |||
You will have to change the ownership back to your own user, eg: | You will have to change the ownership back to your own user, eg: |