Partition inaccessible mais existante

Comment utiliser TestDisk pour récupérer une partition perdue
Locked
Message
Author
juicedaed
Posts: 6
Joined: 18 Apr 2013, 21:44

Partition inaccessible mais existante

#1 Post by juicedaed »

Bonjour, au démarre d'un des PC de mes parents celui m'a lancé un CHKDSK.

Impossible de savoir si le PC avait été arrêté d'une mauvaise manière car ils ne l'utilisent que peu même si dans 99% des cas ils l'eteignent de manière conventionnelle.

Le CHKDSK a planté et depuis impossible de booter dessus. Je l'ai donc branché en en esclave sur un autre PC et tenté un nouveau CHKDSK car impossible d'accéder à la partition. Le CHKDSK me renvoit "La table maitresse des fichiers est endommagée. Abandon de CHKDSK".

Sous "gestion de l'ordinateur" de windows xp:
Image

Le logiciel crystaldisk affiche cet état-là pour le disque (c'est le disque E):
Image

Recuva ne fonctionne pas.

Sur un autre logiciel (pc inspector), j'obtiens ceci (si ça peut aider):

Image


J'en suis donc venu aux grands moyens en utilisant testdisk.

Menu Analyze:
Image

Menu quicksearch:
Image

List des fichiers en appuyant sur "P":
Image

Menu "continue":
Image

Menu "deeper search":
Image

A savoir que j'ai tenté le "MBR Code" sur le premier secteur, je ne sais pas ce que ça a pu faire. J'avais trouvé cette astuce sur un forum mais je n'ai aucune idée du résultat que ça a eu.

Que dois-je faire?

Merci d'avance de votre réponse

EDIT: je rajoute le contenu de testdisk.log
ntfs_mft_load(): Failed.
Failed to load $MFT: Input/output error.
Failed to startup volume: Input/output error.
$MFT has invalid magic.

juicedaed
Posts: 6
Joined: 18 Apr 2013, 21:44

Re: Partition inaccessible mais existante

#2 Post by juicedaed »

Bonjour, n'ayant eu aucunes réponses, je remonte mon topic car je cherche toujours une solution.

Merci.

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

Re: Partition inaccessible mais existante

#3 Post by cgrenier »

Dans le menu Advanced de TestDisk, essayez Boot, RebuildBS, List.
Si cela marche, choisissez Write et confirmer.
Si le secteur de boot est déjà identique à son backup, vous pouvez aussi essayer RepairMFT.

juicedaed
Posts: 6
Joined: 18 Apr 2013, 21:44

Re: Partition inaccessible mais existante

#4 Post by juicedaed »

Bonjour, et merci de votre réponse.

Je réponds tardivement car étant étudiant je n'avais malheureusement pas eu le temps de m'en occuper avant.

Je viens d'effectuer les différentes manipulations proposées et malheureusement c'est un échec.

Après avoir effectué,
  • Advanced , puis Boot et RebuildBS j'obtiens ceci:
    Image
  • Avec l'option list, j'obtiens ceci:
    Image
  • Avec l'option repairmft, j'obtiens ceci:
    Image
Voici le log :

Code: Select all

Sun Jun  8 18:13:30 2014
Command line: TestDisk

TestDisk 6.14, Data Recovery Utility, July 2013
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows XP SP3
Compiler: GCC 4.7, Cygwin 1007.17
Compilation date: 2013-07-30T14:08:52
ext2fs lib: 1.42.2, ntfs lib: 10:0:0, reiserfs lib: 0.3.1-rc8, ewf lib: 20120504
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sda)=20020396032
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=160041885696
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=20020396032
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=160041885696
filewin32_getfilesize(\\.\PhysicalDrive2) GetFileSize err Fonction incorrecte.

filewin32_setfilepointer(\\.\PhysicalDrive2) SetFilePointer err Fonction incorrecte.

Warning: can't get size for \\.\PhysicalDrive2
filewin32_getfilesize(\\.\PhysicalDrive3) GetFileSize err Fonction incorrecte.

filewin32_setfilepointer(\\.\PhysicalDrive3) SetFilePointer err Fonction incorrecte.

Warning: can't get size for \\.\PhysicalDrive3
filewin32_getfilesize(\\.\PhysicalDrive4) GetFileSize err Fonction incorrecte.

filewin32_setfilepointer(\\.\PhysicalDrive4) SetFilePointer err Fonction incorrecte.

