Last active
January 20, 2018 16:58
-
-
Save gornostal/59b83f58fce6e15751fb4831e595357a to your computer and use it in GitHub Desktop.
Format USB drive from command line
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lsblk | |
umount /dev/sdc | |
sudo fdisk /dev/sdc | |
d,d,d,d,... | |
n | |
w | |
sudo mkfs.vfat /dev/sdc1 | |
sudo dd if=/path/to/ubuntu.iso of=/dev/sdb bs=1M |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment