Partitions can't be recovered:

Comment utiliser TestDisk pour récupérer une partition perdue
Locked
Message
Author
panchino
Posts: 4
Joined: 08 Jan 2016, 01:50

Partitions can't be recovered:

#1 Post by panchino »

Bonsoir,

Après de nombreux essais de "récupération d'un disque" avec votre logiciel, et des recherches sur le forum, je n'arrive pas bien à comprendre ce que je dois faire, comment interpréter les logs, ce que je puis espérer pour remettre la main sur les données de ce disque.

Version de testdisck testées :
7.0 win64
7.1 WIM (64)
7.1 WIM (32)

Voici l'un des logs produits, en espérant que vous puissiez m'éclairer sur la marche à suivre :

Code: Select all

Sat Jan 09 16:40:10 2016
Command line: TestDisk

TestDisk 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows 7 (7601) SP1
Compiler: GCC 4.9, MinGW 3.11
Compilation date: Apr 18 2015 13:02:07
ext2fs lib: none, ntfs lib: 10:0:0, reiserfs lib: none, ewf lib: 20120504, curses lib: pdcurses build  3401
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=500107862016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=500107862016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive2)=640135028736
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=83886080000
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=416113400320
filewin32_getfilesize(\\.\E:) GetFileSize err Fonction incorrecte.


filewin32_setfilepointer(\\.\E:) SetFilePointer err Fonction incorrecte.


Warning: can't get size for \\.\E:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\F:)=500096991744
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\G:)=640132383232
Hard disk list
Disk \\.\PhysicalDrive0 - 500 GB / 465 GiB - CHS 60801 255 63, sector size=512
Disk \\.\PhysicalDrive1 - 500 GB / 465 GiB - CHS 516811 135 14, sector size=512
Disk \\.\PhysicalDrive2 - 640 GB / 596 GiB - CHS 77825 255 63, sector size=512
Drive C: - 83 GB / 78 GiB - CHS 86687 135 14, sector size=512
Drive D: - 416 GB / 387 GiB - CHS 430011 135 14, sector size=512
Drive F: - 500 GB / 465 GiB - CHS 60799 255 63, sector size=512
Drive G: - 640 GB / 596 GiB - CHS 77824 255 63, sector size=512

Partition table type (auto): Intel
Disk \\.\PhysicalDrive2 - 640 GB / 596 GiB
Partition table type: Intel

Analyse Disk \\.\PhysicalDrive2 - 640 GB / 596 GiB - CHS 77825 255 63
Geometry from i386 MBR: head=255 sector=63
NTFS at 0/1/2
get_geometry_from_list_part_aux head=255 nbr=2
get_geometry_from_list_part_aux head=8 nbr=1
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=2
Current partition structure:
 1 E extended LBA             0   1  1 77824 254 63 1250258562
No partition is bootable
 5 L HPFS - NTFS              0   1  2 77824 254 63 1250258561 [Louise]

search_part()
Disk \\.\PhysicalDrive2 - 640 GB / 596 GiB - CHS 77825 255 63
NTFS at 0/1/2
filesystem size           1250258561
sectors_per_cluster       1
mft_lcn                   6291456
mftmirr_lcn               625129280
clusters_per_mft_record   2
clusters_per_index_record 8
     HPFS - NTFS              0   1  2 77824 254 63 1250258561 [Louise]
     NTFS, blocksize=512, 640 GB / 596 GiB

Results
   L HPFS - NTFS              0   1  2 77824 254 63 1250258561 [Louise]
     NTFS, blocksize=512, 640 GB / 596 GiB
add_ext_part_i386: max
add_ext_part_i386: min

interface_write()
 1 E extended LBA             0   1  1 77824 254 63 1250258562
 5 L HPFS - NTFS              0   1  2 77824 254 63 1250258561 [Louise]

search_part()
Disk \\.\PhysicalDrive2 - 640 GB / 596 GiB - CHS 77825 255 63
NTFS at 0/1/2
filesystem size           1250258561
sectors_per_cluster       1
mft_lcn                   6291456
mftmirr_lcn               625129280
clusters_per_mft_record   2
clusters_per_index_record 8
     HPFS - NTFS              0   1  2 77824 254 63 1250258561 [Louise]
     NTFS, blocksize=512, 640 GB / 596 GiB
