![]() Note the cloning procedure works with software encryption but I expect it would not work with hardware encryption. The only way to do that would be to disconnect the internal drive. So I have not been able to prove that the clone is bootable. I had the clone on an external drive and my computer always chose the internal drive. It is not possible to choose whether the original or the clone will boot the computer, because the UUIDs are the same. I have successfully mounted and unlocked the cloned volume. I wonder whether the purpose of apfs.util -s is to produce an immediate secure erase. The volume UUID is used in the decryption, therefore it must be preserved. The procedure you describe also works with encrypted volumes if you do not change the volume UUID. The only situation where the media speed does not apply is when you are copying between partitions on the same HDD because there will be a lot of head-seeking activity. Then the copy will go at 150MB/s reading and 150MB/s writing and 40GB will take between 4 and 5 minutes. In your example, suppose that the speed of the 128GB SSD in the MacBook Air is 300MB/s. The copying will then go at the speed of the media. Sudo dd bs=1m if=/dev/rdisk0s2 of=/dev/rdisk0s5 Read from the physical partition, disk0s2 in your example, instead of the synthesized disk, disk1. ![]() You can make dd copy much more quickly by doing three things. More programs may request re-activation (re-registration).If you're using Finder Alias files, these may not work any more afterwards (that's because they rely on each file's unique ID, and those IDs change when copying files over to the destination). ![]() The alternative would be to perform a file-by-file copy, as it's done by 3rd party tools like Carbon Copy Cloner.Ī clone operation by copying individual files has several disadvantages over a sector copy: It performs a sector-by-sector copy (while skipping unused sector . ![]() About cloning (copying) entire Mac volumes Usually, when you want to clone a Mac volume, you'd use Disk Utility's Restore operation. TL DR If Disk Utility fails to clone an APFS container, giving "APFS inverter failed" as error message, a work-around solution is to copy the partition with the "dd" command into a same-sized partition, then fix the cloned container's UUIDs. If you have corrections, don't hesitate to comment or email me.) Yet, it contains some valuable information so I decided to publish it now. (This is an older article that I hadn't published back then because it might not be fully accurate, i.e. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |