Warning: number of bytes per sector mismatches 512

How to use TestDisk to recover lost partition
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
Posts: 1
Joined: 06 Dec 2014, 09:12

Warning: number of bytes per sector mismatches 512

#1 Post by menamories »


I had a faulty HDD and I tried to recover the partitions using testdisk.

I followed the instructions mentioned here

then I got that message
Untitled.jpg (85.81 KiB) Viewed 3402 times
and I don't know what to do now. Please, Help me.

User avatar
Posts: 2835
Joined: 18 Feb 2012, 17:19
Location: Ludwigsburg/Stuttgart - Germany

Re: Warning: number of bytes per sector mismatches 512

#2 Post by Fiona »

I'm always a kind of careful, if a message about sector size appears.
Please run a diagnose only and don't confirm at Write.
So you woudn't change anything.
Before you confirm at Analyse, please go to the menu Geometry and change the value sector size of 512 to 4046.
Run your diagnose again and if a partition is found, please mark it and press p to have a try to list your files.
Please copy and paste the content of your testdisk.log.
Note: It's only intended as a diagnose.
Don't confirm at Write and modify anything to your disk.
Actually testdisk obtains the info under windows from the OS.
Until yet, I can't judge, why you received such message?