BAD_RS LBA=452457022 291304
check_part_i386 failed for partition type 0E
     FAT16 LBA            28164  37 32 185327 216  6 2524834847
This partition ends after the disk limits. (start=452457022, size=2524834847, end=2977291868, disk end=1250263728)
file_win32_pread(476,16,buffer,625240064(38919/100/30)) read err: read after end of file
file_win32_pread(476,1,buffer,625240064(38919/100/30)) read err: read after end of file
file_win32_pread(476,1,buffer,625240063(38919/100/29)) read err: read after end of file
file_win32_pread(476,1,buffer,625240065(38919/100/31)) read err: read after end of file
file_win32_pread(476,14,buffer,625240066(38919/100/32)) read err: read after end of file
file_win32_pread(476,3,buffer,625240080(38919/100/46)) read err: read after end of file
file_win32_pread(476,3,buffer,625240127(38919/101/30)) read err: read after end of file
file_win32_pread(476,8,buffer,625240143(38919/101/46)) read err: read after end of file
file_win32_pread(476,11,buffer,625240190(38919/102/30)) read err: read after end of file
NTFS at 77824/254/63
filesystem size           1250258561
sectors_per_cluster       1
mft_lcn                   6291456
mftmirr_lcn               625129280
clusters_per_mft_record   2
clusters_per_index_record 8
     HPFS - NTFS              0   1  2 77824 254 63 1250258561 [Louise]
     NTFS found using backup sector, blocksize=512, 640 GB / 596 GiB
NTFS at 77824/254/63
filesystem size           1250258561
sectors_per_cluster       1
mft_lcn                   6291456
mftmirr_lcn               625129280
clusters_per_mft_record   2
clusters_per_index_record 8
NTFS: Can't read MFT
     HPFS - NTFS          77824 254 63 155649 253 61 1250258561
     NTFS, blocksize=512, 640 GB / 596 GiB
This partition ends after the disk limits. (start=1250258624, size=1250258561, end=2500517184, disk end=1250263728)
Disk \\.\PhysicalDrive2 - 640 GB / 596 GiB - CHS 77825 255 63
Check the harddisk size: HD jumpers settings, BIOS detection...
The harddisk (640 GB / 596 GiB) seems too small! (< 1524 GB / 1419 GiB)
The following partitions can't be recovered:
     FAT16 LBA            28164  37 32 185327 216  6 2524834847
     HPFS - NTFS          77824 254 63 155649 253 61 1250258561
     NTFS, blocksize=512, 640 GB / 596 GiB

Results
   L HPFS - NTFS              0   1  2 77824 254 63 1250258561 [Louise]
     NTFS, blocksize=512, 640 GB / 596 GiB
add_ext_part_i386: max
add_ext_part_i386: min

interface_write()
 1 E extended LBA             0   1  1 77824 254 63 1250258562
 5 L HPFS - NTFS              0   1  2 77824 254 63 1250258561 [Louise]
write!

write_mbr_i386: starting...
write_all_log_i386: starting...
write_all_log_i386: CHS: 0/1/1,lba=63
You will have to reboot for the change to take effect.

TestDisk exited normally.
En vous remerciant !

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

Re: Partitions can't be recovered:

#2 Post by cgrenier »

Pouvez-vous décrire le problème ?

panchino
Posts: 4
Joined: 08 Jan 2016, 01:50

Re: Partitions can't be recovered:

#3 Post by panchino »

