| Zeile 1: | Zeile 1: | ||
| − | Der MBR (Master Boot Record) ist der erste Sektor einer Festplatte. Die Aufgabe des MBR ist es, die Partitionen zu definieren, den [[Bootsektor]] einer bootbaren | + | Der MBR (Master Boot Record) ist der erste Sektor einer Festplatte. Die Aufgabe des MBR ist es, die Partitionen zu definieren, den [[Bootsektor]] einer bootbaren Partition zu laden und zu starten. |
| − | Die Sektorennummer anhand der zwei Addressierungsmöglichkeiten: | + | Die Sektorennummer des MBR anhand der zwei Addressierungsmöglichkeiten: |
LBA : 0x00000000 | LBA : 0x00000000 | ||
| − | CHS : | + | CHS : Cylinder: 0, Head: 0, Sector: 1 |
== Aufbau == | == Aufbau == | ||
| Zeile 12: | Zeile 12: | ||
|- | |- | ||
| 0x0000-0x01BD | | 0x0000-0x01BD | ||
| − | | Code zum Laden | + | | Code zum Laden einer Partition |
|- | |- | ||
| 0x01BE-0x01FD | | 0x01BE-0x01FD | ||
| Zeile 23: | Zeile 23: | ||
== Partitionstabelle == | == Partitionstabelle == | ||
| − | Die Partitionstabelle besteht aus 4 Einträgen | + | Die Partitionstabelle besteht aus 4 Einträgen à 16 Byte in folgendem Format: |
{| border="1" cellpadding="2" cellspacing="0" | {| border="1" cellpadding="2" cellspacing="0" | ||
| Zeile 37: | Zeile 37: | ||
|0x1 | |0x1 | ||
|DB | |DB | ||
| − | |Kopf an dem die | + | |Kopf an dem die Partition anfängt |
|- | |- | ||
|0x2 | |0x2 | ||
|DB | |DB | ||
| | | | ||
| − | *Bit 0-5 -> Anfangs | + | *Bit 0-5 -> Anfangs Sektor |
*Bit 6-7 -> Bit 8-9 des Anfangs-Zylinders | *Bit 6-7 -> Bit 8-9 des Anfangs-Zylinders | ||
|- | |- | ||
| Zeile 60: | Zeile 60: | ||
|DB | |DB | ||
| | | | ||
| − | *Bit 0-5 -> Anfangs | + | *Bit 0-5 -> Anfangs Sektor |
*Bit 6-7 -> Bit 8-9 des Anfangs-Zylinders | *Bit 6-7 -> Bit 8-9 des Anfangs-Zylinders | ||
|- | |- | ||
| Zeile 69: | Zeile 69: | ||
|0x8 | |0x8 | ||
|DD | |DD | ||
| − | |LBA(Logical Block Addressing) Nummer des Ersten Sektors | + | |LBA (Logical Block Addressing) Nummer des Ersten Sektors |
|- | |- | ||
|0xC | |0xC | ||