URL: https://linuxfr.org/forums/general-general/posts/demande-daide-pour-restaurer-une-partition-ko Title: Demande d'aide pour restaurer une partition KO Authors: Vlaxamarch Date: 2007年07月11日T21:32:08+02:00 Tags: Score: 0 Bonsoir, Je sollicite de l'aide pour interpréter les sorties ci-dessous de testdisk (cf. [http://www.cgsecurity.org/wiki/TestDisk),](http://www.cgsecurity.org/wiki/TestDisk),) et pour agir judicieusement ensuite (toujours grace à testdisk) Testdisk dit qu'il y aurait une erreur dans le nombre de _heads/cylinder (16 au lieu de 255)_, mais est-ce bien tout ? Or c'est bizarre : selon ce qui est écrit sur le disque, il y aurait plutot _1024 cylindres par tete_ ! De plus, il y a CHS/LBA que je ne comprends pas. 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 problématique ** 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 problématique : sorties suivantes** > 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 ** Autres informations :** * Sur le disque lui-meme, il est écrit 16383 CYL, 16 HEADs. Soit presque 1024 CYL/HEAD, et non 255 tetes/cylindre ! * Il s'agit d'une partition (/dev/hda) sur laquelle Windows ne démarre pas après l'écran bleu (pas de démarrage non plus en mode sans échec, la seule différence est que ça arrive alors à la saisie du mot de passe). Certe Mandriva 2006 démarre, permet de rapatrier les fichiers courts de la partition Windows, mais se fige définitivement après le début de rapatriement d'une dizaine de M.