Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
I have a two disk dual boot system running WinXP and Lubuntu. The 20 GB Linux disk is healthy and I am just learning how to use TestDisk 7.0. I run the Linux version of TestDisk from Lubuntu and the Windows version of TestDisk from WinXP.
The partition structure of the Linux disk is reported as different in the two cases. The Windows version reports errors as shown below.
Is the Windows version of TestDisk only intended for Windows systems? It appears that I should be running under Linux for analysis of the Linux disk.
Current partition structure:
Linux
1 P Linux Swap 0 32 33 182 141 23 2930688
2 * Linux 182 141 24 933 10 37 12056576
3 P Linux 933 10 38 1683 134 51 12056576
4 P Linux 1683 134 52 2433 194 1 12052480
Windows
1 P Linux Swap 0 32 33 193 231 23 2930688
2 * Linux 193 231 24 991 85 37 12056576
3 P Linux 991 85 38 1788 179 51 12056576
4 P Linux 1788 179 52 2585 209 1 12052480
Bad sector count
Bad relative sector
Warning: Bad ending head (CHS and LBA don't match)
Warning: Bad starting head (CHS and LBA don't match)
TestDisk 7.1-WIP is recommended.
The disk geometry reported by Windows and Linux is probably different, it's why the CHS values are not identical.
There is no difference otherwise between the 2 versions.
So unless you have a problem, it's better to not modify the partition table.
I had a feeling that Windows might be doing something differently. It also looks like operating systems use a cylinder head sector definition that is different from the hardware level information detected by the BIOS.
I forgot to mention that the Linux disk previously had several logical partitions and not the primary partitions shown in my post. Those partitions were easily found running under Linux, but under Windows only one logical partition was shown after the Quick Search. It took a Deep Search to find the other logical partition.
I downloaded TestDisk 7.1 WIP for both Linux and Windows and will test them out.