Server Partitions
Chapter 6

BSD

Solaris

GUID Partition Table

OpenBSD Overview

BSD partition system is located within a DOS partition

BSD partition is in a primary DOS partition

Type 0xa5, 0xa6, 0xa9

Sector 2 of the partition contains the disk label

Free/NetBSD Overview

BSD partition system is located within a Slice

The partitions are located within a slice

/dev/ad0s3a	Slice 3, partition a of Drive a

BSD Disk Label

0-3	Signature (0x82564557)

4-5	Drive type

6-7	Drive subtype

...

44-47	# sectors per track

...

148-163	BSD Partition #1

...

388-403	BSD Partition #16

BSD Partition Entry

0-3	Size in sectors

4-7	Starting Sector

8-11	File system fragment size

12	File system type

13	File system fragments per block

14-15	File system cylinders per group

Solaris Overview

Solaris disk label is located within a primary DOS partition

It is in a primary DOS partition

Type 0x82

Sector 2 of the partition contains the disk label

Solaris boot partition is a primary DOS partition of type 0xbe

Solaris Disk Label
(i386)

0-11	Boot information

12-15	Signature

...

28-29	Sector size

30-31	Number of partitions

...

72-83	Partition #1

...

252-263	BSD Partition #16

Solaris Partition Entry

0-1	Partition type

2-3	Flag

4-7	Starting sector

8-11	Size in sectors

GPT Overview
GUID Partition Table

GPT disk has 5 major areas

Protective MBR is the first sector, contains a DOS Partition table with 1 partition, 0xee

Support up to 128 partitions

Uses 64 bit LBAs

GPT Areas

Protective MBR

DOS partition table with 1 partition of type 0xee

GPT Header

Partition Table

Partion Area

Backup Area

GPT Header

0-7	Signature (“EFI PART”)

8-11	Version

12-15	Size of GPT header in bytes

16-19	CRC32 checksum of the GPT header

...

40-47	LBA of start of partition area

48-55	LBA of the end

...

72-79	LBA of start of partition table

80-83	Number of entries in partition table

84-87	Size of each entry

88-91	CRC32 checksum of partition table

GPT Partition Entry

0-15	Partition type GUID (Globally Unique IDentifier)

16-31	Uniques partition GUID

32-39	Starting LBA of partition

40-47	Ending LBA

48-55	Partition attributes

56-127	Partition name in Unicode

2002-12-30T17:02:03