Page 1 of 1

Testdisk, partition table type and geometry

Posted: 04 May 2017, 15:55
by ClaudiaF
Background info: Windows 10 corrupt somehow the disc.
One day it doesn't start anymore but complaining about missing os.
First check revealed filesystem type is reported as RAW and disc size is wrong 156GB and 56MB
Connected disc to Ubuntu and is recognized as NTFS with 931/GB and 450MB (looks much better!)

I'd like to run analyse to see if I have corrupt sectors etc...

The hard disc is a
>Disk /dev/sdc - 1000 GB / 931 GiB - TOSHIBA DT01ACA100

For the partition table type do I need to use Intel/PC or EFI GPT?
(Installed OS was Windows 10 64bit)

and for geometry, the label on the disc states CHS:16383/16/63
but if I use these values testdisk reports different size
Disk /dev/sdc - 67 GB / 62 GiB - CHS 16383 16 63, sector size=4096

But with default settings (CHS 15200 255 63 - sector size=4096) it looks ok.

What do I need to do?

Thank you for your help
Claudia

Re: Testdisk, partition table type and geometry

Posted: 05 May 2017, 06:14
by cgrenier
It's usually better to not alter the geometry settings.
testdisk should detect the current partition table type, it's usually better to stay with the same type. Windows supports both PC Intel and EFI GPT.
Please post the testdisk.log file content if you need more help.

Re: Testdisk, partition table type and geometry

Posted: 05 May 2017, 20:37
by ClaudiaF
Thank you very much - I was able to recreate corrupt mbr
and two ntfs boot sectors and system is up and running again.

Cheers
Claudia