TestDisk Windows Version Analyzing Linux Disk

How to use TestDisk to recover lost partition
Post Reply
Message
Author
ken75
Posts: 2
Joined: 27 Feb 2017, 20:00

TestDisk Windows Version Analyzing Linux Disk

#1 Post by ken75 » 27 Feb 2017, 20:50

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.

Thanks for any help.

Code: Select all

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)

Sponsored links

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

Re: TestDisk Windows Version Analyzing Linux Disk

#2 Post by cgrenier » 28 Feb 2017, 07:01

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.

ken75
Posts: 2
Joined: 27 Feb 2017, 20:00

Re: TestDisk Windows Version Analyzing Linux Disk

#3 Post by ken75 » 01 Mar 2017, 06:24

Thanks for the help.

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests