Template:egCreateBootableStick

From RaySoft

Syntax

{{egCreateBootableStick}}

Usage

Code

{{egCreateBootableStick}}

Result

Create a bootable USB flash drive from a ISO image on macOS

Show all external physical devices to find the correct device

diskutil list 'external' 'physical'

Format the USB flash drive with FAT32

sudo diskutil eraseDisk 'FAT32' 'DRIVE_NAME' 'MBR' '/dev/disk3'

Umount the USB flash drive

sudo diskutil unmountDisk '/dev/disk3'

Copy the ISO image to the USB flash drive

sudo dd if='image.iso' of='/dev/disk3' bs='4M' status='progress'

Eject the USB flash drive

sudo diskutil eject '/dev/disk3'