Help me to treat my HDD.

How to use TestDisk to recover lost partition
Post Reply
Message
Author
GennyZ
Posts: 1
Joined: 29 Jul 2016, 16:02

Help me to treat my HDD.

#1 Post by GennyZ » 29 Jul 2016, 19:00

Hello everyone,

I have got a trouble with my computer. It has been working slowly sometimes (for 5-10 seconds). My friend said to me: "Jennifer, that most possible this - you have got a problem with your HDD". Another my known, during scanning with 'Victoria', has found out bad-blocks. Then, he has used Acronis and accidentally - one of partion was deleted. :cry: After, it was a try to recover it, but then, my OS (Linux Mint KDE 17.1) has been stopped working. When I was using bootable flash drive, 'KDE Partion Manager' tells about my HDD:'No valid partion table was found on this device.'.

I remember, that my HDD has approximately ;) such partions:
80GB - Windows
~8GB - ?
25GB - Linux root
~100GB - Linux home
~325GB
~450GB
and
4GB - Linux Swap


Then, I have read a manual and started work with 'TestDisk' and have restored many files from this HDD :D . (Great thanks to the author of this charming programm.)

Now, I am trying to recover my OS. Below, there are my moves and TestDisk's answeres:


-------------------------------------------------------
Disk /dev/sda - 2004 MB / 1912 MiB - INTENSO USB
>Disk /dev/sdb - 1000 GB / 931 GiB - ST1000DM003-1CH162
-------------------------------------------------------
...
>[Intel ] Intel/PC partition
...
-------------------------------------------------------
>[ Analyse ]
-------------------------------------------------------
Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63
Current partition structure:
Partition Start End Size in sectors

1 * HPFS - NTFS 0 32 33 12 223 19 204800
2 P HPFS - NTFS 12 223 20 9790 192 2 157081600
3 E extended 9790 192 3 121601 25 24 1796233216
5 L HPFS - NTFS 9790 224 35 10789 57 61 16038441
X extended 65728 0 1 121601 25 24 897601344
6 L HPFS - NTFS 65728 29 30 121601 25 24 897599488
X extended 10789 58 11 50613 80 44 639773980
7 L Linux 10789 81 45 50613 80 44 639772497
X extended 50613 148 32 65728 29 29 242814976
Logical partition must be in its own extended partition
X extended 65728 0 1 121601 25 24 897601344
X extended 50613 148 32 65728 29 29 242814976
No ext2, JFS, Reiser, cramfs or XFS marker
8 L Linux 50613 161 51 65728 29 29 242814138
8 L Linux 50613 161 51 65728 29 29 242814138

...
>[Quick Search]
-------------------------------------------------------
Partition Start End Size in sectors
> HPFS - NTFS 0 32 33 12 223 19 204800
HPFS - NTFS 12 223 20 9790 192 2 157081600
HPFS - NTFS 9790 224 35 10789 81 44 16039936
Linux 10789 81 45 50613 83 30 639772672
HPFS - NTFS 50613 115 63 65727 251 60 242814976
HPFS - NTFS 65728 29 30 121601 25 24 897599488
-------------------------------------------------------

> HPFS - NTFS 0 32 33 12 223 19 204800
...
NTFS, blocksize=4096, 104 MB / 100 MiB

(If I press 'P' - I see list of files.
If I press 'Enter' - I see: 'No partition found or selected for recovery')
-------------------------------------------------------

> HPFS - NTFS 12 223 20 9790 192 2 157081600
...
NTFS, blocksize=4096, 80 GB / 74 GiB

(If I press 'P' - I am going back to: 'Select a media ...'
If I press 'Enter' - TestDisk stops work.)
-------------------------------------------------------

> HPFS - NTFS 9790 224 35 10789 81 44 16039936
...
NTFS, blocksize=4096, 8212 MB / 7832 MiB

(If I press 'P' - I see list of files.
If I press 'Enter' - I see: 'No partition found or selected for recovery')
-------------------------------------------------------

> Linux 10789 81 45 50613 83 30 639772672
...
ext4 blocksize=4096 Large file Sparse superblock, 327 GB / 305 GiB

(If I press 'P' - I see list of files.
If I press 'Enter' - I see: 'No partition found or selected for recovery')
-------------------------------------------------------

(Somehow this partion has union up my partions - 'Linux root' and 'Linux home'!!!)

> HPFS - NTFS 50613 115 63 65727 251 60 242814976
...
124 GB / 115 GiB

(Option 'P' is absent.
If I press 'Enter' - I see: 'No partition found or selected for recovery')
-------------------------------------------------------

> HPFS - NTFS 65728 29 30 121601 25 24 897599488
...
NTFS, blocksize=4096, 459 GB / 428 GiB

(If I press 'P' - I see list of files and I could recovered my data.
If I press 'Enter' - - I see: 'No partition found or selected for recovery')
-------------------------------------------------------

I have started:
>[Deeper Search]
-------------------------------------------------------

While working, 'Deeper Search' was writing:

TestDisk 6.14, Data Recovery Utility, July 2013
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63
Analyse cylinder 121589/121600: 99%
Read error at 52705/13/44 (lba=846706687)

Linux 10789 81 45 50613 80 43 639772496
Linux 10789 81 45 50613 80 43 639772496
Linux 10789 81 45 50613 80 43 639772496
Linux 10789 81 45 50613 80 43 639772496
Linux 10789 81 45 50613 80 43 639772496
Linux 10789 81 45 50613 80 43 639772496
Linux 10789 81 45 50613 80 43 639772496
Linux 10789 81 45 50613 80 43 639772496
Linux 10789 81 45 50613 80 43 639772496
Linux 10789 81 45 50613 80 43 639772496
Linux 10789 81 45 50613 80 43 639772496
Linux 10789 81 45 50613 80 43 639772496
Linux 10789 81 45 50613 80 43 639772496
Linux 10789 81 45 50613 80 43 639772496
Linux 10789 81 45 50613 80 43 639772496
Linux 10789 81 45 50613 80 43 639772496
Linux 10789 81 45 50613 80 43 639772496
Invalid NTFS or EXFAT boot
0 D HPFS - NTFS 50613 115 63 65727 251 60 242814976
HPFS - NTFS 50613 115 63 65727 251 60 242814976
Linux 50614 1 1 53892 254 63 52677072
Linux 50614 1 1 53892 254 63 52677072
Linux 53893 1 1 65243 254 63 182353752
Linux 53893 1 1 65243 254 63 182353752
Linux Swap 65244 211 56 65727 251 44 7761904
HPFS - NTFS 65728 29 30 121601 25 17 897599481

-------------------------------------------------------

After 'Deeper Search' was writing:

Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63
Partition Start End Size in sectors
> HPFS - NTFS 0 32 33 12 223 19 204800
HPFS - NTFS 12 223 20 9790 192 2 157081600
HPFS - NTFS 9790 224 35 10789 81 44 16039936
Linux 10789 81 45 50613 83 30 639772672
HPFS - NTFS 50613 115 63 65727 251 60 242814976
Linux 50614 1 1 53892 254 63 52677072
Linux 53893 1 1 65243 254 63 182353752
Linux Swap 65244 211 56 65727 251 60 7761920
HPFS - NTFS 65728 29 30 121601 25 24 897599488
HPFS - NTFS 65728 29 37 121601 25 24 897599481

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
NTFS, blocksize=4096, 104 MB / 100 MiB
-------------------------------------------------------

I have got an access to 'Linux root' and 'Linux home' after deeper search! :)

-------------------------------------------------------

> Linux 50614 1 1 53892 254 63 52677072
...
ext4 blocksize=4096 Large file Sparse superblock, 26 GB / 25 GiB

(If I press 'P' - I see list of files and I could recovered my data.)
-------------------------------------------------------

> Linux 53893 1 1 65243 254 63 182353752

ext4 blocksize=4096 Large file Sparse superblock, 93 GB / 86 GiB

(If I press 'P' - I see list of files and I could recovered my data.)
-------------------------------------------------------

> HPFS - NTFS 65728 29 37 121601 25 24 897599481
...
NTFS found using backup sector, blocksize=4096, 459 GB / 428 GiB

(If I press 'P' - I see: 'Can't open filesystem. Filesystem seems damaged.')
-------------------------------------------------------

I hoped to recover the partion table.

If now, I press 'Enter' on any partition, I see:
'No partition found or selected for recovery
>[ Quit ]
Return to main menu'
and I am wasting 2 hours on the 'Deeper Search' :cry:

Tell me, please, is there is any possibility to restore normal work of my HDD (partion table, filesystem and OS)?

Sponsored links

User avatar
cgrenier
Site Admin
Posts: 3562
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Help me to treat my HDD.

#2 Post by cgrenier » 30 Jul 2016, 08:09

There are a lot of bad sectors, you should clone the disk to a new empty one using ddrescue.
Once it's done, remove the original disk and use TestDisk 7.1-WIP (instead of 6.14) on the new disk.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest