Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I would like to understand format of extended partition (EBR) meaning exact bit positions and locations of data blocks describing meta info about the following and (probably) the next partition.

Does anybody know the document that describes the format?

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

The description of an extended partition is contained in the first block. It consists of a standard partition table. The first entry describes the partition. The second entry if any describes the location of the next extended partition.

Wikipedia has a good description of the MBR which contains the layout of the partition table.

share|improve this answer
1  
To clarify that a bit, an extended partition looks like a whole disk with its own partition table and contains at most two partitions: a logical partition, and another extended partition nested inside it, which in turn may have another extended partition nested inside it, etc. –  psusi Feb 13 '11 at 16:34
    
Thats what I have seen. Just no code in the MBR. Maximized partitions will start the data in the second sector. Otherwise the partitions starts on the second track. This is a hangover from the old Cylinder, Track, Sector addressing scheme. –  BillThor Feb 13 '11 at 16:44
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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