recuperation partition

Comment utiliser TestDisk pour récupérer une partition perdue
Message
Author
definir
Posts: 10
Joined: 14 May 2012, 13:32

recuperation partition

#1 Post by definir »

Bonjour,

suite à une mauvaise manip j'ai perdu une partition, elle est la mais je n y est pas accés.
voici le resultat de test disk et photorec.
voici le resultat de testdisk:

Dsk/ dev/sda 80GB/74GB chs 9726 255 63

star end Size in sectors resultat du P
>D FAT12 0 1 1 1 254 63 32 067 (no name)....liste de fichiers dont certains en rouge
D HPFS- NTFS 1 1 1 5796 254 63 931 126 77 no file found -file system maybe changed
D HPFS- NTFS 5797 0 1 9725 254 63 631 193 85...........c'est ok j'ai une liste de fichiers
D FAT16 LBA 7444 1 1 9724 254 63 318 247 02..no file found -file system maybe changed

..............etc...
enter: to continue
FAT12 16MB/15 MIB

quand je fais P j'ai le resultat suivant en face des D.

je rappel que je n'est qu'une partition 30GO de visible mais pas l'autre partition de 40GO,
est ce que elle est visible dans ce resultat et y a t'il possibilité de la recuperer.

merci

resultat photorec aprés le scan

PhotoRec 6.12, Data Recovery Utility, May 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/sda - 80 GB / 74 GiB (RO) - ATA WDC WD800BB-75JH

Partition Start End Size in sectors
No partition 0 0 1 9726 28 46 156250000 [Whole disk]
> 1 * HPFS - NTFS 5797 0 1 9725 254 63 63119385



>[ Search ] [Options ] [File Opt] [ Quit ]
Start file recovery

merci .

User avatar
remy
Posts: 457
Joined: 25 Mar 2012, 10:21
Location: Strasbourg, France.
Contact:

Re: recuperation partition

#2 Post by remy »

Tu ne donnes ici que le résultat du deepersearch. Pourrais-tu donner le résultat aussi de l'analyse de départ, ainsi que le résultat du quicksearch. Ta partition "perdue" est celle dont le système de fichier est corrompu, probablement. (environ 45Gio).

Quelles manipulations as-tu effectué, qu'est-ce qui a provoqué la perte de cette partition ?

definir
Posts: 10
Joined: 14 May 2012, 13:32

Re: recuperation partition

#3 Post by definir »

merci, :lol:

au demarrage test disk:

TestDisk 6.12, Data Recovery Utility, May 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

TestDisk is free software, and
comes with ABSOLUTELY NO WARRANTY.

Select a media (use Arrow keys, then press Enter):
Disk /dev/sda - 80 GB / 74 GiB - ATA WDC WD800BB-75JH
Disk /dev/sr0 - 524 MB / 500 MiB (RO) - LITE-ON CD-ROM LTN-4891S

>[Proceed ] [ Quit ]....



aprés avoir appuyé sur analyse j'ai ca...

TestDisk 6.12, Data Recovery Utility, May 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/sda - 80 GB / 74 GiB - CHS 9726 255 63
Current partition structure:
Partition Start End Size in sectors

1 * HPFS - NTFS 5797 0 1 9725 254 63 63119385


*=Primary bootable P=Primary L=Logical E=Extended D=Deleted
>[Quick Search][ Backup ]
Try to locate partition




resultat quick search:


estDisk 6.12, Data Recovery Utility, May 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/sda - 80 GB / 74 GiB - CHS 9727 255 63
Partition Start End Size in sectors
>* FAT12 0 1 1 1 254 63 32067 [NO NAME]


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
FAT12, 16 MB / 15 MiB



j'ai appuyé sur P pour voir les fichiers et y en a deux qui sont en rouge:

TestDisk 6.12, Data Recovery Utility, May 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
* FAT12 0 1 1 1 254 63 32067 [NO NAME]
Directory /

