Resize APFS partition and move it to another hard drive

apfsdisk-utilityhard drivepartition

I have a 500 GB external USB disk that contains a 465GB "APFS container", with Mac OS X Catalina, bootable (with the trick "Press and hold the Option (Alt) key immediately after turning on or restarting your Mac")

I need to use this disk for something else, and I need to move it to another 320 GB disk.

How to do that?

  • First how to shrink the 465 GB to 300 GB (only < 100 GB are used)? Is it possible from another Mac OS High Sierra computer or another Linux or another Windows computer?

  • Then how to copy the partition to the 320GB so that it will still be bootable?

Best Answer

Apple documentation states you should be able to replicate a bootable APFS container to a new drive. Unfortunately, the GUI based software from Apple is wrought with bugs. Below are the steps I preformed to successfully clone Catalina macOS 10.15.5 to a new USB drive. To be honest, I admit this was tested using a VirtualBox virtual machine.

  1. Boot to macOS Recovery. I booted to the macOS Recovery APFS volume on the 465 GB USB drive.

  2. Plug the 320 GB drive in a USB port

  3. Open the Disk Utility.

  4. Under the View pulldown, select Show all Devices.

  5. Highlight the 320 GB Drive, then select the Erase button.

  6. Use the selections shown below, then select the Erase button.

  7. Quit the Disk Utility, then open the Disk Utility.

  8. Highlight the MyNewUSB volume, then select the Restore button. From the Restore from pulldown list, select the existing external USB macOS volume, as shown below. When finished, select the Restore button.

    Note: This will replicate the macOS, macOS - Data, hidden Preboot and hidden Recovery volumes.

  9. When finished, quit the Disk Utility, then open the Disk Utility.

  10. Visually, check the results.

  11. Quit the Disk Utility.

  12. Shutdown the Mac.

  13. Unplug the 465 GB USB drive.

  14. Start the Mac and immediately, hold down the option Key until the Mac Startup Manager icons appear.

  15. Hold down the control key and select to boot from the 320 GB USB drive. Note: This first boot took longer than normal.

Related Question