Formatting USB Drives in GNU/Linux

Status
Not open for further replies.

anantkhaitan

Burning Bright
Guide me how do I format any media device be it a hard disk partition or USB drive?

After a bit of Googling I got mkfs : Linux/Unix used to build a Linux file system on a device.
And after going through man pages I issues this for my pen drive:
Code:
mkfs -t vfat -F32 /dev/sda1
But unfortunately : "command not found" :(
I am also not getting any package from where I can install it. (if anyone can give me a link)

Avoid GParted Live CD
 
OP
anantkhaitan

anantkhaitan

Burning Bright
^^
Great man.. It was in /sbin :)
Code:
$  sudo /sbin/mkfs.vfat -F32 /dev/sda1

One more great thing I can specify Volume Label too:
Code:
sudo /sbin/mkfs.vfat -F32 -n AnantFlash /dev/sda1
 
Status
Not open for further replies.
Top Bottom