>-rwxr-xr-x 0 0 204 28-May-1980 16:00 ,~S^D^A
-rwxr-xr-x 0 0 251712 5-Aug-2004 12:00 _TLDR
-rwxr-xr-x 0 0 1572864 19-Jan-1980 00:40 .
-r-xr-xr-x 0 0 257 1-Jan-1980 00:00 ^A^_
-rwxr-xr-x 0 0 251712 5-Aug-2004 12:00 _TLDR
-rwxr-xr-x 0 0 47564 5-Aug-2004 12:00 NTDETECT.COM
-rwxr-xr-x 0 0 544 1-Jan-1980 00:40 ^A^B
-rwxr-xr-x 0 0 0 16-Jul-1981 00:00 ^A^A
-rwxr-xr-x 0 0 4 2-Jan-1980 00:00
-rwxr-xr-x 0 0 251712 5-Aug-2004 12:00 NTLDR
-rwxr-xr-x 0 0 32 1-Jan-1980 00:00 ^A^A
-rwxr-xr-x 0 0 513 1-Jan-1981 00:00 .
-rwxr-xr-x 0 0 1504 7-May-2012 21:48 BOOTEX.LOG
-rwxr-xr-x 0 0 96 16-Feb-1980 16:00 ~Q^F^A

Use Right to change directory, h to hide deleted files
q to quit, : to select the current file, a to select all files
C to copy the selected files, c to copy the current file

aprés j'ai fais quit...

Suite à xp pro qui ne voulait pas demarrer donc j'ai utilisé hiren's boot :mrgreen: et comme il est en anglais jai du faire une betise je ne sais où ?? parce que j'ai fais mbr plusieurs fois, fixboot, aussi et chkdsk , j'ai egalement appuyer une fois sur write dans testdisk, backup egalement, j'ai touché un peu à tous :oops:
je repete que cette partition est invisisible dans le c: c'est noté 30GO, mais quand je fais propriété des disk la la partition manquante reapparait mais 40GO non alloués.
merci encore et j'espere que je pourrais reccuperer cette partition.

User avatar
remy
Posts: 457
Joined: 25 Mar 2012, 10:21
Location: Strasbourg, France.
Contact:

Re: recuperation partition

#4 Post by remy »

Après le deepersearch utilise le clavier pour passer les trois premières partitions en "P" au lieu de "d" puis fait "write".

Ensuite, relance le disque, et testdisk, puis va dans advanced au lieu de analyse et essaye de voir ce qui se passe pour ton BS. Si tu arrives à le réparer, liste le résultat pour vérifier.
Sinon, il faudra probablement envisager une solution pro. Je te laisse jeter un œil à ma signature pour ça. Surtout, essaye d'arrêter de tout tenter dans n'importe quel sens, tu risque uniquement d'aggraver la situation.

definir
Posts: 10
Joined: 14 May 2012, 13:32

Re: recuperation partition

#5 Post by definir »

merci pour la réponse,

juste une question, le fait de faire write ne va pas changer quoi que ce soit, je pourrais demarrer quand méme xp :?:

merci ;)

User avatar
remy
Posts: 457
Joined: 25 Mar 2012, 10:21
Location: Strasbourg, France.
Contact:

Re: recuperation partition

#6 Post by remy »

Oups, tu as raison. J'ai oublié de préciser : la troisième partition (celle actuellement accessible) doit être en "primary bootable" : le symbole est un "*" au lieu de "P".

definir
Posts: 10
Joined: 14 May 2012, 13:32

Re: recuperation partition

#7 Post by definir »

Bonjour,

et merci encore pour votre aide.

je voudrai savoir s'il est possible de copier cette partition disparu sur un disc externe avant que je fasse encore n'importe quoi :oops:

et comment faire ?

merci.

User avatar
remy
Posts: 457
Joined: 25 Mar 2012, 10:21
Location: Strasbourg, France.
Contact:

Re: recuperation partition

#8 Post by remy »

Le mieux serait de faire une duplication complète du disque avec un outil ed copie bit à bit comme ddrescue, sous linux.

definir
Posts: 10
Joined: 14 May 2012, 13:32

Re: recuperation partition

#9 Post by definir »

bonjour remy,

je t'es refais un petit recap...
et merci encore...
je vais essayer de detailler au maximum
une question? comment copier l'ecran de testdisc...

je commence a partir de l'analyse ok:

resultat analyse
TestDisk 6.12, Data Recovery Utility, May 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

TestDisk is free software, and
comes with ABSOLUTELY NO WARRANTY.

