A method for correcting a formatting error in a flash memory is disclosed.
An error in a first formatting of a first flash memory is discovered, and
a second formatting is extracted from a second flash memory storing
second data. The erroneous first formatting is replaced with a
modification of the second formatting, and first data is stored in the
first flash memory with the modification of the second formatting. The
first data is different from the second data.