I have a plain disk image, created from using dd
. When I try to mount it in Sierra (10.12.6), DiskImageMounter.app
tells me:
legacy image should be converted
How do I perform such a conversion?
I tried hdiutil
but had no success:
$ hdiutil convert -format UDCO -o output.img input.dimg
hdiutil: convert failed - image not recognized
The trouble may come from the fact that this image contains the contents of the APFS container partition, so DU may not recognize it as any known format. Still, it should allow me to convert it into a plain disk image so that I can at least attach it, even if it won't mount.
Alternatively, how can I attempt to attach a plain disk image with some other command (not hdiutil
) so that I could then use Disk Utility to make a new image from it? I mean the way I can use the loopback interface on Linux, for instance.
Note: The original Disk Utility (pre-10.11) was apparently still able to convert such an image, but the new one isn't.