Select a media (use Arrow keys, then press Enter):
>Disk /dev/sda - 80 GB / 74 GiB - ATA WDC WD800BB-75JH
Disk /dev/sdb - 2000 GB / 1863 GiB - WD Ext HDD 1021
Disk /dev/sr0 - 524 MB / 500 MiB (RO) - LITE-ON CD-ROM LTN-4891S





>[Proceed ] [ Quit ]

Note: Disk capacity must be correctly detected for a successful recovery.
If a disk listed above has incorrect size, check HD jumper settings, BIOS
detection, and install the latest OS patches and disk drivers.


resultat aprés le quicksearch...

TestDisk 6.12, Data Recovery Utility, May 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/sda - 80 GB / 74 GiB - CHS 9727 255 63
Partition Start End Size in sectors
>* FAT12 0 1 1 1 254 63 32067 [NO NAME]
P HPFS - NTFS 5797 0 1 9725 254 63 63119385



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
FAT12, 16 MB / 15 MiB

quand je fais P: list files, le fat 12 m'affiche deux fichier en rouge voir message précedemment.
quand je fais P: list files, le HPFS NTFS m'affiche des dossiers normal.


j'ai fais entrer puis je lance deepserach...



resultat deepsearch


TestDisk 6.12, Data Recovery Utility, May 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/sda - 80 GB / 74 GiB - CHS 9727 255 63
Partition Start End Size in sectors
>D FAT12 0 1 1 1 254 63 32067 [NO NAME]
D HPFS - NTFS 1 1 1 5796 254 63 93112677
D HPFS - NTFS 5797 0 1 9725 254 63 63119385
D FAT16 LBA 7744 1 1 9724 254 63 31824702




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
FAT12, 16 MB / 15 MiB



detail des 4 D quand je fais p .

estDisk 6.12, Data Recovery Utility, May 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
FAT12 0 1 1 1 254 63 32067 [NO NAME]
Directory /

>-rwxr-xr-x 0 0 204 28-May-1980 16:00 ,~S^D^A
-rwxr-xr-x 0 0 251712 5-Aug-2004 12:00 _TLDR en rouge
-rwxr-xr-x 0 0 1572864 19-Jan-1980 00:40 .
-r-xr-xr-x 0 0 257 1-Jan-1980 00:00 ^A^_
-rwxr-xr-x 0 0 251712 5-Aug-2004 12:00 _TLDR en rouge
-rwxr-xr-x 0 0 47564 5-Aug-2004 12:00 NTDETECT.COM
-rwxr-xr-x 0 0 544 1-Jan-1980 00:40 ^A^B
-rwxr-xr-x 0 0 0 16-Jul-1981 00:00 ^A^A
-rwxr-xr-x 0 0 4 2-Jan-1980 00:00
-rwxr-xr-x 0 0 251712 5-Aug-2004 12:00 NTLDR
-rwxr-xr-x 0 0 32 1-Jan-1980 00:00 ^A^A
-rwxr-xr-x 0 0 513 1-Jan-1981 00:00 .
-rwxr-xr-x 0 0 1504 7-May-2012 21:48 BOOTEX.LOG
-rwxr-xr-x 0 0 96 16-Feb-1980 16:00 ~Q^F^A


Use Right to change directory, h to hide deleted files
q to quit, : to select the current file, a to select all files
C to copy the selected files, c to copy the current file




TestDisk 6.12, Data Recovery Utility, May 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
HPFS - NTFS 1 1 1 5796 254 63 93112677
Directory /

No file found, filesystem may be damaged.


Use Right to change directory, h to hide deleted files
q to quit, : to select the current file, a to select all files
C to copy the selected files, c to copy the current file





TestDisk 6.12, Data Recovery Utility, May 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
HPFS - NTFS 5797 0 1 9725 254 63 63119385
Directory /

