0

I have an offset (1519748) and I want to calculate which sector of the partion (1) that the offset resides in. How would I calculate this?

  • How large are your sectors? (e.g. 512 bytes, 520 bytes, 4K (AF) )? – Hennes Dec 9 '15 at 10:53
  • Which OS are you using? – MariusMatutiae Dec 9 '15 at 11:35
  • 512 bytes. Using Linux to look at an NTFS dd file. – BubbleMonster Dec 9 '15 at 11:35
1

Then the answer is

                    1519748
  sector number = [ --------] + 1 = 2969
                      512

where [x] is the integer part of x.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.