Il s'agit d'un disque USB qui "un jour" a cessé d'être accessible.
Il est toujours bien apparu dans la liste du poste de travail de windows.
Avant l'utilisation de Testdisck 7.0, tenter d'y accéder ne donnait simplement rien, après avoir tourné quelques minutes.
Maintenant, windows me propose désormais de le formater.
=> Je l'ai aujourd'hui branché sur un autre port USB, et il me harcèle de propositions de formatage (1 toutes les 2 secondes, et qui s'empilent).

Ce disque Samsung possédait un logiciel interne de cryptage que j'ai un jour utilisé.
Avant que je le formate, sous win XP.

C'est un disque de données.

Ces informations sont-elles suffisantes ?

panchino
Posts: 4
Joined: 08 Jan 2016, 01:50

Re: Partitions can't be recovered:

#4 Post by panchino »

Si mes souvenirs sont bons (le plantage date de 2013), le disque externe a cessé d'être accessible à la suite d'un redémarrage forcé de windows.
Mais l'application qui a causé ce plantage ne faisait pas partie de celles contenues dans ce disque.
Il était juste branché à ce moment là.


Sinon, j'ai essayé Testdisck 7.0 (win 32) sur une OS windows 8.
Toujours exécuté en mode administrateur.
En voici le log :

Code: Select all


Sun Jan 10 14:10:48 2016
Command line: TestDisk

TestDisk 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows 8 (9200)
Compiler: GCC 4.8, Cygwin 1007.34
Compilation date: 2015-04-18T13:01:55
ext2fs lib: 1.42.8, ntfs lib: 10:0:0, reiserfs lib: 0.3.1-rc8, ewf lib: 20120504, curses lib: ncurses 5.9
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sda)=31272730624
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=640135028736
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=31272730624
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=640135028736
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=30298586624
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=640132383232
Hard disk list
Disk /dev/sda - 31 GB / 29 GiB - CHS 3802 255 63, sector size=512
Disk /dev/sdb - 640 GB / 596 GiB - CHS 77825 255 63, sector size=512
Drive C: - 30 GB / 28 GiB - CHS 3683 255 63, sector size=512
Drive D: - 640 GB / 596 GiB - CHS 77824 255 63, sector size=512

Partition table type (auto): Intel
Disk /dev/sdb - 640 GB / 596 GiB
Partition table type: Intel

Analyse Disk /dev/sdb - 640 GB / 596 GiB - CHS 77825 255 63
Geometry from i386 MBR: head=255 sector=63
NTFS at 0/1/2
get_geometry_from_list_part_aux head=255 nbr=2
get_geometry_from_list_part_aux head=8 nbr=1
get_geometry_from_list_part_aux head=16 nbr=1
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=2
Current partition structure:
 1 E extended LBA             0   1  1 77824 254 63 1250258562
No partition is bootable
 5 L HPFS - NTFS              0   1  2 77824 254 63 1250258561 [Louise]

search_part()
Disk /dev/sdb - 640 GB / 596 GiB - CHS 77825 255 63
NTFS at 0/1/2
filesystem size           1250258561
sectors_per_cluster       1
mft_lcn                   6291456
mftmirr_lcn               625129280
clusters_per_mft_record   2
clusters_per_index_record 8
     HPFS - NTFS              0   1  2 77824 254 63 1250258561 [Louise]
     NTFS, blocksize=512, 640 GB / 596 GiB
file_pread(5,2,buffer,1250265088(77825/102/38)) lseek err Invalid argument
file_pread(5,1,buffer,1250265088(77825/102/38)) lseek err Invalid argument
file_pread(5,8,buffer,1250263744(77825/81/17)) lseek err Invalid argument
file_pread(5,1,buffer,1250263744(77825/81/17)) lseek err Invalid argument
file_pread(5,8,buffer,1250263872(77825/83/19)) lseek err Invalid argument
file_pread(5,8,buffer,1250264000(77825/85/21)) lseek err Invalid argument
file_pread(5,8,buffer,1250264128(77825/87/23)) lseek err Invalid argument
file_pread(5,8,buffer,1250264256(77825/89/25)) lseek err Invalid argument
file_pread(5,8,buffer,1250264384(77825/91/27)) lseek err Invalid argument
file_pread(5,8,buffer,1250264512(77825/93/29)) lseek err Invalid argument
file_pread(5,8,buffer,1250264640(77825/95/31)) lseek err Invalid argument
file_pread(5,8,buffer,1250264768(77825/97/33)) lseek err Invalid argument
file_pread(5,8,buffer,1250264896(77825/99/35)) lseek err Invalid argument
file_pread(5,8,buffer,1250265024(77825/101/37)) lseek err Invalid argument
file_pread(5,1,buffer,1250265087(77825/102/37)) lseek err Invalid argument
file_pread(5,1,buffer,1250265088(77825/102/38)) lseek err Invalid argument
file_pread(5,14,buffer,1250265089(77825/102/39)) lseek err Invalid argument
file_pread(5,3,buffer,1250265103(77825/102/53)) lseek err Invalid argument
file_pread(5,3,buffer,1250265150(77825/103/37)) lseek err Invalid argument
file_pread(5,8,buffer,1250265166(77825/103/53)) lseek err Invalid argument
file_pread(5,11,buffer,1250265213(77825/104/37)) lseek err Invalid argument
file_pread(5,2,buffer,1250267135(77825/135/6)) lseek err Invalid argument

Results
   L HPFS - NTFS              0   1  2 77824 254 63 1250258561 [Louise]
     NTFS, blocksize=512, 640 GB / 596 GiB
add_ext_part_i386: max
add_ext_part_i386: min

interface_write()
 1 E extended LBA             0   1  1 77824 254 63 1250258562
 5 L HPFS - NTFS              0   1  2 77824 254 63 1250258561 [Louise]

search_part()
Disk /dev/sdb - 640 GB / 596 GiB - CHS 77825 255 63
NTFS at 0/1/2
filesystem size           1250258561
sectors_per_cluster       1
mft_lcn                   6291456
mftmirr_lcn               625129280
clusters_per_mft_record   2
clusters_per_index_record 8
     HPFS - NTFS              0   1  2 77824 254 63 1250258561 [Louise]
     NTFS, blocksize=512, 640 GB / 596 GiB
BAD_RS LBA=452457022 291304
check_part_i386 failed for partition type 0E
     FAT16 LBA            28164  37 32 185327 216  6 2524834847
This partition ends after the disk limits. (start=452457022, size=2524834847, end=2977291868, disk end=1250263728)
file_pread(5,16,buffer,625240064(38919/100/30)) ReadFile Erreur de données (contrôle de redondance cyclique).

file_pread(5,1,buffer,625240064(38919/100/30)) ReadFile Erreur de données (contrôle de redondance cyclique).

file_pread(5,1,buffer,625240063(38919/100/29)) ReadFile Erreur de données (contrôle de redondance cyclique).

file_pread(5,1,buffer,625240065(38919/100/31)) ReadFile Erreur de données (contrôle de redondance cyclique).

file_pread(5,14,buffer,625240066(38919/100/32)) ReadFile Erreur de données (contrôle de redondance cyclique).

file_pread(5,3,buffer,625240080(38919/100/46)) ReadFile Erreur de données (contrôle de redondance cyclique).

file_pread(5,3,buffer,625240127(38919/101/30)) ReadFile Erreur de données (contrôle de redondance cyclique).

file_pread(5,8,buffer,625240143(38919/101/46)) ReadFile Erreur de données (contrôle de redondance cyclique).

file_pread(5,11,buffer,625240190(38919/102/30)) ReadFile Erreur de données (contrôle de redondance cyclique).

NTFS at 77824/254/63
filesystem size           1250258561
sectors_per_cluster       1
mft_lcn                   6291456
mftmirr_lcn               625129280
clusters_per_mft_record   2
clusters_per_index_record 8
     HPFS - NTFS              0   1  2 77824 254 63 1250258561 [Louise]
     NTFS found using backup sector, blocksize=512, 640 GB / 596 GiB
NTFS at 77824/254/63
filesystem size           1250258561
sectors_per_cluster       1
mft_lcn                   6291456
mftmirr_lcn               625129280
clusters_per_mft_record   2
clusters_per_index_record 8
file_pread(5,2,buffer,1256550086(78216/159/30)) lseek err Invalid argument
file_pread(5,1,buffer,1256550086(78216/159/30)) lseek err Invalid argument
NTFS: Can't read MFT
     HPFS - NTFS          77824 254 63 155649 253 61 1250258561
     NTFS, blocksize=512, 640 GB / 596 GiB
