Skip to content

Commit 6f7fdde

Browse files
authored
Update research.txt
1 parent 3ea2cae commit 6f7fdde

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

research.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,16 @@ hdiutil attach /Volumes/Test\ HD/container.dmg
4040
asr 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
////////

0 commit comments

Comments
 (0)