Format USB Drive on Linux


/ Published in: Bash
Save to your folder(s)

First command shows connected drives, may not be mounted.
Second command formats the drive.


Copy this code and paste it in your HTML
  1. fdisk -l
  2. # -c option checks for bad sector
  3. mkfs -t ext3 -c /dev/sde1

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.