How to restart a mac from command line software#
There were two bugs/limitations in Apple software that I had to deal with, that clouded much of the issue. Something seems to be going wrong with these steps.Īfter a lot of trial and error, mostly error, I got 'asr' to work. Once these are done, the image is "unflattened", i.e., made multipart so that the checksums can be appended. A compressed image can still be mounted so that checksums can be computed for many of the files and folders. There are several things going on, after some reading. Function not implemented.Īsr: image scan failed - Function not implemented. usr/bin/hdiutil: detach: "disk1s2" detached successfully.Īsr: unable to unflatten "macosx10.1.5a.dmg" - %s.Īsr: unable to write UDIF info into "macosx10.1.5a.dmg" - 78. usr/bin/hdiutil: detach: "disk1s1" detached successfully. usr/bin/hdiutil: detach: "disk1" detached successfully. Here is the sequence I got with the latest one: I decided to skip the conversion step and simply go from a disk partition to a compressed image and see what 'asr' could do with that. It looks like it is just system images (perhaps the boot block info?) that have the problem. Several different sizes, including a 2 gigabyte one that was almost completely full.
I have prepared images and compressed them or converted them to read-only, mounting them successfully afterwards.