How to Make Bootable APFS Volume From Disk Image

I am currently using terminal to early and quickly add APFS volumes to my Mac's APFS container.

Once I make an empty APFS volume in the container, how can I copy a disk image to it and make it bootable? I have tried using dd, but there have been various issues that seem to keep this from working. Thanks!


Solution 1:

I would try rsync. Below is an example of the syntax. Here, I assume the source is the mounted disk image volume and the destination is the apfs volume.

rsync  -a  /Volumes/source/*  /Volumes/destination