Sunday, June 17, 2018

Format usb stick / drive using Linux

Get the tool:
sudo apt-get update
sudo apt-get install dosfstools

Mount the stick via GUI
Check its path using:
df -m
(yes there are other more sleek ways to check it)

unmount the drive:
sudo umount /dev/sd<...>

format (FAT32 used as example here):
mkdosfs -F 32 -I /dev/sd<...>

Do not mix up drives, this erases all data irreversibly!

No comments:

Post a Comment