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!

  • Your question is under-constrained (hence unclear): what's the content of the disk image and what's the file system of the original source? – klanomath Jan 29 '18 at 23:35
  • Thanks @klanomath. It's an Apple Diagnostics disk image that's currently formatted as macOS Extended. – Jake3231 Jan 29 '18 at 23:45

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
  • Will this make the destination volume bootable? If I use dd to copy the image to an SD card, for example, the SD card becomes bootable and works as expected. Running this command just places the System folder on the volume. This volume is still not available at boot when holding the option key. – Jake3231 Jan 30 '18 at 0:06
  • Probably not. But, you are unclear about what you are trying to do. Can I assume you are trying to take an image created from a bootable JHFS+ volume and restore to a APFS volume and still be bootable? If the answer is yes, then the result will not boot. A single JHFS+ volume can be bootable, while APFS requires multiple volumes to boot macOS. – David Anderson Jan 30 '18 at 0:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .