partition windows endommage

Comment utiliser TestDisk pour récupérer une partition perdue
Locked
Message
Author
trazomtg
Posts: 6
Joined: 26 Mar 2015, 23:20

partition windows endommage

#1 Post by trazomtg »

Bonjour
j'ai une machine en dual boot linux debian et windows7

au demarrage le grub de linuxaffiche bien linux et windows mais quand je selactionne windows, impossible de booter.

J'ai utilise testdisk mais voila ce que j'obtiens:

Disk /dev/sdb - 74 GB / 69 GiB - CHS 9039 255 63
Current partition structure:
Partition Start End Size in sectors

Warning: number of heads/cylinder mismatches 148 (NTFS) != 255 (HD)
Warning: number of sectors per track mismatches 41 (NTFS) != 63 (HD)
1 * HPFS - NTFS 0 32 33 12 223 19 204800 [R erv au syst e]

Bad relative sector.
Invalid NTFS or EXFAT boot
2 P HPFS - NTFS 12 223 20 9039 160 17 145014784
2 P HPFS - NTFS 12 223 20 9039 160 17 145014784

Bad relative sector.


si je continue en selectionnant Quick Search voila ce que j'obtiens:

TestDisk 6.14, Data Recovery Utility, July 2013
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/sdb - 74 GB / 69 GiB - CHS 9039 255 63
Analyse cylinder 12/9038: 00%


Warning: number of heads/cylinder mismatches 148 (NTFS) != 255 (HD)
Warning: number of sectors per track mismatches 41 (NTFS) != 63 (HD)
HPFS - NTFS 0 32 33 12 223 19 204800 [R erv au syst e]

Stop



Merci pour votre aide.
T Granier

PS: est ce que je pourrais avoir les fichiers sources de votre application? Il n'est evidemment pas question de les utiliser ni de les donner mais je voudrais savoir comment ca fonctionne. Cela m'interesse vraiment.

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

Re: partition windows endommage

#2 Post by cgrenier »

Essayez TestDisk, Advanced, selectionnez la partition NTFS, Boot, RebuildBS, List.
Si vous voyez vos ficiers, Write, confirmez, Quit

Pour le code source: http://git.cgsecurity.org/cgit/testdisk/tree/

trazomtg
Posts: 6
Joined: 26 Mar 2015, 23:20

Re: partition windows endommage

#3 Post by trazomtg »

Bonjour,
merci beaucoup pour votre reactivite et votre reponse.
Je vais faire ca tout de suite.
Et e,coremerci pour les sources!!!
Amilcalement
T Granier

trazomtg
Posts: 6
Joined: 26 Mar 2015, 23:20

Re: partition windows endommage

#4 Post by trazomtg »

Bonjour
je viens de faire ce aque vous m'acez dit et :
apres le ReBuildBS je reste bloqie sur cet ecran:


TestDisk 6.14, Data Recovery Utility, July 2013
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
1 * HPFS - NTFS 0 32 33 12 223 19 204800 [R erv au syst e]
Directory /

>dr-xr-xr-x 0 0 0 20-Mar-2015 10:14 .
dr-xr-xr-x 0 0 0 20-Mar-2015 10:14 ..
dr-xr-xr-x 0 0 0 21-Dec-2012 02:01 Boot
dr-xr-xr-x 0 0 0 26-Feb-2015 18:03 System Volume Information
-r--r--r-- 0 0 8192 21-Dec-2012 02:01 BOOTSECT.BAK
-r--r--r-- 0 0 383786 21-Nov-2010 04:23 bootmgr



Next
Use Right to change directory, h to hide Alternate Data Stream
Strq to quit, : to select the current file, a to deselect all files
ect C to copy the selected files, c to copy the current file



je n'ai pas, comme vous le voyez, de commande List.
que faire?
Merci

trazomtg
Posts: 6
Joined: 26 Mar 2015, 23:20

Re: partition windows endommage

#5 Post by trazomtg »

bonjour
j'ai un peu avance.

apres les commandes ReBuimdBs et List voici ce que j'obtiens:

TestDisk 6.14, Data Recovery Utility, July 2013
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
1 * HPFS - NTFS 0 32 33 12 223 19 204800 [R erv au syst e]
Directory /

>dr-xr-xr-x 0 0 0 20-Mar-2015 10:14 .
dr-xr-xr-x 0 0 0 20-Mar-2015 10:14 ..
dr-xr-xr-x 0 0 0 21-Dec-2012 02:01 Boot
dr-xr-xr-x 0 0 0 26-Feb-2015 18:03 System Volume Information
-r--r--r-- 0 0 8192 21-Dec-2012 02:01 BOOTSECT.BAK
-r--r--r-- 0 0 383786 21-Nov-2010 04:23 bootmgr


Next
Use Right to change directory, h to hide Alternate Data Stream
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


et la je suis bloque!

pas de commande Write.

trazomtg
Posts: 6
Joined: 26 Mar 2015, 23:20

Re: partition windows endommage

#6 Post by trazomtg »

bonjour,
j'ai fait quelques manips et j'ai ca:


TestDisk 6.14, Data Recovery Utility, July 2013
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/sdb - 74 GB / 69 GiB - CHS 9039 255 63
Partition Start End Size in sectors
1 * HPFS - NTFS 0 32 33 12 223 19 204800 [R erv au syst e]

Boot sector
Status: OK

Backup boot sector
ntfs_boot_sector: Can't read backup boot sector.
Status: Bad

Sectors are not identical.

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


Est ce que le probleme est la?
Merci

trazomtg
Posts: 6
Joined: 26 Mar 2015, 23:20

Re: partition windows endommage

#7 Post by trazomtg »

j'ai essaye de copier le fichier backup boot sector sur le fichier boot sector mais j'ai ca:

TestDisk 6.14, Data Recovery Utility, July 2013
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org


Write error: Can't overwrite NTFS backup boot sector

je suis vraiment perdu
Merci pour votre aide
Thierry

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

Re: partition windows endommage

#8 Post by cgrenier »

Il faut regarder la seconde partition, pas la petite partition réservée pour le système.

Locked