Write a dmg file to a SD-card

Another procedure I cannot remind myself, so here it is in a very short form.

$ hdiutil convert backup.dmg -format UDTO -o raw-image.img
$ mv raw-image.img.cdr raw-image.img
$ sudo dd if=raw-image.img bs=1m of=/dev/rdisk3

Leave a Comment