taille de disque incorecte

Comment utiliser TestDisk pour récupérer une partition perdue
Locked
Message
Author
babylone2019
Posts: 2
Joined: 21 Jun 2012, 13:33

taille de disque incorecte

#1 Post by babylone2019 »

Bonjour,

Suite a un crash d'une machine une erreur est apparue lors du démarrage

ahci port0 device error

et l'ordi refuse de démarrer quelque soit le disque bootable utilisé

j'ai donc place le disque dur ( seagate barracuda ST31000528AS ) 1To dans un boitier externe.

Sous Windows 7 le disque apparait en raw de 32Go

Après avoir lancer un testdisk je suis content il retrouve toutes les partitions.
malheureusement tout s'arrête la
Apres l'analyse ca me dis qu'il ne peut pas restaurer les partitions parce que le disque est trop petit

En effet comme le disque en reconnue comme un 32Go pas moyen de restaurer 1To

j'ai essayer de modifier la géométrie en me basant sur la doc seagate

http://www.seagate.com/staticfiles/supp ... 29369h.pdf

mais il ne fais que 138Go
j'ai changé le nombre de cylindre 4111 par celui de la doc
Default cylinders 16,383
c'est certainement pas le bon chiffre

quelqu'un pourrais m'aider m'aider s'il vous plais?

Code: Select all



Thu Jun 21 14:29:54 2012
Command line: TestDisk

TestDisk 6.14-WIP, Data Recovery Utility, May 2012
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows 7 (7601) SP1
Compiler: GCC 4.6, Cygwin 1007.9
Compilation date: 2012-06-18T11:00:46
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)=64023257088
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=33820284928
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=64023257088
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=33820284928
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=64021159936
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=33820284928
Hard disk list
Disk /dev/sda - 64 GB / 59 GiB - CHS 7783 255 63, sector size=512 - SanDisk SSD P4 64GB, S/N:114115038794, FW:SSD
Disk /dev/sdb - 33 GB / 31 GiB - CHS 4111 255 63, sector size=512 - Initio INIC-1610P, S/N:9VP3TZDC, FW:1.03

Partition table type (auto): Intel
Disk /dev/sdb - 33 GB / 31 GiB - Initio INIC-1610P
Partition table type: Intel

Analyse Disk /dev/sdb - 33 GB / 31 GiB - CHS 4111 255 63
Geometry from i386 MBR: head=255 sector=63
check_part_i386 1 type DE: no test
NTFS at 15/10/60
NTFS at 1269/184/4
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 P Dell Utility             0   1  1    14 254 63     240912
 2 * HPFS - NTFS             15  10 60  1269 184  3   20156416 [RECOVERY]
 3 P HPFS - NTFS           1269 184  4 121601  25 24 1933123584 [OS]
search_vista_part: 1

search_part()
Disk /dev/sdb - 33 GB / 31 GiB - CHS 4111 255 63
FAT16 at 0/1/1
FAT1 : 1-235
FAT2 : 236-470
start_rootdir : 471
Data : 503-240910
sectors : 240912
cluster_size : 4
no_of_cluster : 60102 (2 - 60103)
fat_length 235 calculated 235

FAT16 at 0/1/1
     FAT16 >32M               0   1  1    14 254 63     240912 [DellUtility]
     FAT16, blocksize=2048, 123 MB / 117 MiB
FAT32 at 15/0/1
FAT1 : 32-8229
FAT2 : 8230-16427
start_rootdir : 16428 root cluster : 2
Data : 16428-67119531
sectors : 67119570
cluster_size : 64
no_of_cluster : 1048486 (2 - 1048487)
fat_length 8198 calculated 8192
FAT differs, FAT sectors=0-16/8198
set_FAT_info: name from BS used

FAT32 at 15/0/1
     FAT32 LBA               15   0  1  4192 254 63   67119570 [ Unlabeled]
     FAT32, blocksize=32768, 34 GB / 32 GiB
