Home / Blog / Troubleshooting

A corrupted SD card has lost its index, not your photographs — and here is the way back

What the message is actually reporting

A "you need to format the disk before you can use it" message is a frustrating example of how the language used by computers can be a less-than-helpful way of describing what has gone wrong. The memory card stores two kinds of information: first, the photographs; secondly, a very small table which tells the computer where on the card each photograph begins and ends. If this little table (index) becomes damaged or corrupted, the computer that accesses the card will receive no response when asking its usual simple questions about where data is, and therefore concludes there is nothing there and asks if it can start everything new. The photographs have not moved an inch.

The prompt is only dangerous because of what it invites you to do. When you format the memory card you are creating an entirely new, empty index over the bad one, and shooting another frame writes new data over the space the old ones used. Neither can be undone. Until either of these things happen, all of the photos are still stored on your memory card in their original form, and therefore your best action when your memory card starts acting up is to take it out and leave it out.

Five minutes of checking that risks nothing

Before you make any decision, rule out the obvious reasons, as two of them are genuinely common, for why your SD card is reading poorly or incorrectly. The first can be caused by the little write-protect switch on the side of a full size SD card, which slides into position on its own when the card is in a bag. When this happens your SD card may read oddly or not at all. A second cause could be grease and grime on the contact points from handling the card, and grit that accumulates in pockets. This can easily be resolved by gently wiping the contact areas with a soft, dry cloth. Another important factor often overlooked is the quality of the reader. A low cost USB reader that has spent over 3 years in a camera bag, or a laptop slot that has had a hundred insertions, will misread an SD card that is read flawlessly by a decent reader. Try the card in a different reader and a different computer before concluding anything about the card.

What not to do is a far shorter list, but much more important. Please do not format your card, no matter how politely you are asked. Please do not put the memory card back into the camera and shoot "just a few" photos to test it. And please don't allow a free recovery software tool to write its results back onto the same memory card; this is by far the most common way a recoverable shoot becomes only partially recoverable. And if you see cracks on your memory card, or its contact points appear damaged, then stop: continuing to flex or press on the card could damage the connections inside and turn a simple job into chip-level work.

If the card will not even format

In some cases the format itself fails, which can appear worse but is often far more informative. A memory card that won't format, appears to have only a fraction of its total capacity, or shows as 0 MB, is likely to have a controller issue (the small processor that presents your flash memory to other systems is no longer translating properly) rather than an indexing issue. Consumer tools cannot see past a controller like that, and the low-level format tools the internet recommends are, on a card holding anything you care about, an excellent way to lose it.

The bench route past a failed controller is to no longer ask it nicely. When the controller still responds, the card is imaged behind a write-blocker in slow, careful passes. If it doesn't respond, the flash memory itself is read directly on a specialised programmer, the controller's own filing structure is rebuilt, and then the images are carved out based on their content signatures (what makes each image). Although this process is slower and more expensive, the photos come from the same source either way.

How the frames get back to you

We never alter your original card. Instead, we create a full sector-by-sector copy of it, and rebuild your lost data on this duplicate (not your original), so a card that is deteriorating cannot get worse under our hands. The file system is rebuilt where enough of it remains recoverable. Where it does not, the photographs are recovered by their content, as RAW files and JPEGs have recognisable beginnings. Recovered files are then opened or rendered instead of simply being counted, because a file that exists and a file that displays are not the same thing.

Broads photographers produce a constant stream of this work for us, and this is no coincidence. The cards are stored in bags on the boat. They are swapped with cold hands as early morning light breaks over the water at Hickling or Ranworth. Dampness from the mooring clings to them wherever they go. After a season of inserting and removing a card, its deterioration is real. Tape your card inside a stiff piece of folded card. Place it in a padded envelope. Get a quote. Send it via tracked and fully insured post. A single card costs mere pennies to send, and there is zero cost for the diagnostic regardless of the verdict.

Hold a single line and the shoot survives. That prompt is simply describing a bad index; your photographs are untouched behind it. You'll be able to recover the images on the card as long as nothing writes to the card again (a format or a fresh frame). Post the card untouched and have the recovery work from a copy, which then takes all the risk.

// questions on this topic

Common questions

You haven't made it impossible, but you have made the job more difficult and the result less certain. A quick format creates a brand-new, empty index with the picture files still in their original locations (so a lot can usually be restored), while a full format, or taking another shot afterwards, overwrites the images themselves, and that part cannot be restored by anyone.
Because the fault is below the level a format works at. Your card's controller has failed to translate reliably, and therefore consumer tools cannot get a clean instruction through to the memory. This does not mean there is a problem with the photos themselves, rather that the front door of the card has stuck, and the flash is read directly instead of going through the controller.
The majority of these cases are a failure with the controller or firmware and not data loss. When a card fails like this, it will report incorrect geometry. This is how a 128 GB SD card can claim to have a total capacity of 31 MB. In this case, do not use a tool designed for repairing or low-level formatting the card, because once the memory is read past the controller on our bench, the reported size does not matter.
Most of the time, if nothing has used this card since the deletion. Deletion removes the reference to an image but doesn't delete the image itself, so the frames remain in place waiting to be overwritten. Your biggest enemy here is continuing to use the memory card: each new image captured, or each recovery program you run which stores its results back to that memory card, will reduce what is left to find.

Read enough — want it recovered?

Free diagnostic inside 2 working days of arrival and a fixed quote; on logical faults you only pay if we recover your data. Start online or ring the freephone now.