Warning: can't get size for \\.\PhysicalDrive4
filewin32_getfilesize(\\.\PhysicalDrive5) GetFileSize err Fonction incorrecte.

filewin32_setfilepointer(\\.\PhysicalDrive5) SetFilePointer err Fonction incorrecte.

Warning: can't get size for \\.\PhysicalDrive5
filewin32_getfilesize(\\.\PhysicalDrive6) GetFileSize err Fonction incorrecte.

filewin32_setfilepointer(\\.\PhysicalDrive6) SetFilePointer err Fonction incorrecte.

Warning: can't get size for \\.\PhysicalDrive6
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=20011590144
filewin32_getfilesize(\\.\D:) GetFileSize err Fonction incorrecte.

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

Warning: can't get size for \\.\D:
filewin32_getfilesize(\\.\E:) GetFileSize err Fonction incorrecte.

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

Warning: can't get size for \\.\E:
filewin32_getfilesize(\\.\F:) GetFileSize err Fonction incorrecte.

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

Warning: can't get size for \\.\F:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\G:)=154662294528
filewin32_getfilesize(\\.\H:) GetFileSize err Fonction incorrecte.

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

Warning: can't get size for \\.\H:
filewin32_getfilesize(\\.\I:) GetFileSize err Fonction incorrecte.

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

Warning: can't get size for \\.\I:
filewin32_getfilesize(\\.\J:) GetFileSize err Fonction incorrecte.

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

Warning: can't get size for \\.\J:
Hard disk list
Disk /dev/sda - 20 GB / 18 GiB - CHS 2434 255 63, sector size=512 - ST320413A, S/N:453630444d5a5030202020202020202020202020, FW:3.53
Disk /dev/sdb - 160 GB / 149 GiB - CHS 19457 255 63, sector size=512 - ST3160023AS, FW:3.00

Partition table type (auto): Intel
Disk /dev/sdb - 160 GB / 149 GiB - ST3160023AS
Partition table type: Intel

Interface Advanced
Geometry from i386 MBR: head=255 sector=63
FAT32 at 0/1/1
Info: size boot_sector 10485760, partition 10485760
FAT1 : 38-10258
FAT2 : 10259-20479
start_rootdir : 20480 root cluster : 2
Data : 20480-10485759
sectors : 10485760
cluster_size : 8
no_of_cluster : 1308160 (2 - 1308161)
fat_length 10221 calculated 10221
NTFS at 652/182/1
get_geometry_from_list_part_aux head=255 nbr=1
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=1
 1 P hid. FAT32               0   1  1   652 181 40   10485760 [BACKUP]
     FAT32, blocksize=4096, 5368 MB / 5120 MiB
 2 * HPFS - NTFS            652 182  1 19455 254 63  302074794
     NTFS, blocksize=4096, 154 GB / 144 GiB

ntfs_boot_sector
 2 * HPFS - NTFS            652 182  1 19455 254 63  302074794
     NTFS, blocksize=4096, 154 GB / 144 GiB
NTFS at 652/182/1
NTFS at 652/182/1
filesystem size           302074794
sectors_per_cluster       8
mft_lcn                   802815
mftmirr_lcn               3840826
clusters_per_mft_record   -10
clusters_per_index_record 1
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.
rebuild_NTFS_BS
mft at 91164876, seq=1, main=0 res=1
read_mft_info failed
ntfs_find_mft: sectors_per_cluster invalid
ntfs_find_mft: mft_lcn             786432
ntfs_find_mft: mftmirr_lcn         6799511
ntfs_find_mft: mft_record_size     1024

mft at 165035244, seq=1, main=0 res=1
read_mft_info failed
ntfs_find_mft: sectors_per_cluster invalid
ntfs_find_mft: mft_lcn             786432
ntfs_find_mft: mftmirr_lcn         6799511
ntfs_find_mft: mft_record_size     1024

Failed to rebuild NTFS boot sector.

ntfs_boot_sector
 2 * HPFS - NTFS            652 182  1 19455 254 63  302074794
     NTFS, blocksize=4096, 154 GB / 144 GiB
NTFS at 652/182/1
NTFS at 652/182/1
filesystem size           302074794
sectors_per_cluster       8
mft_lcn                   802815
mftmirr_lcn               3840826
clusters_per_mft_record   -10
clusters_per_index_record 1
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.
rebuild_NTFS_BS
mft at 91164876, seq=1, main=0 res=1
read_mft_info failed
ntfs_find_mft: sectors_per_cluster invalid
ntfs_find_mft: mft_lcn             786432
ntfs_find_mft: mftmirr_lcn         6799511
ntfs_find_mft: mft_record_size     1024

