Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Finally got ASR to work' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Finally got ASR to work
Authored by: Anonymous on Dec 09, '02 04:43:05PM
After a lot of trial and error, mostly error, I got 'asr' to work.

There were two bugs/limitations in Apple software that I had to deal with, that clouded much of the issue.

  1. Disk Copy 10.2.2 supports disk images larger than 2 Gigabytes, essential to imaging a 10.2.2 release. However, when you create the disk image, you cannot use the sparseimage format. You must create a disk image of the appropriate size (perhaps 10% larger than the files you are going to copy to allow for the block size issue), and then do the copy.
  2. asr can only work on compressed or read-only disk images, that have been unflattened.
What this means in practice

I originally tried to use Carbon Copy Cloner 2 to create the image from a prepared partition on the computer. However, CCC creates a sparseimage format image which led subsequently to all of my headaches in later stages. Once I figured out that creating the image beforehand was essential, everything started to work. You can still use CCC to do all of the useful stuff.

The final steps in the sequence are to unflatten the read-only image, do an image scan, and flatten the image again. After that, you can use asr to prepare all of your disks. Thus:

hdiutil unflatten image.z.dmg
sudo asr -imagescan image.z.dmg
hdiutil flatten image.z.dmg


[ Reply to This | # ]
Finally got ASR to work
Authored by: Chazz on May 01, '03 03:00:05PM

I'm trying to maintain my sanity here. I've gone through all of the messages I can find on this but I'm still having issues with ASR. The really frustrating thing is that I'm not getting error messages, just the help screen from ASR. I'm sure that I'm using the correct syntax, I've tried it with flattened and unflattened, and compressed image files but it's the same resuly. I'd really like to benefit from the wisdom of the group - any insight as to what might be missing?

Thanks.



[ Reply to This | # ]