Problème de recuperation de partition

Comment utiliser TestDisk pour récupérer une partition perdue
Locked
Message
Author
kenshinsanosuke
Posts: 2
Joined: 21 Feb 2013, 09:46

Problème de recuperation de partition

#1 Post by kenshinsanosuke »

Bonjour tout le monde,
J'ai un soucis pour recuperer une partition et j'ai besoin de votre aide (j'ai recherché sur ce forum et sur le net mais je n'ai pas trouvé de réponse pouvant m'aider)

Après avoir réinstallé XP sur une machine, mon disque dur externe n'était plus accessible.
J'ai donc utilisé TestDisk, fait l'analyse étendu et fait un "rebuild BS" (je pouvais voir mes fichiers).
Maintenant le disque qui était de 450GB+ est listé comme étant un disque de 320GB et je ne peus plus lister mes fichiers.
En faisant une recherche étendu voici ce que j'obtiens :

Code: Select all

The harddisk (320 GB / 298 Gib) seems too small! (( 464 GB / 432 Gib)
Check the harddisk size : HD jumpers settings, BIOS detection...

The following partition can't be recovered:
Partition	Start	End	Size in sectors
>FAT32 LBA	303485	23 31 442712 31 17 285137139
Dans la fenêtre suivante, je ne peux rien faire à pars créer une nouvelle partition.

Voici les logs que j'ai obtenu après avoir relancé une analyse. (si besoin, je peux poster les logs de l'analyse étendue)

Code: Select all


Thu Feb 21 09:51:54 2013
Command line: TestDisk

TestDisk 6.14-WIP, Data Recovery Utility, December 2012
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows 7 (7601) SP1
Compiler: GCC 4.7, Cygwin 1007.17
Compilation date: 2013-02-11T11:20:27
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)=120034123776
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdc)=320072933376
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdd)=80026361856
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=120034123776
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive2)=320072933376
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive3)=80026361856
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=119926685696
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=208896000
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\E:)=1000202043392
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:)=1159732224
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\H:)=80023716864
Hard disk list
Disk /dev/sda - 120 GB / 111 GiB - CHS 14593 255 63, sector size=512 - OCZ-VERT EX3, S/N:CO-ZC161BE4P6EZEIX9V, FW:2.13
Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512 - WDC WD10 02FAEX-00Z3A, S/N:W -DCWTA9R522628, FW:05.0
Disk /dev/sdc - 320 GB / 298 GiB - CHS 305245 64 32, sector size=512 - Seagate External Drive
Disk /dev/sdd - 80 GB / 74 GiB - CHS 9729 255 63, sector size=512 - WD 800BEVSExternal, FW:1.02
Drive D: - 208 MB / 199 MiB - CHS 49 64 32, sector size=2048 - Optiarc DVD RW AD-7280S, FW:1.00

Partition table type (auto): Intel
Disk /dev/sdc - 320 GB / 298 GiB - Seagate External Drive
Partition table type: Intel

Analyse Disk /dev/sdc - 320 GB / 298 GiB - CHS 305245 64 32
Geometry from i386 MBR: head=255 sector=63
BAD_RS LBA=63 32


test_FAT()
 1 * FAT32                    0   1 32  1106   2 13    2265102
sector_size  0
cluster_size 0
reserved     0
fats         0
dir_entries  0
sectors      0
media        00
fat_length   0
secs_track   0
heads        0
hidden       0
total_sect   0
check_part_i386 failed for partition type 0B
Current partition structure:
Invalid FAT boot sector
 1 * FAT32                    0   1 32  1106   2 13    2265102
 1 * FAT32                    0   1 32  1106   2 13    2265102

