Commands
- Format the USB pen as MS-DOS FAT
hdiutil convert debian-live-12.5.0-amd64-xfce.iso -format UDRW -o debian- Find disk number of the USB drive using
diskutil list. It's important to get this right. In this case it's number 3 diskutil unmountDisk /dev/disk3sudo dd if=debian.dmg of=/dev/disk3 bs=1mdiskutil unmountDisk /dev/disk3