How to format a pendrive from console

July 26th, 2010 by admin | Posted under Tips.

If you want to reformat a flash drive and can do it from console, just need to follow some short instructions.

To do this we must put the following command in the console, we must do as root:

mkfs.vfat -I /dev/sdb1 

(Where / dev/sdb1 partition to reformat)

If you’re on Ubuntu or derivative distributions can do this by adding the command “sudo”:

sudo mkfs.vfat -I /dev/sdb1 

Tags: , , , ,

Do you have any comments on How to format a pendrive from console ?