-
Determine the device path for USB device
For this example, we will use
/dev/sdf
as our USB device. -
Make sure USB device is not mounted
sudo umount /dev/sdf
-
Create correct partition table with
fdisk
# IF USING UEFI sudo fdisk /dev/sdf # g create a new empty GPT partition table # w write table to disk and exit
# IF USING BIOS sudo fdisk /dev/sdf # o create a new empty DOS partition table # w write table to disk and exit
-
Run dd to write ISO to USB device
sudo dd bs=4M status=progress if=image.iso of=/dev/sdf
-
Run
sync
to make sure all data written to USB before removing itsudo sync