Je comprends que le nombre de tetes par cylindre est devenu faux sur la partition windows (/dev/hda) : 16 au lieu de 255 ! Comment une telle chose est-elle possible ?
Mais avant d'agir, je préférais comprendre plusieurs points :
* CHS and LBA don't match : est-ce le meme probleme que le nombre de tetes par cylindre ?
* Alors qu'il n'y a qu'un disque dans le PC, que sont les partitions /dev/hdc (une partie vide du disque ?) et /dev/sda (quelque chose à voir avec la carte réseau ? Mais pourquoi des partitions qui s'enchevetrent ?)
* Pourquoi Linux a-t-il aussi un comportement anormal ? (impossible d'entrer dans la configuration de la machine, par exemple).
Select a media (use Arrow keys, then press Enter):
Disk /dev/hda - 30 GB / 27 GiB
Disk /dev/hdc - 2009 KB / 1962 KiB (RO)
Disk /dev/sda - 100 MB / 95 MiB
Le disque /dev/hda
Disk /dev/hda - 30 GB / 27 GiB - CHS 58140 16 63
Current partition structure:
Partition Start End Size in sectors
1 P NoteBIOS save2disk 0 1 1 47 12 63 481
Warning: Bad ending head (CHS and LBA don't match)
Warning: Incorrect number of heads/cylinder 255 (FAT) != 16 (HD)
2 * FAT32 LBA 47 13 1 49501 13 63 49849695 [HPNOTEBOOK]
Warning: Bad ending head (CHS and LBA don't match)
3 E extended 49501 14 1 58139 15 63 8707230
Warning: Bad starting head (CHS and LBA don't match)
5 L Linux 49501 15 1 54155 9 63 4690917
Warning: Bad starting head (CHS and LBA don't match)
Next
*=Primary bootable P=Primary L=Logical E=Extended D=Deleted
Le disque /dev/hda : la synth�se
Disk /dev/hda - 30 GB / 27 GiB - CHS 58140 16 63
Warning: the current number of heads per cylinder is 16
but the correct value may be 255.
You can use the Geometry menu to change this value.
It's something to try if
- some partitions are not found by TestDisk
- or the partition table can not be written because partitions overlaps.
Disk /dev/hda - 30 GB / 27 GiB - CHS 58140 16 63
Partition Start End Size in sectors
* FAT16 <32M 0 1 1 32 15 63 33201 [NO NAME]
D FAT32 LBA 47 13 1 49501 15 63 49849821 [HPNOTEBOOK]
D Linux 49501 15 1 54155 15 63 4691295
D Linux Swap 54155 11 1 55095 15 63 947835
P Linux 55096 0 1 58139 15 63 3068352
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
FAT16, 16 MB / 16 MiB
Le disque /dev/hdc
Disk /dev/hdc - 2009 KB / 1962 KiB - CHS 1 255 63 (RO)
Current partition structure:
Partition Start End Size in sectors
Partition sector doesn't have the endmark 0xAA55
Le disk /dev/sda
Disk /dev/sda - 100 MB / 95 MiB - CHS 1023 4 48
Current partition structure:
Partition Start End Size in sectors
Warning: Bad ending sector (CHS and LBA don't match)
2 * Willowsoft OFS1 10261658 3 17 13092475 1 19 543516771
Warning: Bad starting head (CHS and LBA don't match)
3 * Willowsoft OFS1 9994727 1 19 11169731 3 36 225600882
Warning: Bad starting sector (CHS and LBA don't match)
Only one partition must be bootable
Space conflict between the following two partitions
1 * NetWare 286 1223132 2 22 11048157 3 47 1886404874
3 * Willowsoft OFS1 9994727 1 19 11169731 3 36 225600882
Next
# Sorties de testdisk
Posté par Vlaxamarch . En réponse au message Demande aide récupération données sur partition HS. Évalué à 1.
Ci-dessous le résultat.
Je comprends que le nombre de tetes par cylindre est devenu faux sur la partition windows (/dev/hda) : 16 au lieu de 255 ! Comment une telle chose est-elle possible ?
Mais avant d'agir, je préférais comprendre plusieurs points :
* CHS and LBA don't match : est-ce le meme probleme que le nombre de tetes par cylindre ?
* Alors qu'il n'y a qu'un disque dans le PC, que sont les partitions /dev/hdc (une partie vide du disque ?) et /dev/sda (quelque chose à voir avec la carte réseau ? Mais pourquoi des partitions qui s'enchevetrent ?)
* Pourquoi Linux a-t-il aussi un comportement anormal ? (impossible d'entrer dans la configuration de la machine, par exemple).
Merci pour toute aide !
Vlaxamarch
__________________________________________________
La liste des partitions :
Select a media (use Arrow keys, then press Enter):
Disk /dev/hda - 30 GB / 27 GiB
Disk /dev/hdc - 2009 KB / 1962 KiB (RO)
Disk /dev/sda - 100 MB / 95 MiB
Le disque /dev/hda
Disk /dev/hda - 30 GB / 27 GiB - CHS 58140 16 63
Current partition structure:
Partition Start End Size in sectors
1 P NoteBIOS save2disk 0 1 1 47 12 63 481
Warning: Bad ending head (CHS and LBA don't match)
Warning: Incorrect number of heads/cylinder 255 (FAT) != 16 (HD)
2 * FAT32 LBA 47 13 1 49501 13 63 49849695 [HPNOTEBOOK]
Warning: Bad ending head (CHS and LBA don't match)
3 E extended 49501 14 1 58139 15 63 8707230
Warning: Bad starting head (CHS and LBA don't match)
5 L Linux 49501 15 1 54155 9 63 4690917
Warning: Bad starting head (CHS and LBA don't match)
Next
*=Primary bootable P=Primary L=Logical E=Extended D=Deleted
Le disque /dev/hda : la synth�se
Disk /dev/hda - 30 GB / 27 GiB - CHS 58140 16 63
Warning: the current number of heads per cylinder is 16
but the correct value may be 255.
You can use the Geometry menu to change this value.
It's something to try if
- some partitions are not found by TestDisk
- or the partition table can not be written because partitions overlaps.
Disk /dev/hda - 30 GB / 27 GiB - CHS 58140 16 63
Partition Start End Size in sectors
* FAT16 <32M 0 1 1 32 15 63 33201 [NO NAME]
D FAT32 LBA 47 13 1 49501 15 63 49849821 [HPNOTEBOOK]
D Linux 49501 15 1 54155 15 63 4691295
D Linux Swap 54155 11 1 55095 15 63 947835
P Linux 55096 0 1 58139 15 63 3068352
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
FAT16, 16 MB / 16 MiB
Le disque /dev/hdc
Disk /dev/hdc - 2009 KB / 1962 KiB - CHS 1 255 63 (RO)
Current partition structure:
Partition Start End Size in sectors
Partition sector doesn't have the endmark 0xAA55
Le disk /dev/sda
Disk /dev/sda - 100 MB / 95 MiB - CHS 1023 4 48
Current partition structure:
Partition Start End Size in sectors
1 * NetWare 286 1223132 2 22 11048157 3 47 1886404874
Warning: Bad ending sector (CHS and LBA don't match)
2 * Willowsoft OFS1 10261658 3 17 13092475 1 19 543516771
Warning: Bad starting head (CHS and LBA don't match)
3 * Willowsoft OFS1 9994727 1 19 11169731 3 36 225600882
Warning: Bad starting sector (CHS and LBA don't match)
Only one partition must be bootable
Space conflict between the following two partitions
1 * NetWare 286 1223132 2 22 11048157 3 47 1886404874
3 * Willowsoft OFS1 9994727 1 19 11169731 3 36 225600882
Next