

You can use 'Disk Utility' GUI tool to create and restore images.I recently had to make a High Sierra 10.13.6 bootable USB drive, and the process turned out a bit more involved that just dd-ing the dmg2img-generated ISO to a thumb drive. $ sudo sh -c 'gunzip -c .gz | dd of=/dev/disk2' # Restores compressed image and write /dev/disk2 # $ file : x86 boot sector partition 1: ID=0xc, starthead 130, startsector 8192, 114688 sectors partition 2: ID=0x83, starthead 165, startsector 122880, 6277120 sectors, code offset 0xb8 How do I write dd images to disk again? You can verify your disk with file command:

Open the Terminal application and type the following command to list disks:įig.01: Insert in your SD card, or USB pen/HDD, and see /dev/diskN name


WARNING: Please be careful when running the following commands, as you might destroy essential data or disk. You also need to use diskutil command manipulates the structure of local disks including listing and unmouting disks before you create or write images to disk. Create new disk images from USB or SD card.