This partition ends after the disk limits. (start=240975, size=67119570, end=67360544, disk end=66055244)
NTFS at 15/10/60
filesystem size           20156416
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               2
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS             15  10 60  1269 184  3   20156416 [RECOVERY]
     NTFS, blocksize=4096, 10320 MB / 9842 MiB
NTFS at 1269/184/4
filesystem size           1933123584
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               2
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS           1269 184  4 121601  25 24 1933123584 [OS]
     NTFS, blocksize=4096, 989 GB / 921 GiB
This partition ends after the disk limits. (start=20398080, size=1933123584, end=1953521663, disk end=66055244)
file_pread(5,16,buffer,28641343(1782/214/32)) ReadFile Le délai de temporisation de sémaphore a expiré.

Search for partition aborted
Disk /dev/sdb - 33 GB / 31 GiB - CHS 4111 255 63
Check the harddisk size: HD jumpers settings, BIOS detection...
The harddisk (33 GB / 31 GiB) seems too small! (< 1000 GB / 931 GiB)
The following partitions can't be recovered:
     FAT32 LBA               15   0  1  4192 254 63   67119570 [ Unlabeled]
     FAT32, blocksize=32768, 34 GB / 32 GiB
     HPFS - NTFS           1269 184  4 121601  25 24 1933123584 [OS]
     NTFS, blocksize=4096, 989 GB / 921 GiB
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

Results
   * FAT16 >32M               0   1  1    14 254 63     240912 [DellUtility]
     FAT16, blocksize=2048, 123 MB / 117 MiB
   P HPFS - NTFS             15  10 60  1269 184  3   20156416 [RECOVERY]
     NTFS, blocksize=4096, 10320 MB / 9842 MiB

interface_write()
 1 * FAT16 >32M               0   1  1    14 254 63     240912 [DellUtility]
 2 P HPFS - NTFS             15  10 60  1269 184  3   20156416 [RECOVERY]

search_part()
Disk /dev/sdb - 33 GB / 31 GiB - CHS 4111 255 63
FAT16 at 0/1/1
FAT1 : 1-235
FAT2 : 236-470
start_rootdir : 471
Data : 503-240910
sectors : 240912
cluster_size : 4
no_of_cluster : 60102 (2 - 60103)
fat_length 235 calculated 235

FAT16 at 0/1/1
     FAT16 >32M               0   1  1    14 254 63     240912 [DellUtility]
     FAT16, blocksize=2048, 123 MB / 117 MiB
Search for partition aborted
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

Results
   * FAT16 >32M               0   1  1    14 254 63     240912 [DellUtility]
     FAT16, blocksize=2048, 123 MB / 117 MiB

interface_write()
 1 * FAT16 >32M               0   1  1    14 254 63     240912 [DellUtility]
simulate write!

write_mbr_i386: starting...
write_all_log_i386: starting...
No extended partition
New geometry
Disk /dev/sdb - 134 GB / 125 GiB - CHS 16383 255 63 sector_size=512

Analyse Disk /dev/sdb - 134 GB / 125 GiB - CHS 16383 255 63
Geometry from i386 MBR: head=255 sector=63
check_part_i386 1 type DE: no test
NTFS at 15/10/60
NTFS at 1269/184/4
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 P Dell Utility             0   1  1    14 254 63     240912
 2 * HPFS - NTFS             15  10 60  1269 184  3   20156416 [RECOVERY]
 3 P HPFS - NTFS           1269 184  4 121601  25 24 1933123584 [OS]
Backup partition structure
partition_save
search_vista_part: 1

search_part()
Disk /dev/sdb - 134 GB / 125 GiB - CHS 16383 255 63
FAT16 at 0/1/1
FAT1 : 1-235
FAT2 : 236-470
start_rootdir : 471
Data : 503-240910
sectors : 240912
cluster_size : 4
no_of_cluster : 60102 (2 - 60103)
fat_length 235 calculated 235

FAT16 at 0/1/1
     FAT16 >32M               0   1  1    14 254 63     240912 [DellUtility]
     FAT16, blocksize=2048, 123 MB / 117 MiB