This partition ends after the disk limits. (start=1250258624, size=1250258561, end=2500517184, disk end=1250263728)
file_pread(5,2,buffer,1250265088(77825/102/38)) lseek err Invalid argument
file_pread(5,1,buffer,1250265088(77825/102/38)) lseek err Invalid argument
file_pread(5,8,buffer,1250263744(77825/81/17)) lseek err Invalid argument
file_pread(5,1,buffer,1250263744(77825/81/17)) lseek err Invalid argument
file_pread(5,8,buffer,1250263872(77825/83/19)) lseek err Invalid argument
file_pread(5,8,buffer,1250264000(77825/85/21)) lseek err Invalid argument
file_pread(5,8,buffer,1250264128(77825/87/23)) lseek err Invalid argument
file_pread(5,8,buffer,1250264256(77825/89/25)) lseek err Invalid argument
file_pread(5,8,buffer,1250264384(77825/91/27)) lseek err Invalid argument
file_pread(5,8,buffer,1250264512(77825/93/29)) lseek err Invalid argument
file_pread(5,8,buffer,1250264640(77825/95/31)) lseek err Invalid argument
file_pread(5,8,buffer,1250264768(77825/97/33)) lseek err Invalid argument
file_pread(5,8,buffer,1250264896(77825/99/35)) lseek err Invalid argument
file_pread(5,8,buffer,1250265024(77825/101/37)) lseek err Invalid argument
file_pread(5,1,buffer,1250265087(77825/102/37)) lseek err Invalid argument
file_pread(5,1,buffer,1250265088(77825/102/38)) lseek err Invalid argument
file_pread(5,14,buffer,1250265089(77825/102/39)) lseek err Invalid argument
file_pread(5,3,buffer,1250265103(77825/102/53)) lseek err Invalid argument
file_pread(5,3,buffer,1250265150(77825/103/37)) lseek err Invalid argument
file_pread(5,8,buffer,1250265166(77825/103/53)) lseek err Invalid argument
file_pread(5,11,buffer,1250265213(77825/104/37)) lseek err Invalid argument
file_pread(5,2,buffer,1250267135(77825/135/6)) lseek err Invalid argument
Disk /dev/sdb - 640 GB / 596 GiB - CHS 77825 255 63
Check the harddisk size: HD jumpers settings, BIOS detection...
The harddisk (640 GB / 596 GiB) seems too small! (< 1524 GB / 1419 GiB)
The following partitions can't be recovered:
     FAT16 LBA            28164  37 32 185327 216  6 2524834847
     HPFS - NTFS          77824 254 63 155649 253 61 1250258561
     NTFS, blocksize=512, 640 GB / 596 GiB

Results
   L HPFS - NTFS              0   1  2 77824 254 63 1250258561 [Louise]
     NTFS, blocksize=512, 640 GB / 596 GiB
add_ext_part_i386: max
add_ext_part_i386: min

interface_write()
 1 E extended LBA             0   1  1 77824 254 63 1250258562
 5 L HPFS - NTFS              0   1  2 77824 254 63 1250258561 [Louise]
write!

write_mbr_i386: starting...
write_all_log_i386: starting...
write_all_log_i386: CHS: 0/1/1,lba=63
You will have to reboot for the change to take effect.

TestDisk exited normally.
Mais le résultat est le même : Pas d'accès au disque après le redémarrage PC.

panchino
Posts: 4
Joined: 08 Jan 2016, 01:50

Re: Partitions can't be recovered:

#5 Post by panchino »

Dénouement
Le disque externe ne pouvait pas être formaté par windows (7, SP1), inaccessible.
J'ai utilisé un logiciel de gestion de disque (EaseUS) pour recréer une partition, avec la procédure qui suit :
- Branchement du disque externe => trouver le bon port USB
- Lancement du logiciel de gestion => qui charge indéfiniment pour s'ouvrir (reconnaissance du disque difficile)
- Débranchement du disque dur => là, le logiciel arrête de mouliner et affiche les DD du système, et notamment le DD qu'on vient de débrancher
- Rebranchement du DD
- Création d'une partition unique => un peu long mais finit par aboutir

A partir de là, windows reconnaît le disque dur.
J'ai pu utiliser un logiciel de récupération de données (récuva en l'occurrence).


En vous remerciant, et bonne continuation !

Locked