Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to format my USB stick to ext2. I have following tools installed. But don't know how to use them for my case:

  • Cygwin – I'm just a starter and not surely know how to use. (mkfs is also not included.)
  • Ext2Fsd – Don't know how to format Ext2. I found Change Partition Type and there are many types which I don't know.

Can anyone please guide me with steps on any of above tools (or) are there any other solutions?

share|improve this question
Partition manager can do it, and it has a trial... – soandos Jul 25 '11 at 22:00
What version do you mean? Are you please sure for "USB" drive? Because i have Partition "MAGIC" (not "Manager") 8.0 Version and it also supports Ext2/3 but don't support USB drives.. :( – 4lvin Jul 25 '11 at 22:09
Why would you want to format a USB drive as ext2? – Ignacio Vazquez-Abrams Jul 25 '11 at 22:19
partition manager, version 9 could do it, now up to 11 – soandos Jul 25 '11 at 22:19
Do you please mean "Paragon" PM, right?? Coz i'm afraid i'll get wrong one as there are a lot Partition Managers out there. – 4lvin Jul 25 '11 at 22:24

Install the e2fsprogs package from the installer and then you get the mke2fs (mke2fs.exe) command. Then, read this starting at the section "POSIX devices" to learn what device to tell it to format.

I've never done this. Be careful.

share|improve this answer
Now i have installed e2fsprogs. (But there is no e2fsprogs inside Cygwin call, by pressing "Tab" also. Is is normal?) Then how can i get mke2fs ? Please guide me on further steps. – 4lvin Jul 25 '11 at 23:24
@4lvin: mke2fs is part of e2fsprogs. Like Word is part of MS Office. There is no program called e2fsprogs. – Aluísio A. S. G. Jul 25 '11 at 23:42
So you mean, now i should have called and seen mke2fs inside Cygwin, right? But there, "no" mke2fs is up inside my Cygwin. Why? (or) What should i do next? – 4lvin Jul 26 '11 at 0:10
According to this - - it's /usr/sbin/mke2fs.exe. – LawrenceC Jul 26 '11 at 3:09
e2fsprogs puts mke2fs in /usr/sbin, which is not in the default path. – user140148 Jun 14 '12 at 15:58

sorry - formatting on answer is nasty

    echo -e "\nFormatting USB Key ${usbKey}"
    yy=`date +'%d%m%y'`
    echo "usbPath=${usbPath}"
    dosUSBPath_=`echo ${usbPath}|cut -d "/" -f3`; 
    dosUSBPath=`echo "${dosUSBPath_}:"`
    /cygdrive/c/Windows/System32/ ${dosUSBPath} /fs:fat32 /v:${yy} /q /x /y 
    echo -e "\nDrive contents now are :"; ls -lrt ${usbPath}

Will format the MicroSD card

/cygdrive/c/Windows/System32/ d: /fs:fat32 /v:210115 /q /x /y

The type of the file system is FAT32. QuickFormatting 7600M Initializing the File Allocation Table (FAT)... Format complete. 7.4 GB total disk space. 7.4 GB are available.

    4,096 bytes in each allocation unit.
1,941,503 allocation units available on disk.

       32 bits in each FAT entry.

Volume Serial Number is 2068-BD0A

share|improve this answer
In the future you can just click the "edit" link below your post to fix the formatting after posting. – nhinkle Jan 22 '15 at 1:55
The OP wanted to format in ext2, not FAT32. – Kev Mar 24 '15 at 14:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .