Partition Table Entry Format

Files Recovery Software
Home Contact Details Customer Support Download Demo Products  

 
 

Partition Table Entry Format

The format of partition table entry of any Partition in MBR has been given in the next table. Every Partition Entry of any MBR may be broken into the following bytes with their specific meanings:

Offset

Meaning

Size

Description

00H

Boot Type Indicator Byte

1 Byte

If Byte is 00H, the Partition is Inactive and if Byte is 80H, The Partition is Active (or Bootable)

01H

Head Number of Beginning of the Partition

1 Byte

Starting Head number of the Partition in Hexadecimal System

02H

Sector and Cylinder Number of Beginning of the Partition

2 Bytes

6 Bits of First Byte make Starting Sector Number and Combination of remaining 2 Bits (as Two Most Significant Bits) plus 8 Bits of another Byte (Rest 8 least Significant Bits of the 10-Bit Number ) make the Starting Cylinder Number of the Partition

04H

File System indicator Byte

1 Byte

File System Indicator Byte in Hexadecimal system

05H

Head Number of End of the Partition

1 Byte

Ending Head Number of the Partition in Hexadecimal System

06H

Sector and Cylinder Number of End of the Partition

2 Bytes

6 Bits of First Byte make Ending Sector Number and Combination of remaining 2 Bits (as Two Most Significant Bits) plus 8 Bits of another Byte (Rest 8 least Significant Bits of the 10-Bit Number ) make the Ending Cylinder Number of the Partition

08H

Absolute Sector number of Beginning of the Partition

4 Bytes

Number of Sectors Between the MBR and the First Sector in the Partition

0CH

Absolute Sector number of End of the Partition

4 Bytes

Number of Sectors in the Partition

Total = 16 Bytes

Writing program to read the partition table of MBR

The program to read all four partition entries from partition table of MBR has been given next. The program displays all the parameters of partition information, written in partition table of MBR.

Previous page

page 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13

Next page
 
 
Data Recovery Book
 
Chapter 1 An Overview of Data Recovery
Chapter 2 Introduction of Hard Disks
Chapter 3 Logical Approach to Disks and OS
Chapter 4 Number Systems
Chapter 5 Introduction of C Programming
Chapter 6 Introduction to Computer Basics
Chapter 7 Necessary DOS Commands
Chapter 8 Disk-BIOS Functions and Interrupts Handling With C
Chapter 9 Handling Large Hard Disks
Chapter 10 Data Recovery From Corrupted Floppy
Chapter 11 Making Backups
Chapter 12 Reading and Modifying MBR with Programming
Chapter 13 Reading and Modifying DBR with Programming
Chapter 14 Programming for “Raw File” Recovery
Chapter 15 Programming for Data Wipers
Chapter 16 Developing more Utilities for Disks
Appendix Glossary of Data Recovery Terms
 
 
Pro Data Doctor

Home

Products

Contact Details

Customer Support

Download Demo

Terms and Conditions

 
Pro Data Doctor