dd

Copy an ISO to a thumb drive using dd

  1. The thumb drive may have mounted automatically
    • unmount /dev/disk/by-id/<blah-blah>
  2. Copy from if (input file) to of (output file)
    • dd bs=4M if=/path/to/file.iso of=/dev/sdx status=progress or
    • dd bs=4M if=/path/to/file.iso of=/dev/disk/by-id/<blah-blah> status=progress

Write random

  1. Copy random data
    • dd bs=4M if=/dev/urandom of=/dev/disk/by-id/<blah-blah> status=progress