Skip to content

Instantly share code, notes, and snippets.

@stephen-hannam
Last active November 3, 2022 09:22
Show Gist options
  • Select an option

  • Save stephen-hannam/ee0547e16da27d09e78d40b562ad95d2 to your computer and use it in GitHub Desktop.

Select an option

Save stephen-hannam/ee0547e16da27d09e78d40b562ad95d2 to your computer and use it in GitHub Desktop.
USB ISO: Use DD & MKFS to Make a Bootable USB from ISO in BASH

DD, MKFS -> bootable ISO

$ umount /dev/sdx*
$ sudo fdisk –l
$ sudo mkfs.vfat /dev/sdx –I
$ sudo dd if=[path to iso] of=/dev/sdx

monitor progress $ pgrep –l ‘^dd$’ get the PID returned $ kill –USR1 [PID]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment