![]() ![]() what about this? > sudo asr restore -source /dev/disk0s2 -target /dev/disk7 -erase -sourcevolumename BismarckOS ![]() > sudo asr restore -source /dev/disk0s2 -target /dev/disk7 -erase Well, we could try to specify container partition as the source of restore operation. Feel free to comment with your experiences.Īnd if you try to pass in -sourcevolumename, it answers in gibberish: > asr restore -source /dev/disk1 -target /dev/disk7 -erase -sourcevolumename BismarckOSĬouldn't set up partitions on target device - operation AddAPFSVolumeToContainer, line #5334 - error 49165 Not sure if non-standard Nix Store volume has anything to with it. You must pass -sourcevolumename or -sourcevolumeUUID to specify which volume to restore.Ĭould not validate source - Invalid argument Source "/dev/disk1" contains multiple system/data volumes. > asr restore -source /dev/disk1 -target /dev/disk7 -erase The problem is that asr newly tests source of restore operation and if it contains multiple system/data volumes then it simply gives up.Ģ: Apple_APFS Container disk1 499.4 GB disk0s2Ġ: APFS Container Scheme - +499.4 GB disk1ġ: APFS Volume BismarckOS - Data 439.6 GB disk1s1ģ: APFS Volume Recovery 529.0 MB disk1s3ĥ: APFS Volume BismarckOS 11.5 GB disk1s5Ħ: APFS Volume Nix Store 616.0 MB disk1s6Ģ: Apple_APFS Container disk7 500.8 GB disk6s2ģ: Apple_APFS Container disk8 499.5 GB disk6s3Ġ: APFS Container Scheme - +500.8 GB disk7 Unfortunately they broke the workflow I described in the previous article. Maybe someone could explain how is this supposed to work? The good news is that Apple devs definitely worked on improving this under Big Sur and added some documentation (see man asr).īut I didn't understand it fully on first read. The main trick was to create a DMG file with multiple volumes, mount it on target machine and drop to command-line to do asr restoreįrom synthetised disk while avoiding possible pitfalls. Last year I wrote how I managed to clone my macOS system under Catalina. One would expect it would be a simple copyĪnd paste in the Disk Utility app but this is still far from reality. ![]() It is the year 2020 and replicating APFS containers still sucks. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |