Extended Partitions-System Programming-Lecture Notes, Study notes of System Programming

This lecture handout is for System Programming course. It was provided by Prof. Indubhushan Vijayabhas at Ambedkar University, Delhi. It includes: Extended, Partition, Primary, Block, Logical, Drive, Chain, Positions, Example, Dump

Typology: Study notes

2011/2012

Uploaded on 08/07/2012

anishay
anishay 🇮🇳

4.2

(25)

118 documents

1 / 6

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Lecture # 28
Extended Partitions
MBR
Extended PartitionPrimary
Partition
1st Block of Extended Partitions
Extended PartitionLogical
Drive
Primary
Partition
docsity.com
pf3
pf4
pf5

Partial preview of the text

Download Extended Partitions-System Programming-Lecture Notes and more Study notes System Programming in PDF only on Docsity!

Lecture # 28

Extended Partitions

MBR

Primary Extended Partition

Partition

st

Block of Extended Partitions

Logical Extended Partition

Drive

Primary

Partition

1

st

Block of Next Extended Partitions

Logical

Drive

Extended

Partition

Here it can be seen that the first partition table maintains information about the primary

and extended partitions. The second partition table similarly stores information about a

logical and a extended partition within the previous extended partition. Similarly for each

such extended partition there will be a partition table that stores information about the

logical partition and may also contain information about any further extended partition.

In this way the partition tables form a chain as depicted in the slide below. The last

partition table within the chain contains just a single entry signifying the logical drive.

First Partition

System ID = 0c = Windows FAT32 partition (LBA MApped)

first block = 3F

No. of blocks = 01388afc

end cylinder# = 1023

end sec # = 63 indicating a LBA disk

Second Partition

System ID = 0f = Extended windows partition

Start block (relative to the start) = 01388b3b = 20482875

No. of blocks = 0390620a = 59793930

-d 10 0 3 00 13A E: 010 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 011 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 012 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 013 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 014 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 015 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 016 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 017 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 018 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 019 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 01A 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 01B 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 01C 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 01D 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 01E 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 01F 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 020 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 021 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 022 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 023 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. .. 13A E: 024 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 025 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 026 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 027 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 028 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 029 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 02A 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. ..

13AE:02B0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 A ................

13AE:02C0 C1 FF 0B 59 FF FF 3F 00-00 00 FC 8A 38 01 00 5A ...Y..?.....8..Z

13AE:02D0 C1 FF 05 0E FF FF 3B 8B-38 01 3B 8B 38 01 00 00 ......;.8.;.8...

13AE:02E0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................

13AE:02F0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 55 AA ..............U.

Here is the information found in the partition table of first extended partition table which

implies another extended and a logical partition.

First Partition

System ID = 0b = Windows FAT32 partition

first block = 3 F

First block physical address = 3F + 01388b3b

No. of blocks = 01388afc

end cylinder# = 1023

end sec # = 63 indicating a LBA disk

Second Partition

System ID = 05 = Extended DOS partition

Start block (relative to the start) = 01388b3b = 20482875

Start block (physical ) = 01388b3b + 01388b3b = 2711676H = 40965 750

No. of blocks = 01388b3b = 20482875

-d 10 0 3 00 13A E: 010 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 011 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 012 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 013 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 014 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 015 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 016 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 017 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 018 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 019 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 01A 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 01B 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 01C 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 01D 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 01E 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 01F 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 020 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 021 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 022 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 023 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. 13A E: 024 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 025 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 026 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 027 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 028 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 029 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. .. 13A E: 02A 0 00 0 0 00 00 00 0 0 00 00 -00 0 0 00 00 00 0 0 00 00 .. .. ... .. ... .. ..

13AE:02B0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 5B ...............[

13AE:02C0 C1 FF 0B 0E FF FF 3F 00-00 00 FC 8A 38 01 00 0F ......?.....8...

13AE:02D0 C1 FF 05 4A FF FF 76 16-71 02 94 4B 1F 01 00 00 ...J..v.q..K....

13AE:02E0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................

13AE:02F0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 55 AA ..............U.

Here is information in the partition table of the second extended partition that implies yet

another extended partition and a logical partition with the details shown in the following

slide.