Skip to content

Instantly share code, notes, and snippets.

@kaosf
Created April 16, 2015 12:58
Show Gist options
  • Select an option

  • Save kaosf/3f431e58c04aa0ff789b to your computer and use it in GitHub Desktop.

Select an option

Save kaosf/3f431e58c04aa0ff789b to your computer and use it in GitHub Desktop.
# How to detect sd"x"
lsblk
# If sd"x" is mounted
sudo umount /path/to/mounted-dir
sudo dd bs=4M if=/path/to/os-disc-img.iso of=/dev/sdx && sudo sync
# ref. https://archlinuxjp.kusakata.com/wiki/USB_%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%83%A1%E3%83%87%E3%82%A3%E3%82%A2?rdfrom=https%3A%2F%2Fwiki.archlinux.org%2Findex.php%3Ftitle%3DUSB_Installation_Media_%28%25E6%2597%25A5%25E6%259C%25AC%25E8%25AA%259E%29%26redirect%3Dno
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment