Ah chest cool si testdisk est dans le systemrescue cd, je l'ai gravé et il marche.
Je suis le wiki étape par étape de cgsecure. J'ai un peu de mal à comprendre comment fonctionne testdisk :
j'ai analysé le disque et fais une recherche rapide (quick search) sur l'ensemble des partitions (de toute façon, il n'y en qu'une en double), donc sur mes120 000 cylindres (ça prend du temps). A la fin de cette recherche, quatre partitions apparaîssent : 2 en vert, 2 en blanc (je n'ai pas encore compris le sens de ces couleurs). Lorsque je cherche à voir les fichiers (touche p) certaines partitions ne fonctionnent pas, et dans d'autre j'ai comme option une recherche avancée, écriture, une autre dont je ne me souviens plus et l'option quitter. Le problème c'est que quand je quitte, ça me ramène au sommaire analyse, avancée, géométrie,… si bien que je refais à chaque fois la recherche sur les cylindres. Suis-je obligé de la refaire à chaque fois? Et comment agir quand la recherche rapide est terminée pour réparer mes partitions?
Je vous mets ci-dessous le log de ma première analyse suivit de la recherche :
xt2fs lib: 1.39, ntfs lib: none, reiserfs lib: none, ewf lib: none, curses lib: ncurses 5.5
/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 - 0 sectors, sector size=512
Warning: can't get size for Disk /dev/md0 - 0 B - CHS 1 2 4, sector size=512
Hard disk list
Disk /dev/sda - 160 GB / 149 GiB - CHS 19457 255 63, sector size=512 - Hitachi HTS543216L9SA00, S/N:090529FB02015CC7LPZA, FW:FB2OC40C
Disk /dev/sdb - 3909 MB / 3728 MiB - CHS 1017 121 62, sector size=512, FW:PMAP
Disk /dev/sdc - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512 - WD 10EADS External, FW:1.75
Disk /dev/mapper/VolGroup00-LogVol00 - 152 GB / 142 GiB - 297861120 sectors, sector size=512
Disk /dev/mapper/VolGroup00-LogVol01 - 2113 MB / 2016 MiB - 4128768 sectors, sector size=512
Partition table type (auto): Intel
Disk /dev/sdc - 1000 GB / 931 GiB - WD 10EADS External
Partition table type: Intel
Analyse Disk /dev/sdc - 1000 GB / 931 GiB - CHS 121601 255 63
Geometry from i386 MBR: head=255 sector=63
BAD_RS LBA=2 16450559
test_FAT()
1 * FAT32 0 0 3 121601 80 63 1953525166
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 0 3 121601 80 63 1953525166
1 * FAT32 0 0 3 121601 80 63 1953525166
Bad relative sector.
search_part()
Disk /dev/sdc - 1000 GB / 931 GiB - CHS 121601 255 63
BAD_RS LBA=65 16450559
check_part_i386 failed for partition type 07
HPFS - NTFS 0 1 3 1084 94 14 17420331
check_part_i386 failed for partition type 07
HPFS - NTFS 13867 161 54 14952 0 2 17420331
NTFS at 14952/1/3
filesystem size 13301757
sectors_per_cluster 8
mft_lcn 786432
mftmirr_lcn 831359
clusters_per_mft_record -10
clusters_per_index_record 1
HPFS - NTFS 14952 1 3 15780 0 2 13301757
NTFS, blocksize=4096, 6810 MB / 6494 MiB
block_group_nr 1
recover_EXT2: "e2fsck -b 32768 -B 4096 device" may be needed
recover_EXT2: s_block_group_nr=1/255, s_mnt_count=0/4294967295, s_blocks_per_group=32768, s_inodes_per_group=8176
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 8365824
recover_EXT2: part_size 66926592
Linux 15779 252 26 19945 249 16 66926592
ext4 blocksize=4096 Large_file Sparse_SB Backup_SB, 34 GB / 31 GiB
block_group_nr 1
recover_EXT2: "e2fsck -b 32768 -B 4096 device" may be needed
recover_EXT2: s_block_group_nr=1/3516, s_mnt_count=0/35, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 115234048
recover_EXT2: part_size 921872384
Linux 19946 124 19 77330 99 17 921872384
ext4 blocksize=4096 Large_file Sparse_SB Backup_SB, 471 GB / 439 GiB
Results
* HPFS - NTFS 0 1 3 1084 94 14 17420331
P HPFS - NTFS 13867 161 54 14952 0 2 17420331
HPFS - NTFS 14952 1 3 15780 0 2 13301757
NTFS, blocksize=4096, 6810 MB / 6494 MiB
Linux 15779 252 26 19945 249 16 66926592
ext4 blocksize=4096 Large_file Sparse_SB Backup_SB, 34 GB / 31 GiB
P Linux 19946 124 19 77330 99 17 921872384
ext4 blocksize=4096 Large_file Sparse_SB Backup_SB, 471 GB / 439 GiB
Hint for advanced users. dmsetup may be used if you prefer to avoid to rewrite the partition table for the moment:
echo "0 17420331 linear /dev/sdc 65" | dmsetup create test0
echo "0 17420331 linear /dev/sdc 222783551" | dmsetup create test1
echo "0 13301757 linear /dev/sdc 240203945" | dmsetup create test2
echo "0 66926592 linear /dev/sdc 253505536" | dmsetup create test3
echo "0 921872384 linear /dev/sdc 320440320" | dmsetup create test4
Not an exFAT boot sector.
L HPFS - NTFS 13867 161 54 14952 0 2 17420331
Can't open filesystem. Filesystem seems damaged.
Not an exFAT boot sector.
HPFS - NTFS 14952 1 3 15780 0 2 13301757
NTFS, blocksize=4096, 6810 MB / 6494 MiB
Support for this filesystem hasn't been enable during compilation.
add_ext_part_i386: max
add_ext_part_i386: min
interface_write()
1 * HPFS - NTFS 0 1 3 1084 94 14 17420331
2 E extended LBA 13867 0 1 14952 254 63 17446590
3 P Linux 19946 124 19 77330 99 17 921872384
5 L HPFS - NTFS 13867 161 54 14952 0 2 17420331
simulate write!
write_mbr_i386: starting...
write_all_log_i386: starting...
write_all_log_i386: CHS: 13867/0/1,lba=222773355
En espérant que vous ayez assez d'infos pour m'aider.