mft at 165035244, seq=1, main=0 res=1
read_mft_info failed
ntfs_find_mft: sectors_per_cluster invalid
ntfs_find_mft: mft_lcn             786432
ntfs_find_mft: mftmirr_lcn         6799511
ntfs_find_mft: mft_record_size     1024

Failed to rebuild NTFS boot sector.

ntfs_boot_sector
 2 * HPFS - NTFS            652 182  1 19455 254 63  302074794
     NTFS, blocksize=4096, 154 GB / 144 GiB
NTFS at 652/182/1
NTFS at 652/182/1
filesystem size           302074794
sectors_per_cluster       8
mft_lcn                   802815
mftmirr_lcn               3840826
clusters_per_mft_record   -10
clusters_per_index_record 1
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.
$MFT has invalid magic.
ntfs_mft_load(): Failed.
Failed to load $MFT: Input/output error.
Failed to startup volume: Input/output error.
$MFT has invalid magic.
ntfs_mft_load(): Failed.
Failed to load $MFT: Input/output error.
$MFT has invalid magic.
ntfs_mft_load(): Failed.
Failed to load $MFT: Input/output error.
Failed to startup volume: Input/output error.
$MFT has invalid magic.
ntfs_mft_load(): Failed.
Failed to load $MFT: Input/output error.
Not an exFAT boot sector.

 2 * HPFS - NTFS            652 182  1 19455 254 63  302074794
     NTFS, blocksize=4096, 154 GB / 144 GiB
Can't open filesystem. Filesystem seems damaged.

ntfs_boot_sector
 2 * HPFS - NTFS            652 182  1 19455 254 63  302074794
     NTFS, blocksize=4096, 154 GB / 144 GiB
NTFS at 652/182/1
NTFS at 652/182/1
filesystem size           302074794
sectors_per_cluster       8
mft_lcn                   802815
mftmirr_lcn               3840826
clusters_per_mft_record   -10
clusters_per_index_record 1
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.
$MFT has invalid magic.
ntfs_mft_load(): Failed.
Failed to load $MFT: Input/output error.
Failed to startup volume: Input/output error.
$MFT has invalid magic.
ntfs_mft_load(): Failed.
Failed to load $MFT: Input/output error.
$MFT has invalid magic.
ntfs_mft_load(): Failed.
Failed to load $MFT: Input/output error.
Failed to startup volume: Input/output error.
$MFT has invalid magic.
ntfs_mft_load(): Failed.
Failed to load $MFT: Input/output error.
Not an exFAT boot sector.

 2 * HPFS - NTFS            652 182  1 19455 254 63  302074794
     NTFS, blocksize=4096, 154 GB / 144 GiB
Can't open filesystem. Filesystem seems damaged.

ntfs_boot_sector
 2 * HPFS - NTFS            652 182  1 19455 254 63  302074794
     NTFS, blocksize=4096, 154 GB / 144 GiB
NTFS at 652/182/1
NTFS at 652/182/1
filesystem size           302074794
sectors_per_cluster       8
mft_lcn                   802815
mftmirr_lcn               3840826
clusters_per_mft_record   -10
clusters_per_index_record 1
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.
$MFT has invalid magic.
ntfs_mft_load(): Failed.
Failed to load $MFT: Input/output error.
Failed to startup volume: Input/output error.
$MFT has invalid magic.
ntfs_mft_load(): Failed.
Failed to load $MFT: Input/output error.
$MFT has invalid magic.
ntfs_mft_load(): Failed.
Failed to load $MFT: Input/output error.
Failed to startup volume: Input/output error.
$MFT has invalid magic.
ntfs_mft_load(): Failed.
Failed to load $MFT: Input/output error.
repair_MFT
NTFS at 652/182/1
MFT and MFT mirror are bad. Failed to repair them.
MFT and MFT mirror are bad. Failed to repair them.

ntfs_boot_sector
 2 * HPFS - NTFS            652 182  1 19455 254 63  302074794
     NTFS, blocksize=4096, 154 GB / 144 GiB
