'Couldn't set up partitions on target device - operation AddAPFSVolumeToContainer, Line #5481' upon drive restoration

Trying to Restore my 2015 iMac to a SSD drive, it's saying 'Couldn't set up partitions on target device - operation AddAPFSVolumeToContainer, Line #5481


iMac (21.5-inch, Late 2015)

Using macOS Monterey 12.6.9

Trying to restore to a WD SSD Drive 1TB, formatted to APFS.

Also getting The operation couldn’t be completed. (OSStatus error 49153.)


How can I fix this?


[Edited by Moderator]


iMac 21.5″, macOS 12.6

Posted on Oct 31, 2023 11:29 AM

Reply
Question marked as Top-ranking reply

Posted on Nov 1, 2023 6:21 PM

Thanks for confirming. Disk Utility has never been reliable for cloning a macOS boot drive. The third party app Carbon Copy Cloner (CCC) is one of two popular & respected apps for cloning a macOS boot drive. By default CCC will only copy the data, so to make the CCC clone bootable, you must right-click or Control-click on the destination within CCC and select "Legacy". CCC will prompt you to erase the destination. See this article as reference:

https://bombich.com/kb/ccc6/cloning-macos-system-volumes-apple-software-restore


Another option would be to install macOS 12.6.7 onto the external SSD, then during initial setup migrate everything from the internal drive. This latter option does not require any third party software.

Similar questions

5 replies
Question marked as Top-ranking reply

Nov 1, 2023 6:21 PM in response to Ian12457

Thanks for confirming. Disk Utility has never been reliable for cloning a macOS boot drive. The third party app Carbon Copy Cloner (CCC) is one of two popular & respected apps for cloning a macOS boot drive. By default CCC will only copy the data, so to make the CCC clone bootable, you must right-click or Control-click on the destination within CCC and select "Legacy". CCC will prompt you to erase the destination. See this article as reference:

https://bombich.com/kb/ccc6/cloning-macos-system-volumes-apple-software-restore


Another option would be to install macOS 12.6.7 onto the external SSD, then during initial setup migrate everything from the internal drive. This latter option does not require any third party software.

Nov 1, 2023 11:24 AM in response to HWTech

Hello HWTech,


My iMac is taking along time to boot up, I'm trying to copy the original Macintosh HD to a WD SSD drive. So that I can use the much quicker SSD to start the iMac, meaning that the iMac fusion drive will no longer be used.

I'm using 'Restore' on 'Disc Utility', I have formatted the SSD to APFS, the same as the iMac HD.


But I'm getting the above message and error.


Is there another way to copy the information over to the SSD. ?


Ian12457

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

'Couldn't set up partitions on target device - operation AddAPFSVolumeToContainer, Line #5481' upon drive restoration

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.