Skip to content

Instantly share code, notes, and snippets.

@alvmgdev
Created July 17, 2020 08:00
Show Gist options
  • Select an option

  • Save alvmgdev/39ac62be0eb66990b371ecc201f6f356 to your computer and use it in GitHub Desktop.

Select an option

Save alvmgdev/39ac62be0eb66990b371ecc201f6f356 to your computer and use it in GitHub Desktop.

Revisions

  1. @alvaroMerino alvaroMerino created this gist Jul 17, 2020.
    10 changes: 10 additions & 0 deletions burn iso to usb using dd
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    # List block devices
    lsblk

    # Umount.
    # You should replace <?> by letter or number
    sudo umount /dev/sd<?><?>

    # This is a destructive command and wipes the entire USB drive with the contents of the iso, so be careful
    sudo dd bs=4M if=path/to/input.iso of=/dev/sd<?> conv=fdatasync status=progress