`dd`command: ISO to USB Changes Partition Table to APM

command lineusb

I am trying to dd an ISO to a USB so I can install Linux on another computer, but the USB changes from any partition table (GPM or MBR) to APM when it finishes.

I'm using the following command:

sudo dd if=[path of iso] of=/dev/disk2

The command "diskutil list" successfully shows the usb is /dev/disk2 and Disk Utility shows the partition table before has changed to APM.

I've worked with dd and Disk Utility several times in the past and have never until now had this problem. I believe it changed after I upgraded from OS X to macOS.

APM is not able to be used on this computer so the ISO on the USB can't be read. Help?

Best Answer

You're overwriting the disk device, not a partition on it, so yes, some chunk of the data from the ISO is going to overwrite the partition table on your USB device.

You don't provide enough details to determine anything else.