# disk partitioning scheme

> on-disk format for specifying location, size, and metadata of partitions

**Wikidata**: [Q79803608](https://www.wikidata.org/wiki/Q79803608)  
**Source**: https://4ort.xyz/entity/disk-partitioning-scheme

## Summary
A **disk partitioning scheme** is an on-disk format that defines how partitions are organized on a storage device, specifying their location, size, and metadata. It is a fundamental component of disk storage formats, enabling operating systems to manage and access partitioned data efficiently.

## Key Facts
- **Definition**: An on-disk format for specifying the location, size, and metadata of partitions.
- **Parent Class**: Subclass of *disk storage format*, which defines how data is structured on a storage disk.
- **Aliases**: Also known as *drive partitioning scheme*, *partition layout*, *partition format*, or *partition table type*.
- **Related Schemes**:
  - **BSD disklabel**: Used in BSD-related operating systems.
  - **Apple Partition Map**: A scheme developed by Apple.
  - **GUID Partition Table (GPT)**: Standard for modern PCs and servers.
  - **Master Boot Record (MBR)**: Traditional partitioning scheme based on a master boot record.
- **Purpose**: Facilitates disk partitioning by providing a structured way to organize storage space.

## FAQs
### Q: What is the purpose of a disk partitioning scheme?
A: It defines how partitions are structured on a disk, including their location, size, and metadata, allowing operating systems to manage storage efficiently.

### Q: What are some common disk partitioning schemes?
A: Notable examples include **GUID Partition Table (GPT)**, **Master Boot Record (MBR)**, **Apple Partition Map**, and **BSD disklabel**.

### Q: How does a partitioning scheme differ from a file system?
A: A partitioning scheme organizes the disk into sections (partitions), while a file system manages how data is stored and retrieved within those partitions.

### Q: Is GPT better than MBR?
A: GPT supports larger disks (over 2TB), more partitions, and better error recovery, making it the modern standard, while MBR is legacy but still used for compatibility.

### Q: Can different operating systems use the same partitioning scheme?
A: Yes, but some schemes are OS-specific (e.g., BSD disklabel for BSD systems), while others like GPT and MBR are widely supported.

## Why It Matters
Disk partitioning schemes are essential for organizing storage devices into manageable sections, enabling efficient data management, multi-boot setups, and system recovery. Without them, operating systems would lack a structured way to allocate disk space, leading to inefficiencies or data corruption. Modern schemes like GPT have expanded capabilities, supporting larger disks and more partitions, which is critical for contemporary computing needs. They also play a key role in system security and boot processes, ensuring that partitions are correctly identified and accessed.

## Notable For
- **Standardization**: Provides a consistent method for defining partitions across different storage devices.
- **Compatibility**: Schemes like MBR and GPT are widely supported by major operating systems.
- **Scalability**: GPT allows for larger disk sizes and more partitions compared to older schemes like MBR.
- **OS-Specific Adaptations**: Some schemes, like BSD disklabel, are tailored for specific operating systems.
- **Boot Process Integration**: Critical for system startup, as partitioning schemes help locate bootable partitions.

## Body
### Overview
A **disk partitioning scheme** is a structured format that defines how a storage disk is divided into partitions. It specifies the start and end points of each partition, along with metadata such as partition type and identifiers.

### Types of Partitioning Schemes
- **GUID Partition Table (GPT)**: Modern standard using globally unique identifiers (GUIDs) for partitions. Supports disks larger than 2TB and up to 128 partitions.
- **Master Boot Record (MBR)**: Legacy scheme limited to 2TB disks and 4 primary partitions. Uses a boot loader in the first sector.
- **Apple Partition Map**: Used in older Apple systems, supporting multiple partitions and HFS file systems.
- **BSD disklabel**: Found in BSD-based systems, providing a flexible way to manage disk partitions.

### Technical Details
- **Partition Metadata**: Includes partition type, size, and location on the disk.
- **Boot Process**: Partitioning schemes help the system locate the bootable partition during startup.
- **Compatibility**: Some schemes are cross-platform (e.g., GPT), while others are OS-specific (e.g., BSD disklabel).

### Evolution
Early schemes like MBR were limited by disk size and partition count. Modern schemes like GPT address these limitations, supporting larger storage and more partitions, reflecting advancements in hardware and software.

## Schema Markup
```json
{
  "@context": "https://schema.org",
  "@type": "Thing",
  "name": "disk partitioning scheme",
  "description": "on-disk format for specifying location, size, and metadata of partitions",
  "sameAs": ["https://www.wikidata.org/wiki/Q4653"],
  "additionalType": "disk storage format"
}