Monday, June 24, 2013

Pen Drive format


Hello Linux Guru's, 

I  am venkateswarlu ,i have a small problem with usb pen drive(4GB) i ball company. 
while formating the pen drive ,it is not showing any errors but when i press enter all the files it is showning,why pen drive is not formatting?. 
plz help me.. 
# mkfs.vfat  -n 'venku' -I /devsda1
From your email it is clear that you want to create an MS-DOS/Windows XP 
file system under Linux. Try with the followings, I think it will help you 
out. 
[a] fdisk : Partition table manipulator for Linux 
[b] mkfs.vfat : Create an MS-DOS/windows XP filesystem by formatting given 
partition name (/dev/partition) 
First make sure USB pen is not mounted. Click on Places > Computer > 
Select USB pen > 
Right click > Select Unmount Volume. 
From your email /dev/sda1 is your partition name for USB pen. To 
format type the following 
command (Open X terminal and type the command) 
$ mkfs.vfat /dev/sda1 
Now you are ready to use USB pen

Forgot to metion something, 

When done formatting, you'll be returned to the prompt 
pradipta@cn:~$ mkfs.vfat -n 'pradipta' -I /dev/sda (pradipta->name 
you want to keep for your pendrive) 
mkfs.vfat 2.11 (28 Jan 2010) 
pradipta@cn:~$ 
Remove and insert the pen drive to have mounted again! 
1.) Insert Pendrive 
2.) # fdisk -l (Run This Command as root, it will show u all partition with 
name of ur pendrive for example : /dev/sda or /dev/sdb etc) 
3.) # mkfs.vfat *device name* (/dev/sda or /dev/sdb ) (mean name of ur 
pendrive) 
4.) Done 
Happy Learning 



0 comments:

Post a Comment

 
Design by BABU | Dedicated to grandfather | welcome to BABU-UNIX-FORUM