FAT32 at 15/0/1
FAT1 : 32-8229
FAT2 : 8230-16427
start_rootdir : 16428 root cluster : 2
Data : 16428-67119531
sectors : 67119570
cluster_size : 64
no_of_cluster : 1048486 (2 - 1048487)
fat_length 8198 calculated 8192
FAT differs, FAT sectors=0-16/8198
set_FAT_info: name from BS used

FAT32 at 15/0/1
     FAT32 LBA               15   0  1  4192 254 63   67119570 [ Unlabeled]
     FAT32, blocksize=32768, 34 GB / 32 GiB
file_pread(5,8,buffer,67360545(4193/0/1)) lseek err Invalid argument
file_pread(5,1,buffer,67360545(4193/0/1)) lseek err Invalid argument
file_pread(5,8,buffer,67360553(4193/0/9)) lseek err Invalid argument
file_pread(5,3,buffer,67360561(4193/0/17)) lseek err Invalid argument
file_pread(5,3,buffer,67360608(4193/1/1)) lseek err Invalid argument
file_pread(5,8,buffer,67360624(4193/1/17)) lseek err Invalid argument
file_pread(5,11,buffer,67360671(4193/2/1)) lseek err Invalid argument
file_pread(5,2,buffer,67362593(4193/32/33)) lseek err Invalid argument
get_geometry_from_list_part_aux head=255 nbr=4
get_geometry_from_list_part_aux head=8 nbr=2
get_geometry_from_list_part_aux head=16 nbr=2
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=4

Results
   * FAT16 >32M               0   1  1    14 254 63     240912 [DellUtility]
     FAT16, blocksize=2048, 123 MB / 117 MiB
   P FAT32 LBA               15   0  1  4192 254 63   67119570 [ Unlabeled]
     FAT32, blocksize=32768, 34 GB / 32 GiB

interface_write()
 1 * FAT16 >32M               0   1  1    14 254 63     240912 [DellUtility]
 2 P FAT32 LBA               15   0  1  4192 254 63   67119570 [ Unlabeled]
simulate write!

write_mbr_i386: starting...
write_all_log_i386: starting...
No extended partition
Partition table type (auto): Intel
Disk /dev/sdb - 134 GB / 125 GiB - Initio INIC-1610P
Partition table type: Intel

TestDisk exited normally.


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

Re: taille de disque incorecte

#2 Post by cgrenier »

Il faudrait connecter directement le disque en SATA dans l'ordinateur, booter depuis un disque fonctionnel et vérifier si la taille est revenu à 1 To. Si ce n'est pas le cas, il y a parfois des jumpers sur le disque permettant de forcer sa taille à 32 Go ou 128 Go, il faudrait regarder de ce coté là.

babylone2019
Posts: 2
Joined: 21 Jun 2012, 13:33

Re: taille de disque incorecte

#3 Post by babylone2019 »

Bonjour,


Si je met le disque dur dans la machine la machine d'origine l'ordi refuse de démarrer sur un live cd.
En fait il reste bloquer sur l'erreur de port ahci que une carte mère récente

Si je le met dans une autre machine le système boot, le disque apparait dans l'explorer mais il demande le formatage, et la taille est pas reconnue.

lors du test j'ai vue que le logiciel vois les partitions mais qu'il ne peut pas reconstruire la table d'allocation car la taille du disque est trop faible.

Sur ce j'essaye de modifier la geometrie pour qu'il puisse être détecter à la bonne taille.

Le problème c'est que je sais pas qu'elle chiffre entrée

une fois la taille restaurer il existe une chance que je puisse tout récupérer et sauvegarder sur un autre dd.

Je reprend mes recherches

Si quelqu'un sait exactement qu'elle chiffre je doit rentrée merci de m'expliquer :)

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

Re: taille de disque incorecte

#4 Post by cgrenier »

Si vous avez la possibilité, essayer ce disque sur un autre ordinateur.
Sinon sur le votre, essayer de réinitialiser les paramètres du BIOS par défaut, essayer aussi sur un autre port SATA car le AHCI gère les interfaces SATA, un problème matériel n'est pas exclu.

Locked