Partition Windows inatteignable

Utiliser TestDisk pour réparer le système de fichier
Locked
Message
Author
lannaen
Posts: 3
Joined: 15 Nov 2012, 22:20

Partition Windows inatteignable

#1 Post by lannaen »

Bonjour,

Je vous ai déjà contacté par mail, mais un post sur le forum est peut être plus pratique pour le suivi.

Voici le problème.

Netbook. DD 160Go et si j'ai bien compris 4 partitions:
1. Windows (77Go)
2. Données (77 Go)
3. Restauration
4. ?
Structure du disque
Structure du disque
Workspace 1_006.png (154.3 KiB) Viewed 3280 times
Windows ne démarre pas. Lorsque je lance Ubuntu sur une live USB, je ne peux pas monter la partition Windows.
Vérification avec TestDisk: elle semble notée deux fois dans la table des partitions:
TD1
TD1
Workspace 1_001 (1).png (230.08 KiB) Viewed 3280 times
Une recherche approfondie semble toujours la voir deux fois:
TD2
TD2
Workspace 1_005.png (237.11 KiB) Viewed 3280 times
Que devrais-je faire s'il vous plait?



LOG -------------------------

Code: Select all

Sat Nov 10 14:50:57 2012
Command line: TestDisk

TestDisk 6.11, Data Recovery Utility, April 2009
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Linux, kernel 2.6.32-38-generic (#83-Ubuntu SMP Wed Jan 4 11:13:04 UTC 2012)
Compiler: GCC 4.4 - Jun 23 2009 17:11:34
ext2fs lib: 1.41.11, ntfs lib: 10:0:0, reiserfs lib: none, ewf lib: none
/dev/sda: LBA, HPA, LBA48, DCO support
/dev/sda: size       312581808 sectors
/dev/sda: user_max   312581808 sectors
/dev/sda: native_max 312581808 sectors
/dev/sda: dco        312581808 sectors
Warning: can't get size for Disk /dev/mapper/control - 0 B - CHS 1 1 1, sector size=512
Hard disk list
Disk /dev/sda - 160 GB / 149 GiB - CHS 19457 255 63, sector size=512 - ATA Hitachi HTS54321
Disk /dev/sdb - 4022 MB / 3835 MiB - CHS 1021 124 62, sector size=512 - SanDisk Cruzer Blade

Partition table type (auto): Intel
Disk /dev/sda - 160 GB / 149 GiB - ATA Hitachi HTS54321
Partition table type: Intel

Analyse Disk /dev/sda - 160 GB / 149 GiB - CHS 19457 255 63
Geometry from i386 MBR: head=255 sector=63
NTFS at 0/1/1
Error: size boot_sector 156264192 > partition 151123392
check_part_i386 failed for partition type 07
NTFS at 9407/0/1
FAT32 at 18813/0/1
Info: size boot_sector 10249464, partition 10249470
FAT1 : 36-10025
FAT2 : 10026-20015
start_rootdir : 20016 root cluster : 2
Data : 20016-10249463
sectors : 10249464
cluster_size : 8
no_of_cluster : 1278681 (2 - 1278682)
fat_length 9990 calculated 9990
check_part_i386 4 type EF: no test
get_geometry_from_list_part_aux head=255 nbr=8
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=2
get_geometry_from_list_part_aux head=64 nbr=2
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=8
Current partition structure:
Error: size boot_sector 156264192 > partition 151123392
Invalid NTFS or EXFAT boot
 1 * HPFS - NTFS              0   1  1  9406 254 63  151123392
 1 * HPFS - NTFS              0   1  1  9406 254 63  151123392
 2 P HPFS - NTFS           9407   0  1 18812 254 63  151107390
 3 P hid. FAT32 LBA       18813   0  1 19450 254 63   10249470 [PE]
 4 P EFI (FAT-12/16/32)   19451   0  1 19456 254 63      96390
Ask the user for vista mode
Computes LBA from CHS for Disk /dev/sda - 160 GB / 149 GiB - CHS 19458 255 63
Allow partial last cylinder : Yes
search_vista_part: 1

search_part()
Disk /dev/sda - 160 GB / 149 GiB - CHS 19458 255 63
NTFS at 0/1/1
filesystem size           156264192
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               16
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS              0   1  1  9726 254 63  156264192
     NTFS, 80 GB / 74 GiB
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
   * HPFS - NTFS              0   1  1  9726 254 63  156264192
     NTFS, 80 GB / 74 GiB

interface_write()
 1 * HPFS - NTFS              0   1  1  9726 254 63  156264192

search_part()
Disk /dev/sda - 160 GB / 149 GiB - CHS 19458 255 63
NTFS at 0/1/1
filesystem size           156264192
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               16
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS              0   1  1  9726 254 63  156264192
     NTFS, 80 GB / 74 GiB
NTFS at 9406/254/63
filesystem size           151123392
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               16
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS              0   1  1  9406 254 63  151123392
     NTFS found using backup sector!, 77 GB / 72 GiB
NTFS at 9407/0/1
filesystem size           151107390
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               16
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS           9407   0  1 18812 254 63  151107390
     NTFS, 77 GB / 72 GiB
NTFS at 18812/254/63
filesystem size           151107390
sectors_per_cluster       8
mft_lcn                   786432
mftmirr_lcn               16
clusters_per_mft_record   -10
clusters_per_index_record 1
     HPFS - NTFS           9407   0  1 18812 254 63  151107390
     NTFS found using backup sector!, 77 GB / 72 GiB
FAT32 at 18813/0/1
FAT1 : 36-10025
FAT2 : 10026-20015
start_rootdir : 20016 root cluster : 2
Data : 20016-10249463
sectors : 10249464
cluster_size : 8
no_of_cluster : 1278681 (2 - 1278682)
fat_length 9990 calculated 9990

FAT32 at 18813/0/1
     FAT32 LBA            18813   0  1 19450 254 57   10249464 [PE]
     FAT32, 5247 MB / 5004 MiB
FAT32 at 18813/0/7
FAT1 : 36-10025
FAT2 : 10026-20015
start_rootdir : 20016 root cluster : 2
Data : 20016-10249463
sectors : 10249464
cluster_size : 8
no_of_cluster : 1278681 (2 - 1278682)
fat_length 9990 calculated 9990
set_FAT_info: name from BS used

FAT32 at 18813/0/7
     FAT32 LBA            18813   0  1 19450 254 57   10249464 [NO NAME]
     FAT found using backup sector!, 5247 MB / 5004 MiB
get_geometry_from_list_part_aux head=255 nbr=8
get_geometry_from_list_part_aux head=8 nbr=3
get_geometry_from_list_part_aux head=16 nbr=3
get_geometry_from_list_part_aux head=32 nbr=3
get_geometry_from_list_part_aux head=64 nbr=3
get_geometry_from_list_part_aux head=128 nbr=2
get_geometry_from_list_part_aux head=240 nbr=2
get_geometry_from_list_part_aux head=255 nbr=8

Results
     HPFS - NTFS              0   1  1  9406 254 63  151123392
     NTFS found using backup sector!, 77 GB / 72 GiB
     HPFS - NTFS              0   1  1  9726 254 63  156264192
     NTFS, 80 GB / 74 GiB
     HPFS - NTFS           9407   0  1 18812 254 63  151107390
     NTFS, 77 GB / 72 GiB
   * FAT32 LBA            18813   0  1 19450 254 63   10249470 [PE]
     FAT32, 5247 MB / 5004 MiB

interface_write()
 1 * FAT32 LBA            18813   0  1 19450 254 63   10249470 [PE]
simulate write!

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

TestDisk exited normally.

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

Re: Partition Windows inatteignable

#2 Post by cgrenier »

Lance TestDisk, Advanced, selectionne la première partition NTFS, Boot, RebuildBS, et si les fichiers sont visibles, Write, confirme, Quit.

lannaen
Posts: 3
Joined: 15 Nov 2012, 22:20

Re: Partition Windows inatteignable

#3 Post by lannaen »

Bonjour et merci beaucoup pour le suivi :)

