Skip to main content
  1. Notes/

Create Bootable USB (macOS)

Assuming that the disk is /dev/disk2:

# Erases the disk
diskutil eraseDisk FAT32 FloppyDisk /dev/disk2

# Unmounts the disk
diskutil unmountDisk /dev/disk2

# Copies files to the disk
sudo dd if=<path_to_iso> of=/dev/disk2 bs=4m && sync
# OR
# Copies files to the disk using pv utility
pv <path_to_iso> | sudo dd of=/dev/disk2 bs=4m && sync

# Ejects the disk
diskutil eject /dev/disk2

Pipe Viewer