Sub topic 9
GPT, MBR, and file systems
This chapter assumes you know what a disk partition is, and that you have read the firmware chapter on UEFI, BIOS, Secure Boot, and TPM. Here you will learn the two partition styles, how they tie to firmware, and which file system to choose.
Partition styles: MBR and GPT
A partition style is the layout format that records where partitions start and end on a disk. Windows supports two.
- MBR (Master Boot Record) stores the partition table in the first sector of the disk. It allows 4 primary partitions. It supports disks up to 2 TB. Space beyond 2 TB is unusable.
- GPT (GUID Partition Table) keeps a copy of the table at both the start and the end of the disk, so it can recover from damage. It allows up to 128 partitions in Windows and supports disks far larger than 2 TB.
MBR can reach more than 4 partitions by making one of them an extended partition that holds logical drives. GPT does not need this.
| Feature | MBR | GPT |
|---|---|---|
| Maximum disk size | 2 TB | Over 2 TB (9.4 ZB theoretical) |
| Partitions (Windows) | 4 primary | 128 |
| Partition table copy | One | Two (start and end) |
| Pairs with firmware | Legacy BIOS | UEFI |
Matching the style to the firmware
Windows will only install to a disk whose style matches the firmware boot mode. A UEFI boot needs GPT. A legacy BIOS boot needs MBR. If they do not match, Setup shows the message "Windows cannot be installed to this disk." Windows 11 requires UEFI, so its system disk is GPT.
Get-Disk | Select-Object Number, FriendlyName, PartitionStyle, SizeRun this before installing to see whether each disk is MBR or GPT.
Converting a disk
If the style does not match, you can convert it. From Windows Setup, press Shift+F10 to open a command prompt and use diskpart.
diskpart
list disk
select disk 0
clean
convert gpt
exitWindows also includes the mbr2gpt tool, which converts a disk without erasing data. It is meant for MBR system disks being moved to UEFI, and it is usually run from Windows or from the recovery environment.
File systems
A file system is the structure that organizes files within a partition. The exam expects you to know these.
- NTFS is the default for Windows system drives. It supports file permissions, encryption (EFS), compression, large files and volumes, and journaling, which helps recover from crashes. BitLocker works on NTFS volumes.
- exFAT suits flash drives and SD cards. It handles files over 4 GB and works across Windows and macOS, but has no permissions.
- FAT32 has the broadest compatibility. It limits a single file to 4 GB and, in Windows, limits formatting to a 32 GB volume. The UEFI EFI System Partition uses FAT32.
- ReFS is the Resilient File System, used for servers and large storage, with strong data-integrity checks. It is available in some editions such as Pro for Workstations and Enterprise, and it cannot be used as the boot volume.
- CDFS and UDF are used on optical discs.
- ext4 and APFS belong to Linux and macOS. Windows cannot read them natively.
A quick format only rebuilds the file system tables. A full format also checks the disk for bad sectors and takes longer.
Common errors
- Choosing MBR on a UEFI-only installation target and receiving the "cannot be installed to this disk" message.
- Formatting a large external drive as FAT32 and then failing to copy a 6 GB file.
- Running
cleanon the wrong disk.
Exercise
A technician boots a PC from UEFI-mode media and Setup refuses to install to an MBR disk that holds no needed data. What is the fastest fix from the Setup command prompt, and what does the fix cost?
Show answer
Use diskpart: list disk, select disk 0 (the correct disk), clean, then convert gpt. This converts the disk to GPT so the UEFI install can proceed. It erases all data on that disk.
Exercise
You need a USB drive that stores a 10 GB video file and works on both Windows and macOS. Which file system do you choose, and why not FAT32?
Show answer
exFAT. FAT32 limits a single file to 4 GB, so the 10 GB file would not fit. exFAT has no such limit and is read by both operating systems.