Add partition specification files.
[pintos-anon] / specs / partitions.text
1 From Ralf Brown's Interrupt List, version 61:
2
3
4 Format of hard disk master boot sector:
5 Offset  Size    Description     (Table 00650)
6  00h 446 BYTEs  Master bootstrap loader code
7 1BEh 16 BYTEs   partition record for partition 1 (see #00651)
8 1CEh 16 BYTEs   partition record for partition 2
9 1DEh 16 BYTEs   partition record for partition 3
10 1EEh 16 BYTEs   partition record for partition 4
11 1FEh    WORD    signature, AA55h indicates valid boot block
12
13 Format of partition record:
14 Offset  Size    Description     (Table 00651)
15  00h    BYTE    boot indicator (80h = active partition)
16  01h    BYTE    partition start head
17  02h    BYTE    partition start sector (bits 0-5)
18  03h    BYTE    partition start track (bits 8,9 in bits 6,7 of sector)
19  04h    BYTE    operating system indicator (see #00652)
20  05h    BYTE    partition end head
21  06h    BYTE    partition end sector (bits 0-5)
22  07h    BYTE    partition end track (bits 8,9 in bits 6,7 of sector)
23  08h    DWORD   sectors preceding partition
24  0Ch    DWORD   length of partition in sectors
25 SeeAlso: #00650
26
27 (Table 00652)
28 Values for operating system indicator:
29  00h    empty partition-table entry
30  01h    DOS 12-bit FAT
31  02h    XENIX root file system
32  03h    XENIX /usr file system (obsolete)
33  04h    DOS 16-bit FAT (up to 32M)
34  05h    DOS 3.3+ extended partition
35  06h    DOS 3.31+ Large File System (16-bit FAT, over 32M)
36  07h    QNX
37  07h    OS/2 HPFS
38  07h    Windows NT NTFS
39  07h    Advanced Unix
40  07h    see partition boot record; could be any of the above or others
41  08h    OS/2 (v1.0-1.3 only)
42  08h    AIX bootable partition, SplitDrive
43  08h    Commodore DOS
44  08h    DELL partition spanning multiple drives
45  09h    AIX data partition
46  09h    Coherent filesystem
47  0Ah    OS/2 Boot Manager
48  0Ah    OPUS
49  0Ah    Coherent swap partition
50  0Bh    Windows95 with 32-bit FAT
51  0Ch    Windows95 with 32-bit FAT (using LBA-mode INT 13 extensions)
52  0Eh    logical-block-addressable VFAT (same as 06h but using LBA-mode INT 13)
53  0Fh    logical-block-addressable VFAT (same as 05h but using LBA-mode INT 13)
54  10h    OPUS
55  11h    OS/2 Boot Manager hidden 12-bit FAT partition
56  12h    Compaq Diagnostics partition
57  14h    (resulted from using Novell DOS 7.0 FDISK to delete Linux Native part)
58  14h    OS/2 Boot Manager hidden sub-32M 16-bit FAT partition
59  16h    OS/2 Boot Manager hidden over-32M 16-bit FAT partition
60  17h    OS/2 Boot Manager hidden HPFS partition
61  17h    hidden NTFS partition
62  18h    AST special Windows swap file ("Zero-Volt Suspend" partition)
63  19h    Willowtech Photon coS
64  1Bh    hidden Windows95 FAT32 partition
65  1Ch    hidden Windows95 FAT32 partition (using LBA-mode INT 13 extensions)
66  1Eh    hidden LBA VFAT partition
67  20h    Willowsoft Overture File System (OFS1)
68  21h    officially listed as reserved
69  21h    FSo2
70  23h    officially listed as reserved
71  24h    NEC MS-DOS 3.x
72  26h    officially listed as reserved
73  31h    officially listed as reserved
74  33h    officially listed as reserved
75  34h    officially listed as reserved
76  36h    officially listed as reserved
77  38h    Theos
78  3Ch    PowerQuest PartitionMagic recovery partition
79  40h    VENIX 80286
80  41h    Personal RISC Boot
81  41h    PowerPC boot partition
82  42h    SFS (Secure File System) by Peter Gutmann
83  45h    EUMEL/Elan
84  46h    EUMEL/Elan
85  47h    EUMEL/Elan
86  48h    EUMEL/Elan
87  4Fh    Oberon boot/data partition
88  50h    OnTrack Disk Manager, read-only partition
89  51h    OnTrack Disk Manager, read/write partition
90  51h    NOVELL
91  52h    CP/M
92  52h    Microport System V/386
93  53h    OnTrack Disk Manager, write-only partition???
94  54h    OnTrack Disk Manager (DDO)
95  55h    EZ-Drive (see also INT 13/AH=FFh"EZ-Drive")
96  56h    GoldenBow VFeature
97  5Ch    Priam EDISK
98  61h    SpeedStor
99  63h    Unix SysV/386, 386/ix
100  63h    Mach, MtXinu BSD 4.3 on Mach
101  63h    GNU HURD
102  64h    Novell NetWare 286
103  64h    SpeedStore
104  65h    Novell NetWare (3.11)
105  67h    Novell
106  68h    Novell
107  69h    Novell
108  70h    DiskSecure Multi-Boot
109  71h    officially listed as reserved
110  73h    officially listed as reserved
111  74h    officially listed as reserved
112  75h    PC/IX
113  76h    officially listed as reserved
114  7Eh    F.I.X.
115  80h    Minix v1.1 - 1.4a
116  81h    Minix v1.4b+
117  81h    Linux
118  81h    Mitac Advanced Disk Manager
119  82h    Linux Swap partition
120  82h    Prime
121  82h    Solaris (Unix)
122  83h    Linux native file system (ext2fs/xiafs)
123  84h    OS/2-renumbered type 04h partition (related to hiding DOS C: drive)
124  85h    Linux EXT
125  86h    FAT16 volume/stripe set (Windows NT)
126  87h    HPFS Fault-Tolerant mirrored partition
127  87h    NTFS volume/stripe set
128  93h    Amoeba file system
129  94h    Amoeba bad block table
130  98h    Datalight ROM-DOS SuperBoot
131  99h    Mylex EISA SCSI
132  A0h    Phoenix NoteBIOS Power Management "Save-to-Disk" partition
133  A1h    officially listed as reserved
134  A3h    officially listed as reserved
135  A4h    officially listed as reserved
136  A5h    FreeBSD, BSD/386
137  A6h    OpenBSD
138  A9h    NetBSD (http://www.netbsd.org/)
139  B1h    officially listed as reserved
140  B3h    officially listed as reserved
141  B4h    officially listed as reserved
142  B6h    officially listed as reserved
143  B6h    Windows NT mirror set (master), FAT16 file system
144  B7h    BSDI file system (secondarily swap)
145  B7h    Windows NT mirror set (master), NTFS file system
146  B8h    BSDI swap partition (secondarily file system)
147  BEh    Solaris boot partition
148  C0h    DR DOS/DR-DOS/Novell DOS secured partition
149  C0h    CTOS
150  C1h    DR DOS 6.0 LOGIN.EXE-secured 12-bit FAT partition
151  C4h    DR DOS 6.0 LOGIN.EXE-secured 16-bit FAT partition
152  C6h    DR DOS 6.0 LOGIN.EXE-secured Huge partition
153  C6h    corrupted FAT16 volume/stripe set (Windows NT)
154  C6h    Windows NT mirror set (slave), FAT16 file system
155  C7h    Syrinx Boot
156  C7h    corrupted NTFS volume/stripe set
157  C7h    Windows NT mirror set (slave), NTFS file system
158  CBh    Reserved for DR DOS/DR-DOS/OpenDOS secured FAT32
159  CCh    Reserved for DR DOS/DR-DOS secured FAT32 (LBA)
160  CEh    Reserved for DR DOS/DR-DOS secured FAT16 (LBA)
161  D0h    Multiuser DOS secured FAT12
162  D1h    Old Multiuser DOS secured FAT12
163  D4h    Old Multiuser DOS secured FAT16 (<= 32M)
164  D5h    Old Multiuser DOS secured extended partition
165  D6h    Old Multiuser DOS secured FAT16 (> 32M)
166  D8h    CP/M-86
167  DBh    CP/M, Concurrent CP/M, Concurrent DOS
168  DBh    CTOS (Convergent Technologies OS)
169  E1h    SpeedStor 12-bit FAT extended partition
170  E2h    DOS read-only (Florian Painke's XFDISK 1.0.4)
171  E3h    DOS read-only
172  E3h    Storage Dimensions
173  E4h    SpeedStor 16-bit FAT extended partition
174  E5h    officially listed as reserved
175  E6h    officially listed as reserved
176  EBh    BeOS BFS (BFS1)
177  F1h    Storage Dimensions
178  F2h    DOS 3.3+ secondary partition
179  F3h    officially listed as reserved
180  F4h    SpeedStor
181  F4h    Storage Dimensions
182  F5h    Prologue
183  F6h    officially listed as reserved
184  FEh    LANstep
185  FEh    IBM PS/2 IML (Initial Microcode Load) partition
186  FFh    Xenix bad block table
187 Note:   for partition type 07h, one should inspect the partition boot record
188           for the actual file system type
189 SeeAlso: #00651