23 February, 2010

How to format a USB pen drive in linux

The command line procedure for formating the pendrive follows…

1. $ fdisk -l

this command shows the available partitions along with the mounted drives as a list. Identify your pendrive from the list with care. Any change in drive will make your smile little tough.

2. $ mkfs.ext3 /dev/sda or $ mkfs.vfat /dev/sda1

The second command can be used when u need to partition your USB pen as VFAT/FAT32 file system

1 comments:

Anup Shaji on Wednesday, May 12, 2010 said...

Yep!.. its gud ,, but lil tricky...
Its easy when we can use the partition editor software...
connect and identify ur pen drive..->unmount
set the format fat32->right click & format
APPLY... and done!
thats it

Post a Comment

speak out... itz your time !!!

 

Terminal Diary | techblog Copyright © 2009 Gadget Blog is Designed by jintu jacob Powered by Blogger