i found this piece downtown. makes me want to make something better.
Month: August 2017
Monitoring power usage is sometimes my only insight.
I have been working on a number of Raspberry Pi projects in various stages of working. To distract from more difficult projects (not to mention nostalgia and fun) I have been building an Adafruit PiGrrl portable classic game emulator. At several points with this project or other without a lot of feedback from the device I’m working with, I’ve relied on milliamp readings from the Mico USB Cable/Voltage Display. This tiny bit of information is incredibly helpful in determining what my Pi is up too. Idle? Booting? Overwhelmed? In the land of the blind the one eye’d man is king. At the very least it reduced the total time waisted waiting on crashed or other broken attempts.

Remember when Migration Assistant worked with Disk Images?
I don’t exactly recall when Apple’s Migration Assistant started logging out the user (10.9ish), but since then it has been a little more irritating to migrate from a dmg or other image format (as opposed to a source hard drive or time machine backup). Here is a simple Terminal command to mount the image as root and thus keep it mounted after logout.
sudo hdiutil attach diskimage.dmg
This process does require running a checksum, and for larger images that could take a while. Once you run this command and it completes its verification of the disk image, simply run Migration Assistant and complete the migration. After migration and a restart, the image is unmounted and you are ready to work on your newly migrated mac. (note: migration can also take quite a while depending on the amount of data)
Note: to skip verification, use -noverify (only do this if time is critical. You will want the cleanest possible start to your newly migrated computer).


