I wish to reformat my SD card to use normally again (it currently has one 78MB FAT32 partition and one 3.9GB Linux partition). How do I do this (on Windows/Mac/*nix)?
|
Windows
Mac
LinuxAssuming that your SD card is already mounted.
Enter the following on the command line to format the new partition (replacing x with the number identified in step 1).
Note:
|
||||
|
|
|
You can use
|
@AlexChamberlain in DISKPART, you can generally tell by the capacity of the disk. Once you select a disk, you can also call LIST VOLUME to see all the drive volumes and their labels (so long as your SD card's name shows up, you have the right device). If you're using fdisk, type p to print the partition table and check that the volume labels are correct. If you're using cfdisk, it should show you the volume labels right after you start the command on a device. – Breakthrough Aug 4 '12 at 14:12 |
|
On your cameraMost cameras have a built in Format function, which will use a single FAT partition. My camera even puts it on an erase block boundary. For example, on my Pansonic Lumix, having inserted the card and from any mode, the menu as a Format entry. Selecting it brings up a menu asking me to confirm I wish to delete all the data on the card. Selecting Yes formats the card. |
|||||||
|
|
You can use the official SDCard.org application (Windows / Mac). https://www.sdcard.org/downloads/formatter_3 It's fairly simple and reformats the SDCard in FAT32. There are options for LBA-adjustment and wiping / erasing as well. |
|||
|
|
|
I had a very similar issue. My set up: Computer running on Windows 7 and Sandisk ultra card 16GB. I wanted to format my card for installing Open Elec. So I downloaded SD formatter and tried formatting it. It became a 64 MB card! Tried multiple settings, tried diskpart on CMD and clean format using computer management/disk management console - no luck. Always winimg writer claimed there was no sufficient space in the card. Earlier (that is before using SD formatter) it will expand the space and will install and I subsequently used expand command on Rpi terminal. So here is what I did: Downloaded berryboot (note it is 28 mb!) wrote the image on SD card and booted the Rpi. Berry Boot reformatted the same using its own in built prgm. Now I took the card out and formatted it using the format tool on windows with FAT. Took the card out and re inserted. Now it reads 14.4 GB! Any one stuck like this can try this out. |
||||
|
|
|
No good on Mac with latest OSX. Card cant be erased in any way. |
|||||||
|