>dr-xr-xr-x 0 0 0 8-Jun-2012 18:31 .
dr-xr-xr-x 0 0 0 8-Jun-2012 18:31 ..
-r--r--r-- 0 0 0 4-Sep-2009 11:06 AUTOEXEC.BAT
dr-xr-xr-x 0 0 0 26-Feb-2011 07:44 Autorun.inf
-r--r--r-- 0 0 212 1-Jan-2002 00:11 boot(2).ini
-r--r--r-- 0 0 212 15-May-2012 19:23 boot.ini
-r--r--r-- 0 0 4952 2-Oct-2001 16:15 Bootfont.bin
-r--r--r-- 0 0 0 4-Sep-2009 11:06 CONFIG.SYS
dr-xr-xr-x 0 0 0 25-Feb-2012 08:45 ConverterOutput
dr-xr-xr-x 0 0 0 4-Sep-2009 11:12 Documents and Settings
-r--r--r-- 0 0 19220 3-May-2012 18:46 INFO2
-r--r--r-- 0 0 0 6-May-2012 08:58 IO(2).SYS
-r--r--r-- 0 0 0 6-May-2012 08:58 MSDOS(2).SYS
dr-xr-xr-x 0 0 0 25-Dec-2009 23:14 MSOCache
-r--r--r-- 0 0 47564 3-Aug-2004 20:38 NTDETECT.COM
-r--r--r-- 0 0 251712 3-Aug-2004 20:59 ntldr
dr-xr-xr-x 0 0 0 6-Mar-2012 09:14 output
-r--r--r-- 0 0 2145386496 8-Jun-2012 17:24 pagefile.sys
-r--r--r-- 0 0 3462033 6-Jun-2012 17:12 pci_filerecovery.exe
dr-xr-xr-x 0 0 0 4-Jun-2012 16:52 Program Files
dr-xr-xr-x 0 0 0 31-Dec-2001 23:33 RECYCLER
dr-xr-xr-x 0 0 0 1-Mar-2011 21:51 System Volume Information
dr-xr-xr-x 0 0 0 5-Mar-2012 23:34 tmp
dr-xr-xr-x 0 0 0 6-Jun-2012 22:43 Téléchargements
dr-xr-xr-x 0 0 0 18-Oct-2011 17:12 UsbFix
-r--r--r-- 0 0 234219110 26-Feb-2011 07:48 UsbFix_Upload_Me_4T9Y22J.zip


Use Right to change directory
q to quit, : to select the current file, a to select all files
C to copy the selected files, c to copy the current file






TestDisk 6.12, Data Recovery Utility, May 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
FAT16 LBA 7744 1 1 9724 254 63 31824702
Directory /

No file found, filesystem may be damaged.



Use Right to change directory, h to hide deleted files
q to quit, : to select the current file, a to select all files
C to copy the selected files, c to copy the current file



alors j'ai changé les lettres mais j'ai ce message d'erreur sur la derniere ligne
quand je mets P, ca me marque structure: Bad en rouge.

TestDisk 6.12, Data Recovery Utility, May 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/sda - 80 GB / 74 GiB - CHS 9727 255 63
Partition Start End Size in sectors
>P FAT12 0 1 1 1 254 63 32067 [NO NAME]
P HPFS - NTFS 1 1 1 5796 254 63 93112677
* HPFS - NTFS 5797 0 1 9725 254 63 63119385
P FAT16 LBA 7744 1 1 9724 254 63 31824702



Structure: Bad. 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
FAT12, 16 MB / 15 MiB


je fais entrer

resultat


TestDisk 6.12, Data Recovery Utility, May 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org


Invalid partition structure.


>[Ok]

resultat ok

TestDisk 6.12, Data Recovery Utility, May 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org


Disk /dev/sda - 80 GB / 74 GiB - CHS 9727 255 63

>[ Analyse ] Analyse current partition structure and search for lost partitions
[ Advanced ] Filesystem Utils
[ Geometry ] Change disk geometry
[ Options ] Modify options
[ MBR Code ] Write TestDisk MBR code to first sector
[ Delete ] Delete all data in the partition table
[ Quit ] Return to disk selection



Note: Correct disk geometry is required for a successful recovery. 'Analyse'
process may give some warnings if it thinks the logical geometry is mismatched.



je fais quoi maintenant ? et comment se fait-il que je ne vois pas le dossier mes documents. ? :cry:

merci. ;)

User avatar
remy
Posts: 457
Joined: 25 Mar 2012, 10:21
Location: Strasbourg, France.
Contact:

Re: recuperation partition

#10 Post by remy »

Il me semble que tes partitions les plus importantes sont la deuxième et la troisième. Celles-ci ne se chevauchent pas, tu peux donc les mettre en P et * respectivement. La première semble se finir après le début de la seconde, et la quatrième commence avant la fin de la 3è, d'où l'impossibilité de les ajouter sans avoir le message "structure bad".

Locked