Warning: Bad ending sector (CHS and LBA don't match)

search_part()
Disk /dev/sdc - 320 GB / 298 GiB - CHS 305245 64 32
Search for partition aborted

Results

interface_write()
 
No partition found or selected for recovery
simulate write!

write_mbr_i386: starting...
write_all_log_i386: starting...
No extended partition

Interface Advanced
Geometry from i386 MBR: head=255 sector=63
BAD_RS LBA=63 32


test_FAT()
 1 * FAT32                    0   1 32  1106   2 13    2265102
sector_size  0
cluster_size 0
reserved     0
fats         0
dir_entries  0
sectors      0
media        00
fat_length   0
secs_track   0
heads        0
hidden       0
total_sect   0
check_part_i386 failed for partition type 0B
 1 * FAT32                    0   1 32  1106   2 13    2265102
Change partition type:
 1 * FAT32                    0   1 32  1106   2 13    2265102

fat32_boot_sector
 1 * FAT32                    0   1 32  1106   2 13    2265102
FAT32 at 0/1/32
test_FAT size boot_sector 625137282 > partition 2265102
Boot sector
Bad

Backup boot sector
Error: size boot_sector 625137282 > partition 2265102
Bad

First sectors (Boot code and partition information) are not identical.

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

FAT: Can't list files, bad cluster size.
Directory /

Interface Advanced
Geometry from i386 MBR: head=255 sector=63
BAD_RS LBA=63 32


test_FAT()
 1 * FAT32                    0   1 32  1106   2 13    2265102
sector_size  0
cluster_size 0
reserved     0
fats         0
dir_entries  0
sectors      0
media        00
fat_length   0
secs_track   0
heads        0
hidden       0
total_sect   0
check_part_i386 failed for partition type 0B
 1 * FAT32                    0   1 32  1106   2 13    2265102
Change partition type:
 1 * FAT32                    0   1 32  1106   2 13    2265102
Change partition type:
 1 * FAT32                    0   1 32  1106   2 13    2265102

Analyse Disk /dev/sdc - 320 GB / 298 GiB - CHS 305245 64 32
Geometry from i386 MBR: head=255 sector=63
BAD_RS LBA=63 32


test_FAT()
 1 * FAT32                    0   1 32  1106   2 13    2265102
sector_size  0
cluster_size 0
reserved     0
fats         0
dir_entries  0
sectors      0
media        00
fat_length   0
secs_track   0
heads        0
hidden       0
total_sect   0
check_part_i386 failed for partition type 0B
Current partition structure:
Invalid FAT boot sector
 1 * FAT32                    0   1 32  1106   2 13    2265102
 1 * FAT32                    0   1 32  1106   2 13    2265102

Warning: Bad ending sector (CHS and LBA don't match)

search_part()
Disk /dev/sdc - 320 GB / 298 GiB - CHS 305245 64 32
BAD_RS LBA=621538046 513418
check_part_i386 failed for partition type 0C
     FAT32 LBA            303485  23 31 442712  31 17  285137139
This partition ends after the disk limits. (start=621538046, size=285137139, end=906675184, disk end=625142448)
file_pread(6,2,buffer,625143808(305246/0/1)) lseek err Invalid argument
file_pread(6,1,buffer,625143808(305246/0/1)) lseek err Invalid argument
file_pread(6,2,buffer,625143840(305246/1/1)) lseek err Invalid argument
file_pread(6,1,buffer,625143840(305246/1/1)) lseek err Invalid argument
Disk /dev/sdc - 320 GB / 298 GiB - CHS 305245 64 32
Check the harddisk size: HD jumpers settings, BIOS detection...
The harddisk (320 GB / 298 GiB) seems too small! (< 464 GB / 432 GiB)
The following partition can't be recovered:
     FAT32 LBA            303485  23 31 442712  31 17  285137139

Results

interface_write()
 
No partition found or selected for recovery

UPDATE : Et voila les logs de l'analyse avancée

Code: Select all


Thu Feb 21 09:51:54 2013
Command line: TestDisk

TestDisk 6.14-WIP, Data Recovery Utility, December 2012
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows 7 (7601) SP1
Compiler: GCC 4.7, Cygwin 1007.17
Compilation date: 2013-02-11T11:20:27
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)=120034123776
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdc)=320072933376
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdd)=80026361856
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=120034123776
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive2)=320072933376
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive3)=80026361856
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=119926685696
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=208896000
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\E:)=1000202043392
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:)=1159732224
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\H:)=80023716864
Hard disk list
Disk /dev/sda - 120 GB / 111 GiB - CHS 14593 255 63, sector size=512 - OCZ-VERT EX3, S/N:CO-ZC161BE4P6EZEIX9V, FW:2.13
Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512 - WDC WD10 02FAEX-00Z3A, S/N:W -DCWTA9R522628, FW:05.0
Disk /dev/sdc - 320 GB / 298 GiB - CHS 305245 64 32, sector size=512 - Seagate External Drive
Disk /dev/sdd - 80 GB / 74 GiB - CHS 9729 255 63, sector size=512 - WD 800BEVSExternal, FW:1.02
Drive D: - 208 MB / 199 MiB - CHS 49 64 32, sector size=2048 - Optiarc DVD RW AD-7280S, FW:1.00

Partition table type (auto): Intel
Disk /dev/sdc - 320 GB / 298 GiB - Seagate External Drive
Partition table type: Intel

Analyse Disk /dev/sdc - 320 GB / 298 GiB - CHS 305245 64 32
Geometry from i386 MBR: head=255 sector=63
BAD_RS LBA=63 32


test_FAT()
 1 * FAT32                    0   1 32  1106   2 13    2265102
sector_size  0
cluster_size 0
reserved     0
fats         0
dir_entries  0
sectors      0
media        00
fat_length   0
secs_track   0
heads        0
hidden       0
total_sect   0
check_part_i386 failed for partition type 0B
Current partition structure:
Invalid FAT boot sector
 1 * FAT32                    0   1 32  1106   2 13    2265102
 1 * FAT32                    0   1 32  1106   2 13    2265102

Warning: Bad ending sector (CHS and LBA don't match)

search_part()
Disk /dev/sdc - 320 GB / 298 GiB - CHS 305245 64 32
Search for partition aborted

Results

interface_write()
 
No partition found or selected for recovery
simulate write!

write_mbr_i386: starting...
write_all_log_i386: starting...
No extended partition

Interface Advanced
Geometry from i386 MBR: head=255 sector=63
BAD_RS LBA=63 32


test_FAT()
 1 * FAT32                    0   1 32  1106   2 13    2265102
sector_size  0
cluster_size 0
reserved     0
fats         0
dir_entries  0
sectors      0
media        00
fat_length   0
secs_track   0
heads        0
hidden       0
total_sect   0
check_part_i386 failed for partition type 0B
 1 * FAT32                    0   1 32  1106   2 13    2265102
Change partition type:
 1 * FAT32                    0   1 32  1106   2 13    2265102

fat32_boot_sector
 1 * FAT32                    0   1 32  1106   2 13    2265102
FAT32 at 0/1/32
test_FAT size boot_sector 625137282 > partition 2265102
Boot sector
Bad

Backup boot sector
Error: size boot_sector 625137282 > partition 2265102
Bad

First sectors (Boot code and partition information) are not identical.

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

FAT: Can't list files, bad cluster size.
Directory /

Interface Advanced
Geometry from i386 MBR: head=255 sector=63
BAD_RS LBA=63 32


test_FAT()
 1 * FAT32                    0   1 32  1106   2 13    2265102
sector_size  0
cluster_size 0
reserved     0
fats         0
dir_entries  0
sectors      0
media        00
fat_length   0
secs_track   0
heads        0
hidden       0
total_sect   0
check_part_i386 failed for partition type 0B
 1 * FAT32                    0   1 32  1106   2 13    2265102
Change partition type:
 1 * FAT32                    0   1 32  1106   2 13    2265102
Change partition type:
 1 * FAT32                    0   1 32  1106   2 13    2265102

Analyse Disk /dev/sdc - 320 GB / 298 GiB - CHS 305245 64 32
Geometry from i386 MBR: head=255 sector=63
BAD_RS LBA=63 32


test_FAT()
 1 * FAT32                    0   1 32  1106   2 13    2265102
sector_size  0
cluster_size 0
reserved     0
fats         0
dir_entries  0
sectors      0
media        00
fat_length   0
secs_track   0
heads        0
hidden       0
total_sect   0
check_part_i386 failed for partition type 0B
Current partition structure:
Invalid FAT boot sector
 1 * FAT32                    0   1 32  1106   2 13    2265102
 1 * FAT32                    0   1 32  1106   2 13    2265102

Warning: Bad ending sector (CHS and LBA don't match)

search_part()
Disk /dev/sdc - 320 GB / 298 GiB - CHS 305245 64 32
BAD_RS LBA=621538046 513418
check_part_i386 failed for partition type 0C
     FAT32 LBA            303485  23 31 442712  31 17  285137139
This partition ends after the disk limits. (start=621538046, size=285137139, end=906675184, disk end=625142448)
file_pread(6,2,buffer,625143808(305246/0/1)) lseek err Invalid argument
file_pread(6,1,buffer,625143808(305246/0/1)) lseek err Invalid argument
file_pread(6,2,buffer,625143840(305246/1/1)) lseek err Invalid argument
file_pread(6,1,buffer,625143840(305246/1/1)) lseek err Invalid argument
Disk /dev/sdc - 320 GB / 298 GiB - CHS 305245 64 32
Check the harddisk size: HD jumpers settings, BIOS detection...
The harddisk (320 GB / 298 GiB) seems too small! (< 464 GB / 432 GiB)
The following partition can't be recovered:
     FAT32 LBA            303485  23 31 442712  31 17  285137139

Results

interface_write()
 
No partition found or selected for recovery

search_part()
Disk /dev/sdc - 320 GB / 298 GiB - CHS 305245 64 32
BAD_RS LBA=621538046 513418
check_part_i386 failed for partition type 0C
     FAT32 LBA            303485  23 31 442712  31 17  285137139
This partition ends after the disk limits. (start=621538046, size=285137139, end=906675184, disk end=625142448)
file_pread(6,2,buffer,625143808(305246/0/1)) lseek err Invalid argument
file_pread(6,1,buffer,625143808(305246/0/1)) lseek err Invalid argument
file_pread(6,2,buffer,625143840(305246/1/1)) lseek err Invalid argument
file_pread(6,1,buffer,625143840(305246/1/1)) lseek err Invalid argument
file_pread(6,2,buffer,625143872(305246/2/1)) lseek err Invalid argument
file_pread(6,1,buffer,625143872(305246/2/1)) lseek err Invalid argument
file_pread(6,1,buffer,625143807(305245/63/32)) lseek err Invalid argument
Disk /dev/sdc - 320 GB / 298 GiB - CHS 305245 64 32
Check the harddisk size: HD jumpers settings, BIOS detection...
The harddisk (320 GB / 298 GiB) seems too small! (< 464 GB / 432 GiB)
The following partition can't be recovered:
     FAT32 LBA            303485  23 31 442712  31 17  285137139

Results

interface_write()
 
No partition found or selected for recovery
Si quelqun peux m'assister sur ce problème ce serais vraiment génial.

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

Re: Problème de recuperation de partition

#2 Post by cgrenier »

Si le disque faisant 450 ou 500 Go et maintenant est visible avec une capacité moindre, sortez le disque du boitier USB, connectez-le directement en SATA, vérifier au passage son étiquette où est indiqué sa capacité, refaites un essai avec TestDisk.

Locked