Instructables

How to: format your SD card back to the original size (WINDOWS)

Picture of How to: format your SD card back to the original size (WINDOWS)
After writing any image with an OS for your raspberry pi, you may have notice that no matter the size of your SD card, windows can only recognize one partition with about 60 mb. If you try to format it in the Computer menu (righ-click on it and press format), it will only free the space in that partition, to have access to the full space you have two options (only one is needed):
- SIMPLE PROCESS: step 1 - SD Formatter
- ADVANCED PROCESS: step 2 - DiskPart
 
Remove these adsRemove these ads by Signing Up

Step 1: SIMPLE PROCESS: SD Formatter

Picture of SIMPLE PROCESS: SD Formatter
1 - Download and install this software (from the SD card Organization) :
https://www.sdcard.org/downloads/formatter_4/eula_windows/SDFormatterv4.zip

2 - Open the program, and select the right drive (in my case is G:), after that just click "FORMAT"

3 - You have just formatted your SD card! CONGRATULATIONS

Step 2: ADVANCED PROCESS: DiskPart

1 - Go to the windows start button, write diskpart and press "enter"

2 - Wait a few seconds and write on this order:
- "list disk" - shows you the disks that are currently connected to the computer;
- "select disk X" - substitute x with the number of the disk
- "clean" - deletes all the data in the SD
- "create partition primary" - creates a partition in the sd 
- "format quick" - makes a quick format

3 - You have just formatted your SD card! CONGRATULATIONS
MarcoK14 days ago

Thanks. I saved may 64 GB SD Card.

Thanks a bunch to the person who made this! just saved an 8gb card from the trash :D

magamig (author)  steven.gagne.370512 months ago

Glad I could help (:

thanks for creating this! i have a stack of cheap sd cards that we're going to try to breathe a bit more life into them by trying this. otherwise, we might go toward making some cool accents for crafting projects.

MaisieK made it!22 hours ago

Thanks! First method is great, saved most of my best SD card! (Don't know where the rest got to but 14.3GB is OK)

Dwm 2015-02-28 14-20-35-80.png
ssrivastava14 made it!4 days ago

In my case , both the methods failed to work (this is what i conclude after observing the space being shown both in command line utility and in windows explorer (win7x64)).
I dont have a memory card reader so i used my samsung galaxy ace to make the card readable by the computer.

After 2 attempts , i felt REALLY BAD and HOPELESS too :(.
But then this happened-

I removed the card from the phone and the phone said "sd card may be damaged , you might want to format it."
I proceeded and disconnected the usb cable and formatted it from phone's utility itself (it asked me to enter the pattern lock password)

and Here I am a happy person. :-)

I just saved myself my 16gb class 10 sandisk micro sd card without worrying about getting replacement from the company (i hate service centers and the troubles they cause).

I would really appreciate if someone can put some light on 'How it might have happened'

Note :- i use it with my raspberry pi and i dont know why the command line interface abruptly stopped recognizing commands today morning. I read in some forums that it IS LIKELY because of the power consumption of the setup ,and the only solution available is to re-install the OS. It will be really helpful if someone can put some light on this thing too.
Thanks :)

16gbcardproblem.bmp

After many failed tries, I got the solution: on my pc (Win 7 64, SD with adapter) I had to unplug and reinsert the card after the "clean" command in diskpart. Lets go Raspberry!

Mecknavorz1 month ago

Thanks! the first one worked :)

MunishN1 month ago

Thanks Guys for sharing this but it didn't work with me. Still my 8 GB Micro SDHC use only 2.7 GB memory.

magamig (author)  MunishN1 month ago

Try to make a disk verification to see if it has no physical problem. And then try both methods here presented.
Please let me know what are the results!

JoyantaR3 months ago

nice tips.... I just made it. thanks

JoyantaR3 months ago

nice tips.... I just made it. thanks

hello thank you for putting this out there but it did not work for me any ideas

magamig (author)  john.chow.7737764 months ago
Have you tried both ways?
What is the error that it gives you?
Does the computer recognize the SD card? And what OS are you using?

just reformatted it in the cam now show 59 gig i think this will work

thx again

magamig (author)  john.chow.7737764 months ago

great news! hope this tuto helped!

the main problem was i used the sd card in my mobus cam before i formated it so it used up about 30 gig on a 64 gig card then i formatted it and it only formatted the unused part wich was about 34 gig now it only sees the 34 gigs

using win 7 so i have try the computer and the stand alone programs and this method with no change

thank you very much for your time to help me