ArticleslgStudy

science

Extended boot record

Extended boot record is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Extended boot record rather than just read about it. In short: An extended boot record (EBR), or extended partition boot record (EPBR), is a descriptor for a logical partition under the common DOS disk drive partitioning system. In that system, when one (and only one) partition record entry in the master boot record (MBR) is designated an extended partition, then that partition can be subdivided into a number of logical partitions.

Extended boot record — main illustration
Extended boot record — illustration

Key takeaways

  • Extended boot record belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Extended boot record to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Extended boot record from memory before moving on to harder problems.

Reference excerpt

An extended boot record (EBR), or extended partition boot record (EPBR), is a descriptor for a logical partition under the common DOS disk drive partitioning system. In that system, when one (and only one) partition record entry in the master boot record (MBR) is designated an extended partition, then that partition can be subdivided into a number of logical partitions. The actual structure of that extended partition is described by one or more EBRs, which are located inside the extended partition. The first (and sometimes only) EBR will always be located on the first sector of the extended partition. Unlike primary partitions, which are all described by a single partition table within the MBR, and thus limited in number, each EBR precedes the logical partition it describes. If another logical partition follows, then the first EBR will contain an entry pointing to the next EBR; thus, multiple EBRs form a linked list. This means the number of logical drives that can be formed within an extended partition is limited only by the amount of available disk space in the given extended partition. While in Windows versions up to XP logical partitions within the extended partition were aligned following conventions called "drive geometry" or "CHS", since Windows Vista they are aligned to a 1-MiB boundary. Due to this difference in alignment, the Logical Disk Manager of XP (Disk Management) may delete these extended partitions without warning.

EBR structure and values EBRs have essentially the same structure as the MBR; except only the first two entries of the partition table are supposed to be used, besides having the mandatory boot record signature (or magic number) of 0xAA55 at the end of the sector. This 2-byte signature appears in a disk editor as 0x55 first and 0xAA last, because IBM-compatible PCs store hexadecimal words in little-endian order (see table below).

Structures

The IBM Boot Manager (included with OS/2 operating systems and some early versions of Partition Magic), adds at least one 9-byte entry (starting at offset 0x18A) to each EBR sector. The entry consists of a flag value byte (indicating if the partition is on the IBM Boot Manager menu) followed by an 8-byte ASCII string which is the name to be used on the menu. If the partition is not included on the boot menu (such as data only partitions), the flag byte is zero; in which case, the following 8-byte field may contain an ASCII representation of that partition's starting sector number (in hexadecimal).

The partition type of an extended partition is 0x05 (CHS addressing) or 0x0F (LBA addressing). DR DOS 6.0 and higher support secured extended partitions using 0xC5, which are invisible to other operating systems. Since non-LBA-enabled versions of DR-DOS up to including 7.03 do not recognize the 0x0F partition type and other operating systems do not recognize the 0xC5 type, this can also be utilized to occupy space up to the first 8 GB of the disk for use under DR-DOS (for logical drives in secured or non-secured partitions), and still use 0x0F to allocate the remainder of the disk for LBA-enabled operating systems in a non-conflictive fashion. Similarly, Linux supports the concept of a second extended partition chain with type 0x85 — this type is hidden (unknown) for other operating systems supporting only one chain. Other extended partition types which may hold EBRs include the deliberately hidden types 0x15, 0x1F, 0x91 and 0x9B, the access-restricted types 0x5E and 0x5F, and the secured types 0xCF and 0xD5. However, these should be treated private to the operating systems and tools supporting them and should not be mounted otherwise. The CHS addresses of a partition are hard to interpret without knowledge of the (virtual) disk geometry, because CHS to LBA translations are based on the number of heads and the number of sectors per track. However, the given LBA start address and the given partition size in sectors permit to calculate a disk geometry matching the given CHS addresses where that is at all possible. CHS addressing with 24 bits always uses 6 bits for up to 63 sectors per track (1...63), and INT 13h disk access generally uses 8 bits for up to 256 heads (0...255), leaving 10 bits for up to 1024 cylinders (0...1023). ATA CHS addresses always use 4 bits for up to 16 heads (0...15), this leaves 14 bits for up to 16,383 cylinders ({{{1}}}) in ATA-5 24 bits CHS address translations.

Values The following are general rules that apply only to values found in the 4-byte fields of an EBR's partition table entries (cf. tables above). These values depend upon the partitioning tool(s) used to create or alter them, and in fact, most operating systems that use the extended partitioning scheme (including Microsoft MS-DOS and Windows, and Linux) ignore the "partition size" value in entries which point to another EBR sector. One exception is that value must be one or greater for Linux operating systems. The first entry of an EBR partition table points to the logical partition belonging to that EBR:

Starting sector = relative offset between this EBR sector and the first sector of the logical partition Note: This is often the same value for each EBR on the same hard disk; usually 63 for Windows XP or older. Number of sectors = total count of sectors for this logical partition Note: Any unused sectors between EBR and logical drive are not considered part of the logical drive. The second entry of an EBR partition table will contain zero-bytes if it's the last EBR in the extended partition; otherwise, it points to the next EBR in the EBR chain.

Partition type code = 0x05 (CHS addressing) or 0x0F (LBA addressing). in other words, the EBR must have a valid partition type, just as a partition must have a valid partition type. Starting sector = relative address of next EBR within extended partition in other words: Starting sector = LBA address of next EBR minus LBA address of extended partition's first EBR Number of sectors = total count of sectors for next logical partition, but count starts from the next EBR sector Note: Unlike the first entry in an EBR's partition table, this number of sectors count includes the next logical partition's EBR sector along with the other sectors in its otherwise unused track. (Compare Diagram 1 and 2 below.)

… excerpt ends here. Continue reading the full article.

Illustrations

Extended boot record illustration
Extended boot record illustration

Worked examples

Example 1 — a first encounter with Extended boot record

Start with the simplest possible case. Write down what Extended boot record claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Extended boot record before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Extended boot record ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Extended boot record

In research
Extended boot record appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Extended boot record in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Extended boot record is common in secondary-school and first-year university syllabi. It links to neighbouring topics AT Attachment, Booting, Disk partitions, so understanding it makes those chapters shorter.
In everyday life
Look for Extended boot record outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Extended boot record” →

How to study Extended boot record in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Extended boot record means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Extended boot record out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Extended boot record in simple terms?

An extended boot record (EBR), or extended partition boot record (EPBR), is a descriptor for a logical partition under the common DOS disk drive partitioning system. In that system, when one (and only one) partition record entry in the master boot record (MBR) is designated an extended partition, t…

Why does Extended boot record matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Extended boot record?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Extended boot record.

Tags

  • AT Attachment
  • Booting
  • Disk partitions
  • Linux
  • Windows architecture

Keep exploring