File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,16 @@ hdiutil attach /Volumes/Test\ HD/container.dmg
4040asr restore --source /dev/diskXX --target /dev/disk2 --erase
4141=> OK (however, apfs_invert command required)
4242
43+ ########
44+ "container image as device" contains meeningfull whole APFS container (including Preboot, Recovery, VM).
45+ However, this type of image has no partition map information and volume title information.
46+ So, "asr imagescan" and "asr restore" goes to fail.
47+ We have to mount image first by "hdiutil attach", then use "asr restore" command.
48+
49+ When we do this process in booted by macos USB installer, "asr restore"'s last process will be fail.
50+ Because last process is inverting APFS container process, but, macos USB installer has no apfs_invert command.
51+ We need do this process in standard installed macos system or inject apfs_invert to macos USB installer's BaseSystem.dmg.
52+
4353
4454
4555////////
You can’t perform that action at this time.
0 commit comments