####How to create a bootable usb linux setup on mac (based on Trisquel tutorial )
$ hdiutil convert -format UDRW -o ~/path/to/linux.dmg ~/path/to/linux.iso
Insert your USB stick.
$ diskutil list
again to figure out the device file assigned to your USB stick (e.g. /dev/disk2).
$ diskutil unmountDisk /dev/diskN
where N is the number from the last command. (If your USB stick is /dev/disk2, N would be 2).
$ sudo dd if=/path/to/linux.dmg of=/dev/rdiskN bs=1m
If you see the error dd: Invalid number '1m', replace 1m with 1M in the previous command.
$ diskutil eject /dev/diskN