Skip to content

Instantly share code, notes, and snippets.

@alvmgdev
Created July 17, 2020 08:00
Show Gist options
  • Save alvmgdev/39ac62be0eb66990b371ecc201f6f356 to your computer and use it in GitHub Desktop.
Save alvmgdev/39ac62be0eb66990b371ecc201f6f356 to your computer and use it in GitHub Desktop.
# 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment