This is how you can format your flash drive(thumbdrive, pendrive) in any linux machine
1. To see what is the filesystem for your flashdrive
2. Type ->
mkfs /dev/sdb1 (The /dev/sdb1 is according to your outcome of the df command previously: refer above diagram)
This command will format the flash drive to ext3 format which is the default.
To format it to fat;
type ->
mkfs -t vfat /dev/sdb1
Blackorga,
ReplyDeleteWhat's the difference if we command direcly the "mkfs -t vfat /dev/"device" to format the flash drive?
You can use "mkfs" to format the drive to ext3 and use "mkfs -t vfat" to format the drive to fat32
ReplyDeletehi,
ReplyDeletethis is a complete page on the topic..
http://www.ehow.com/how_1000631_hard-drive-linux.html
Thanks ankursworld :)
ReplyDeleteIts hard to find the quality post but you have done a nice job buddy.
ReplyDeleteVery useful. Thanks!
ReplyDeleteUseful information!!! I guess this video can help you out, check out USB Protection
ReplyDeleteCan you explain why my OS is asking me to unmount first before formatting.Can' it format when the drive is formatted.Anyway great post,thanks a lot
ReplyDeleteYou really did a great job on that! useful content for people.Linux Flash Drive
ReplyDeleteThanks for the help!
ReplyDelete#1. fdisk -l
ReplyDelete#2. umount /dev/sdc1
#3. mkfs.vfat /dev/sdc1