Resize APFS partition and move it to another hard drive

Solution 1:

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.