I must admit I didn't look at the outputs thorougly earlier. Now it seems more like a Primary partition to me.
Originally Posted by varunendra
Earlier, I was only considering the fact that it starts on a non-zero head (32). But now I notice two other facts (thanks to the more complete screenshot) which are more important -
First, it also starts at cylinder 0, which, if written clearly makes it a Primary partition.
Second, if created, the second partition in the screenshot is the only partition on that disk since it occupies almost all of the disk. So if you can confirm there was only a single 'windows' partition on the disk, I think we are good to proceed with making it P(rimary) > write the structure.
To understand it yourself (if you haven't already), here's what is noticible -
Once the correct mode is set for the partition
, press Enter > select Write > Enter > y > Ok > quit testdisk and see if the partition has returned.
1) The entire disk has 30402 cylinders, 255 heads, 63 sectors (CHS = 30402 255 63)With sector size = 512 bytes,
2) The second partition in the list starts at the very first cylinder (0) and ends at almost the last one (30401)
3) The size of the partition also confirms that it is the only partition on the disk. The size in sectors (488392704), when converted to GiB gives 232.883789062 GiB = the total disk size.
488392704 x 512 = 250057064448 bytes (/1024) = 244196352 KiB (/1024) = 238473 MiB (/1024) = 232.88 GiB
Sorry for the slight confusion earlier, guess I was too tired to focus