I lost all data. Can you help me? Tra... Log Out | Topics | Search
Moderators | Edit Profile

X-Ways Support Forum » Disk Editing » I lost all data. Can you help me? Translate LBA in hex values? « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Marco Rossi
Username: blisset

Registered: N/A
Posted on Sunday, Oct 1, 2006 - 1:27:   

Hi, I lost MBR and Partition Table values, but I know all the values in LBA.

My HDD is 186.31Gb (geometry: 125231 cylinders, 65 heads, 48 sectors): 6 partitions (3 primaries + 3 logicals in extended partition). All partitions are NTFS.

I think if I edit partition table with correct entries I can see all partitions again, but I don't know how to translate LBA addresses in right hexadecimal values, because of 48-bits LBA addressing (HDD is larger than 137Gb limit).

Example: the first (primary active) partition starts at sector 63 and it's 16595081 total sectors, how to translate this in hex values to entry in first record (01BEh to 01CDh) of partition table?

Start sector (3 bytes): Head (8bits), Sector(6bits), Cyl(10bits)
End sector (3 bytes): Head (8bits), Sector(6bits), Cyl(10bits)
Start offset sector (4 bytes)
Total sectors (4 bytes)

I don't understand how can I translate 48-bits LBA addressing in 24 bits addressing?
The data I lost are VERY VERY important for me.
Thank you very much
Top of pagePrevious messageNext messageBottom of page Link to this message

Stefan Fleischmann
Username: admin

Registered: 1-2001
Posted on Sunday, Oct 1, 2006 - 19:37:   

Simply use the partition table template in WinHex, where you can enter the numbers in decimal. For each partition concentrate on start sector number (LBA) and total number of sectors. You can probably forget about the C/H/S values.

Add Your Message Here
Post:
Username: Posting Information:
Only registered users may post messages here, i.e. you need to have an account.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:
Forum operated by X-Ways Software Technology AG.