J'ai lancé les fonctions avancées. TD voit les habituels d'un C: (windows, system32, documents & settings...), par contre il semblait ne rien voir à l'intérieur.
J'ai quand meme essayé de faire la restauration.

L'avancement:
Les partitions semble restaurées à la bonne place et sont montables.
En revanche, aucune trace des dossiers Windows, Documents and Settings et compagnie.
Si je relance testdisk, il semble toujours voir les répertoires, mais pas le contenu. Une autre idée?

Le must - meme s'il faut réinstaller Windows ensuite, serait de pouvoir récupérer l'ancien dossier du bureau, où je pense que sont enregistrée la plupart des données sur le disque C:

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

Re: Partition Windows inatteignable

#4 Post by cgrenier »

Il faudrait faire sous Windows un "chkdsk /f c:" et utiliser PhotoRec si des fichiers restent manquants.

lannaen
Posts: 3
Joined: 15 Nov 2012, 22:20

Re: Partition Windows inatteignable

#5 Post by lannaen »

Bonjour,
Enfin un peu de temps pour revenir sur ce problème.

Les partitions sont donc récupérées mais si TestDisk voit les dossiers Windows, Documents and Settings, Program Files et compagnie (les répertoires, par contre rien en contenu), rien dans l'explorateur.

Du coup, au démarrage, windows est introuvable, pas de chkdsk possible de ce côté, une autre option ?

J'ai essayé Photorec pour la première fois. Petite merveille puisqu'il a récupéré 5000 fichiers, mais a fini par planter en "Segmentation Fault", une idée ?

[Edit] Finalement mon amie avait besoin de sa machine, j'ai réinstallé Windows et gardé les 5000 fichiers que Photorec a réussi à récupérer :)

Locked