NTFS at 652/182/1
NTFS at 652/182/1
filesystem size           302074794
sectors_per_cluster       8
mft_lcn                   802815
mftmirr_lcn               3840826
clusters_per_mft_record   -10
clusters_per_index_record 1
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.
$MFT has invalid magic.
ntfs_mft_load(): Failed.
Failed to load $MFT: Input/output error.
Failed to startup volume: Input/output error.
$MFT has invalid magic.
ntfs_mft_load(): Failed.
Failed to load $MFT: Input/output error.
$MFT has invalid magic.
ntfs_mft_load(): Failed.
Failed to load $MFT: Input/output error.
Failed to startup volume: Input/output error.
$MFT has invalid magic.
ntfs_mft_load(): Failed.
Failed to load $MFT: Input/output error.
Not an exFAT boot sector.

 2 * HPFS - NTFS            652 182  1 19455 254 63  302074794
     NTFS, blocksize=4096, 154 GB / 144 GiB
Can't open filesystem. Filesystem seems damaged.

ntfs_boot_sector
 2 * HPFS - NTFS            652 182  1 19455 254 63  302074794
     NTFS, blocksize=4096, 154 GB / 144 GiB
NTFS at 652/182/1
NTFS at 652/182/1
filesystem size           302074794
sectors_per_cluster       8
mft_lcn                   802815
mftmirr_lcn               3840826
clusters_per_mft_record   -10
clusters_per_index_record 1
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.
$MFT has invalid magic.
ntfs_mft_load(): Failed.
Failed to load $MFT: Input/output error.
Failed to startup volume: Input/output error.
$MFT has invalid magic.
ntfs_mft_load(): Failed.
Failed to load $MFT: Input/output error.
$MFT has invalid magic.
ntfs_mft_load(): Failed.
Failed to load $MFT: Input/output error.
Failed to startup volume: Input/output error.
$MFT has invalid magic.
ntfs_mft_load(): Failed.
Failed to load $MFT: Input/output error.
repair_MFT
NTFS at 652/182/1
MFT and MFT mirror are bad. Failed to repair them.
MFT and MFT mirror are bad. Failed to repair them.

ntfs_boot_sector
 2 * HPFS - NTFS            652 182  1 19455 254 63  302074794
     NTFS, blocksize=4096, 154 GB / 144 GiB
NTFS at 652/182/1
NTFS at 652/182/1
filesystem size           302074794
sectors_per_cluster       8
mft_lcn                   802815
mftmirr_lcn               3840826
clusters_per_mft_record   -10
clusters_per_index_record 1
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.
$MFT has invalid magic.
ntfs_mft_load(): Failed.
Failed to load $MFT: Input/output error.
Failed to startup volume: Input/output error.
$MFT has invalid magic.
ntfs_mft_load(): Failed.
Failed to load $MFT: Input/output error.
$MFT has invalid magic.
ntfs_mft_load(): Failed.
Failed to load $MFT: Input/output error.
Failed to startup volume: Input/output error.
$MFT has invalid magic.
ntfs_mft_load(): Failed.
Failed to load $MFT: Input/output error.
Not an exFAT boot sector.

 2 * HPFS - NTFS            652 182  1 19455 254 63  302074794
     NTFS, blocksize=4096, 154 GB / 144 GiB
Can't open filesystem. Filesystem seems damaged.

Analyse Disk /dev/sdb - 160 GB / 149 GiB - CHS 19457 255 63
Geometry from i386 MBR: head=255 sector=63
FAT32 at 0/1/1
Info: size boot_sector 10485760, partition 10485760
FAT1 : 38-10258
FAT2 : 10259-20479
start_rootdir : 20480 root cluster : 2
Data : 20480-10485759
sectors : 10485760
cluster_size : 8
no_of_cluster : 1308160 (2 - 1308161)
fat_length 10221 calculated 10221
NTFS at 652/182/1
get_geometry_from_list_part_aux head=255 nbr=1
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=1
Current partition structure:
 1 P hid. FAT32               0   1  1   652 181 40   10485760 [BACKUP]

Bad sector count.
 2 * HPFS - NTFS            652 182  1 19455 254 63  302074794
En vous remerciant par avance de votre aide et du temps pris pour me répondre.

Bonne soirée.

juicedaed
Posts: 6
Joined: 18 Apr 2013, 21:44

Re: Partition inaccessible mais existante

#5 Post by juicedaed »

Bonjour, n'ayant eu aucunes réponses, je remonte mon topic car je cherche toujours une solution.

Merci.

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

Re: Partition inaccessible mais existante

#6 Post by cgrenier »

Vous pouvez utiliser PhotoRec pour récupérer vos données. Malheureusement il ne retrouvera pas les noms de fichier d'origine.

Locked