Damaged 1To HD

How to use TestDisk to recover lost partition
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Message
Author
lythium
Posts: 12
Joined: 03 Mar 2012, 12:42

Damaged 1To HD

#1 Post by lythium »

Hello,

A friend of mine own a 1To external drive. After he change the HD enclosure the drive is no longer accessible so he asked me if I can recover his data but I'm stuck.

It seems that the drive is listed by testdisk:

Code: Select all

Disk /dev/disk1 - 1000 GB / 931 GiB
I guess the HDD partition is FAT32 so I pick Intel in the next screen and here is the result of the Analyse command:

Code: Select all

Disk /dev/disk1 - 1000 GB / 931 GiB - CHS 244190646 1 1                                                                                            
Current partition structure:                                                                                                                       
     Partition                  Start        End    Size in sectors                                                                                
                                                                                                                                                   
Invalid FAT boot sector                                                                                                                            
 1 P FAT32 LBA                   2048 1953521663 1953519616                                                                                        
 1 P FAT32 LBA                   2048 1953521663 1953519616                                                                                        
                                                                                                                                                   
Warning: Bad starting sector (CHS and LBA don't match)                                                                                             
No partition is bootable
Maybe someone could help me :D

Thanks,

Florent
User avatar
Fiona
Posts: 2835
Joined: 18 Feb 2012, 17:19
Location: Ludwigsburg/Stuttgart - Germany

Re: Damaged 1To HD

#2 Post by Fiona »

Do you have an Intel-PC or Apple?
lythium
Posts: 12
Joined: 03 Mar 2012, 12:42

Re: Damaged 1To HD

#3 Post by lythium »

I have an Apple (but my friend use his HDD on a PC)
lythium
Posts: 12
Joined: 03 Mar 2012, 12:42

Re: Damaged 1To HD

#4 Post by lythium »

Some more informations:

I'm running Quick Search and here is the result so far:

Code: Select all

Disk /dev/disk1 - 1000 GB / 931 GiB - CHS 244190646 1 1                                                                                    
Analyse cylinder 2883584/244190645: 01%                                                                                                    
                                                                                                                                           
                                                                                                                                           
check_FAT: Incorrect number of bytes per sector 512 (FAT) != 4096 (HD)                                                                     
Invalid FAT boot sector                                                                                                                    
 0 D FAT16 LBA              214222707 2034175573 1819952867                                                                                
  FAT16 LBA              214222707 2034175573 1819952867 
But It will take some time before completion :P
User avatar
Fiona
Posts: 2835
Joined: 18 Feb 2012, 17:19
Location: Ludwigsburg/Stuttgart - Germany

Re: Damaged 1To HD

#5 Post by Fiona »

To diagnose your hdd, partition table type intel should be in testdisk selected, instead of Apple partition map or EFI GPT.
It looks like that your partition still exists in your partition table, but your boot sector or file system might be damaged.

Just diagnose it;

Start TestDisk.
Proceed through at Create a log, select your affected disk, choose partition table type intel,
Don't confirm at Analyse but Advanced.
Confirm at Boot with enter also.
Please copy the infos from the screen.
lythium
Posts: 12
Joined: 03 Mar 2012, 12:42

Re: Damaged 1To HD

#6 Post by lythium »

Here is the result:

Code: Select all

Disk /dev/disk1 - 1000 GB / 931 GiB - CHS 244190646 1 1                         
     Partition                  Start        End    Size in sectors             
 1 P FAT32 LBA                   2048 1953521663 1953519616                     
                                                                                
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.
(and thank you for your answers)
User avatar
Fiona
Posts: 2835
Joined: 18 Feb 2012, 17:19
Location: Ludwigsburg/Stuttgart - Germany

Re: Damaged 1To HD

#7 Post by Fiona »

Do you see an option [Rebuild BS]?
Did you choose at the partition table type screen "Intel"?

It looks like;

Code: Select all

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


Disk /dev/sdb - 120 GB / 111 GiB - HITACHI HTS541612J9SA00

Please select the partition table type, press Enter when done.
>[Intel  ] Intel/PC partition
 [EFI GPT] EFI GPT partition map (Mac i386, some x86_64...)
 [Humax  ] Humax partition table
 [Mac    ] Apple partition map
 [None   ] Non partitioned media
 [Sun    ] Sun Solaris partition
 [XBox   ] XBox partition
 [Return ] Return to disk selection




Note: Do NOT select 'None' for media with only a single partition. It's very
rare for a drive to be 'Non-partitioned'.
And Boot should look similar like this screen;

Code: Select all

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

Disk /dev/sdb - 120 GB / 111 GiB - CHS 14593 255 63
     Partition                  Start        End    Size in sectors
 1 P HPFS - NTFS              0  32 33 14593  33 32  234436608 [Data]

Boot sector
Status: OK

Backup boot sector
Status: OK

Sectors are identical.

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





>[  Quit  ]  [  List  ]  [Rebuild BS]  [Repair MFT]  [  Dump  ]
                            Return to Advanced menu
lythium
Posts: 12
Joined: 03 Mar 2012, 12:42

Re: Damaged 1To HD

#8 Post by lythium »

Yes I choose Intel and yes there is the Rebuild BS option.

Should I choose it?
User avatar
Fiona
Posts: 2835
Joined: 18 Feb 2012, 17:19
Location: Ludwigsburg/Stuttgart - Germany

Re: Damaged 1To HD

#9 Post by Fiona »

Yes, do it and let it work.
Should normally take a couple of minutes!

If it's finished, you should see a menu List.
Please highlight it and press enter.
Do you see your required data or an error message?
lythium
Posts: 12
Joined: 03 Mar 2012, 12:42

Re: Damaged 1To HD

#10 Post by lythium »

Apparently it will take some times to complete...

I launched it 30 minutes ago and I'm at the step

FAT : 32
Search root cluster 8192/15261422 0%

I'll let you know if it leads somewhere
Locked