Tuesday, April 27, 2010

Format USB in Linux !

How can I format my USB flash drive (pendrive) into my Redhat Linux platform ?

Formatting a partition is done using the mkfs tool.if you type mkfs on the command line and then TAB,you will see options like mkfs.vfat, mkfs.ext2, mkfs.ext2, etc.

If your USB Pensdrive was already mounted on linux then need to give the below command :
# mkfs.vfat /dev/hda1

Make sure you know the partition type with "fdisk -l" .

No comments:

Post a Comment