8GB SD Card with FAT32 and Ext3 partitions

Using TestDisk to repair the filesystem
Message
Author
dinsx
Posts: 1
Joined: 02 Apr 2012, 11:19

8GB SD Card with FAT32 and Ext3 partitions

#1 Postby dinsx » 02 Apr 2012, 12:17

Hi. Yesterday when I connected the SD to my computer, my PC said that the SD need to be formatted. The ext3 seems to be healthed but the FAT32 partition now is RAW.

I have used TestDisk to Analyze the disk with this messages:

Code: Select all

TestDisk 6.14-WIP, Data Recovery Utility, March 2012
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/sdb - 8010 MB / 7639 MiB - CHS 973 255 63
Current partition structure:
     Partition                  Start        End    Size in sectors

Invalid FAT boot sector
 1 P FAT32 LBA               32 162  4   881 246 25   13644499
 1 P FAT32 LBA               32 162  4   881 246 25   13644499

Bad relative sector.
 2 P Linux                  849  84 56   973 213  8    2000140

Warning: Bad ending cylinder (CHS and LBA don't match)
No partition is bootable
Space conflict between the following two partitions
 1 P FAT32 LBA               32 162  4   881 246 25   13644499
 2 P Linux                  849  84 56   973 213  8    2000140


*=Primary bootable  P=Primary  L=Logical  E=Extended  D=Deleted
>[Quick Search]  [ Backup ]
                            Try to locate partition


I did QuickSearch with this result:

Code: Select all

TestDisk 6.14-WIP, Data Recovery Utility, March 2012
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/sdb - 8010 MB / 7639 MiB - CHS 973 255 63
     Partition               Start        End    Size in sectors
>L Linux                  849  84 56   973 213  4    2000136



Structure: Ok.  Use Up/Down Arrow keys to select partition.
Use Left/Right Arrow keys to CHANGE partition characteristics:
*=Primary bootable  P=Primary  L=Logical  E=Extended  D=Deleted
Keys A: add partition, L: load backup, T: change type, P: list files,
     Enter: to continue
EXT3 Sparse superblock Recover, 1024 MB / 976 MiB



When Enter, the result is:

Code: Select all

TestDisk 6.14-WIP, Data Recovery Utility, March 2012
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/sdb - 8010 MB / 7639 MiB - CHS 973 255 63

     Partition                  Start        End    Size in sectors

 1 E extended               849   0  1   973 213  4    2005483
 5 L Linux                  849  84 56   973 213  4    2000136

 [  Quit  ] >[Deeper Search]  [ Write  ]  [Extd Part]
                          Try to find more partitions


Deeper Search produces the same result.

I tried to repair the FAT partition with Advanced options and this is the result:

Code: Select all

TestDisk 6.14-WIP, Data Recovery Utility, March 2012
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/sdb - 8010 MB / 7639 MiB - CHS 973 255 63
     Partition                  Start        End    Size in sectors
 1 P FAT32 LBA               32 162  4   881 246 25   13644499

Boot sector
Bad

Backup boot sector
Bad

First sectors (Boot code and partition information) are not identical.
Second sectors (cluster information) are not identical.
Third sectors (Second part of boot code) are not identical.

A valid FAT Boot sector must be present in order to access
any data; even if the partition is not bootable.



>[  Quit  ]  [Rebuild BS]  [  Dump  ]
                            Return to Advanced menu


I use Rebuild BS option but the result is:

Code: Select all

TestDisk 6.14-WIP, Data Recovery Utility, March 2012
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org


Can't find cluster size



>[Ok]



Can you help me?

Thanks in advance.

Sponsored links

User avatar
remy
Posts: 457
Joined: 25 Mar 2012, 10:21
Location: Strasbourg, France.
Contact:

Re: 8GB SD Card with FAT32 and Ext3 partitions

#2 Postby remy » 13 Apr 2012, 09:46

Try another quick and deepersearch selecting "none" as partition table type, and in option "cylinder boundary : no".

Your FAT32 partition should begin early in the card space.

It may also be hardware failure related : corruption of block allocation in the controller and your data are mixed (thus the FAT32 partition begining is no more in the begining and the size puts the end beyond the initial position)
J'ai pour habitude d'aller au bout de l'aide que j'apporte. Si vous pensez que je vous ai abandonné, et que je ne l'ai pas fait explicitement, c'est que votre message est enfoui avec d'autres. Relancez-moi (modérément) par mail.


Return to “Filesystem repair”

Who is online

Users browsing this forum: No registered users and 2 guests