Skip to main content

I didn't convert the ISO to img, I just formatted a USB drive for FAT and used dd:

sudo diskutil unmountdisk /dev/disk1
sudo dd if=./debian.iso of=/dev/disk1 bs=1m status=progress

I tested this with Debian 9.

It's important to note that the appropriate /dev/disk# should be determined by using the following command on the macOS command line:

diskutil list

In the question above, the USB device mapped to /dev/disk2 whereas the example above uses /dev/disk1. But the number could be 3 or 4 or some other number. Ensure the number correlates with the memory stick you use; you risk losing data if you get it wrong.

I didn't convert the ISO to img, I just formatted a USB drive for FAT and used dd:

sudo diskutil unmountdisk /dev/disk1
sudo dd if=./debian.iso of=/dev/disk1 bs=1m

I tested this with Debian 9.

It's important to note that the appropriate /dev/disk# should be determined by using the following command on the macOS command line:

diskutil list

In the question above, the USB device mapped to /dev/disk2 whereas the example above uses /dev/disk1. But the number could be 3 or 4 or some other number. Ensure the number correlates with the memory stick you use; you risk losing data if you get it wrong.

I didn't convert the ISO to img, I just formatted a USB drive for FAT and used dd:

sudo diskutil unmountdisk /dev/disk1
sudo dd if=./debian.iso of=/dev/disk1 bs=1m status=progress

I tested this with Debian 9.

It's important to note that the appropriate /dev/disk# should be determined by using the following command on the macOS command line:

diskutil list

In the question above, the USB device mapped to /dev/disk2 whereas the example above uses /dev/disk1. But the number could be 3 or 4 or some other number. Ensure the number correlates with the memory stick you use; you risk losing data if you get it wrong.

Updated to include diskutil information to prevent blindly copy-pasting of this answer's code.
Source Link
Stephen Kitt
  • 481.5k
  • 60
  • 1.2k
  • 1.4k

I didn't convert isothe ISO to img, andI just format usbformatted a USB drive for FAT and use ddused dd:

sudo diskutil unmountdisk /dev/disk1
sudo dd if=./debian.iso of=/dev/disk1 bs=1m

I tested this with debianDebian 9 version.

Note. It's important to note that the appropriate /dev/disk#/dev/disk# should be founddetermined by using the following command on the osXmacOS command line:

$diskutildiskutil list

In op'sthe question above, they found the USB corresponded withdevice mapped to /dev/disk2/dev/disk2 whereas thisthe example above uses /dev/disk1/dev/disk1. But the number could be 3 or 4 or some other number. Ensure the number correlates with the memory stick you use, or elseuse; you can seriously lose or corrupt somerisk losing data if you get it wrong.

I didn't convert iso to img, and just format usb drive for FAT and use dd

sudo diskutil unmountdisk /dev/disk1
sudo dd if=./debian.iso of=/dev/disk1 bs=1m

tested with debian 9 version

Note. It's important to note the /dev/disk# should be found by using the following command on the osX command line:

$diskutil list

In op's question, they found the USB corresponded with /dev/disk2 whereas this example uses /dev/disk1. But the number could be 3 or 4 or some other number. Ensure the number correlates with the memory stick you use, or else you can seriously lose or corrupt some data.

I didn't convert the ISO to img, I just formatted a USB drive for FAT and used dd:

sudo diskutil unmountdisk /dev/disk1
sudo dd if=./debian.iso of=/dev/disk1 bs=1m

I tested this with Debian 9.

It's important to note that the appropriate /dev/disk# should be determined by using the following command on the macOS command line:

diskutil list

In the question above, the USB device mapped to /dev/disk2 whereas the example above uses /dev/disk1. But the number could be 3 or 4 or some other number. Ensure the number correlates with the memory stick you use; you risk losing data if you get it wrong.

Updated to include diskutil information to prevent blindly copy-pasting of this answer's code.
Source Link

I didn't convert iso to img, and just format usb drive for FAT and use dd

sudo diskutil unmountdisk /dev/disk1
sudo dd if=./debian.iso of=/dev/disk1 bs=1m

tested with debian 9 version

Note. It's important to note the /dev/disk# should be found by using the following command on the osX command line:

$diskutil list

In op's question, they found the USB corresponded with /dev/disk2 whereas this example uses /dev/disk1. But the number could be 3 or 4 or some other number. Ensure the number correlates with the memory stick you use, or else you can seriously lose or corrupt some data.

I didn't convert iso to img, and just format usb drive for FAT and use dd

sudo diskutil unmountdisk /dev/disk1
sudo dd if=./debian.iso of=/dev/disk1 bs=1m

tested with debian 9 version

I didn't convert iso to img, and just format usb drive for FAT and use dd

sudo diskutil unmountdisk /dev/disk1
sudo dd if=./debian.iso of=/dev/disk1 bs=1m

tested with debian 9 version

Note. It's important to note the /dev/disk# should be found by using the following command on the osX command line:

$diskutil list

In op's question, they found the USB corresponded with /dev/disk2 whereas this example uses /dev/disk1. But the number could be 3 or 4 or some other number. Ensure the number correlates with the memory stick you use, or else you can seriously lose or corrupt some data.

Source Link
Pavel
  • 501
  • 4
  • 2
Loading