May 2nd, 2021
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. It is recommended to run the command in the terminal before starting the process:
  2. Code:
  3. sudo pmset hibernatemode 0; sudo rm -f /var/vm/sleepimage
  4. 1. In the guest virtual machine, launch Terminal and enter the following command:
  5. Code:
  6. sudo diskutil secureErase freespace 0 macOS
  7. where macOS is the name of the OS partition
  8. 2. Turn off the virtual machine. We do not pause, but turn it off.
  9. 3. In Windows, start the command line and enter:
  10. Code:
  11. "C:\Program Files (x86)\VMware\VMware Workstation\vmware-vdiskmanager.exe" -k "E:\[Virtual Machines]\macOS Big Sur\macOS Big Sur.vmdk"
  12. where C: \ Program Files (x86) \ VMware \ VMware Workstation is the directory where VMware Workstation is installed,
  13. E: \ [Virtual Machines] \ macOS Big Sur \ macOS Big Sur.vmdk - path to the virtual machine file.Alternative compression method. By TieLay .
  14. In the terminal, execute the following commands in sequence:
  15. Code:
  16. sudo pmset hibernatemode 0
  17. sudo rm -f /var/vm/sleepimage
  18. sudo cat /dev/zero > wipefile
  19. sudo rm wipefile
  20. Next, turn off the car regularly. We follow step 3 of the instructions above.
RAW Paste Data