How to format pendrive in FAT32 format
Does any one know how to format pendrive in FAT 32 format in Debian, I tried Gparted but it have ext3, ext2 and swap format only .
|
Use (c)fdisk to create the partitions and then mkfs to format them.
|
After running fdisk or cfdisk to create a partition as suggested by Nylex, you can use the mkfs.vfat command. Be careful to specify -F32 on the command line, otherwise you will end up with a FAT12 or a FAT16 filesytem. Here is an excerpt from man mkfs.vfat explaining this issue:
Code:
-F FAT-size |
Is not there graphic based more safe way to do this ?, one have to be very careful of will format wrong drive .
|
Quote:
|
Quote:
About fdisk usage, don't be afraid. Just read a good tutorial about partitioning using fdisk (plenty of them online, but you can start from the official Partition HOWTO) then first check the list of drives using Code:
# fdisk -l Code:
fdisk name_of_the_device |
formating it to FAT32 gives "FAT32 is not supported by your system" when reinserted. So can I use ex2 will it work on any windos sys ? Why I always have one "lost+found" folder on pendrive ? it is of 1025MB (1GB) but it always show 49MB used ???
|
1. gparted should be able to format it in fat32 (=vfat)
2. or use the parted magic cd 3. qtparted is another gui option ext2 is more efficient on pendrives...esp if they are 'large' and you want to put 'large' files in them #man mkfs.ext2 |
1. gparted should be able to format it in fat32 (=vfat)
2. or use the parted magic cd 3. qtparted is another gui option ext2 is more efficient on pendrives...esp if they are 'large' and you want to put 'large' files in them #man mkfs.ext2 |
Quote:
Quote:
The lost+found directory is always created on a ext2/ext3 filesystem. It is the place where chunks of corrupted files are stored in order to rescue them. Regarding the used space, it is normal that the filesystem reserves some space for its functionality. The used space increases when the filesystem uses journaling: this is the default for ext3 formatting but can be explicitly set for ext2 as well. |
O.K. that satisfies me , as far as FAT32 is concerned I'm not going to use it as Debian does'nt support it. Thanks for replies.
|
Just out of curiosity, where did we get the notion that Debian doesn't support Fat32? I used gparted to format my pendrive to Fat32, and it's readable in windows, mac, debian, ubuntu, gentoo...etc.
|
FAT32 works just fine with any Linux.
There are actually many ways of formatting a USB flash drive in Linu The quick 'n' easy way: First establish what your stick is. It'll probably be sda1 - but check anyway by looking at the results of the following command (you need to be root to do this): # fdisk -l Assuming it is sda1, you'll need to unmount the flash disk, so: # umount /dev/sda1 Once done, enter the following command to format the flash device to FAT32 # mkdosfs -F 32 -I /dev/sda1 Needless to say, you'll lose everything on the disk so be sure that sda1 really is the flash disk in question! Best switch off any external drives first, just to be sure! USB Flash Memory HOWTO http://tldp.org/HOWTO/html_single/Flash-Memory-HOWTO/ |
All times are GMT -5. The time now is 09:35 PM. |