Sub topic 9
GPT, MBR, and File Systems
This chapter covers the two partition styles Windows uses, the file systems you can format with, and the mistakes that stop an install. It assumes you know what a disk partition and a file system are, can open PowerShell and Settings, and have read the previous chapter on UEFI, Secure Boot, and TPM. That chapter explains why firmware mode and partition style are linked.
Partition styles: MBR and GPT
A partition style is the way a disk stores its partition table. The partition table is a small record that says where each partition starts and how big it is. Windows supports two styles.
- MBR (Master Boot Record) is the older style. It keeps its table in the first sector of the disk. It supports up to four primary partitions, and it can address at most 2 TB of space per disk.
- GPT (GUID Partition Table) is the newer style. It supports up to 128 partitions in Windows and disks far larger than 2 TB. It stores a backup copy of the table at the end of the disk and uses checksums to detect damage.
The firmware mode decides which style you can boot from. UEFI firmware boots Windows from a GPT disk. Legacy BIOS firmware boots Windows from an MBR disk. A mismatch is the most common cause of the setup error "Windows cannot be installed to this disk."
| Feature | MBR | GPT |
|---|---|---|
| Maximum disk size | 2 TB | Larger than 2 TB (up to 18 EB in theory) |
| Partitions | 4 primary, or 3 primary plus 1 extended | 128 in Windows |
| Boots in | Legacy BIOS (and UEFI CSM mode) | UEFI |
| Table protection | Single copy | Backup copy and checksums |
| Windows 11 system disk | Not supported | Required |
The 2 TB limit comes from the way MBR stores sector counts. A 4 TB disk initialized as MBR shows only 2 TB of usable space in Disk Management.
Check a disk's partition style
You can see the style from PowerShell. Run it in an elevated window.
Get-Disk | Select-Object Number, FriendlyName, PartitionStyle, SizeThe PartitionStyle column shows MBR, GPT, or RAW. A RAW disk is new and has not been initialized. In Disk Management, right-click the disk label and choose Properties, then the Volumes tab, to see the same information.
What setup creates on each style
Windows Setup builds a different layout depending on the style.
On a UEFI/GPT disk, setup creates these partitions:
- An EFI System Partition (ESP), formatted FAT32, which holds the boot files.
- A Microsoft Reserved partition (MSR), used internally by Windows.
- The main Windows partition, formatted NTFS.
- A recovery partition, which holds the Windows Recovery Environment (WinRE).
On a BIOS/MBR disk, setup creates a small System Reserved partition that holds the boot files, then the main Windows partition, which is formatted NTFS. The System Reserved partition is marked active, which tells the BIOS where to find the boot loader.
Converting between MBR and GPT
You will often need to change the style, for example when moving to Windows 11. There are two approaches, and they differ in whether data survives.
Destructive conversion with diskpart
This method works from the Windows Setup screen. Press Shift+F10 to open a command prompt, then run:
diskpart
list disk
select disk 0
clean
convert gpt
exitclean removes all partitions and all data from the selected disk. Check the disk number with list disk first, because selecting the wrong disk erases the wrong drive. After you exit, click Refresh in the setup partition screen and install to the unallocated space.
Non-destructive conversion with MBR2GPT
Windows 10 version 1703 and later include mbr2gpt.exe. It converts a system disk without removing data. Run it from an elevated prompt:
mbr2gpt /validate /disk:0 /allowFullOS
mbr2gpt /convert /disk:0 /allowFullOSAlways run /validate first. The tool needs room for the new partitions and refuses disks with more than the allowed number of MBR partitions. After conversion you must switch the firmware from legacy BIOS to UEFI, or the PC will not boot. Back up the disk before you convert.
The next diagram shows how to choose a path.
File systems
A file system is the structure a volume uses to store, name, and find files. Windows setup formats the system volume as NTFS. You still need to know the others for the exam.
| File system | Maximum file size | Maximum volume size | Typical use |
|---|---|---|---|
| NTFS | Very large (about 16 TB to 256 TB depending on cluster size) | Very large | Windows system and data volumes |
| FAT32 | 4 GB minus 1 byte | 2 TB in practice for the Windows formatting tool (32 GB in the Windows format dialog) | UEFI boot partition, small USB drives, older devices |
| exFAT | 16 EB in theory | 128 PB in theory | Large flash drives, SD cards, sharing across Windows and macOS |
| ReFS | Very large | Very large | Servers and resilient storage, not a boot volume on standard Windows 10 or 11 editions |
| CDFS and UDF | Varies | Varies | Optical discs |
NTFS features
NTFS is the only choice for a Windows system partition. It adds features the others lack:
- File and folder permissions, set through the Security tab.
- Encryption with EFS (Encrypting File System), and BitLocker for whole volumes.
- Compression, disk quotas, and a journal that helps recover from crashes.
- Hard links, symbolic links, and volume mount points.
FAT32 and the 4 GB limit
FAT32 cannot store a single file larger than 4 GB minus 1 byte. This matters for installation media. A Windows install image, install.wim, can exceed 4 GB. If you format a USB drive as FAT32 for a UEFI boot, the file will not copy. The usual fixes are to split the image into .swm files, or to format the drive as NTFS and accept that some UEFI firmware, especially with Secure Boot on, will not boot from NTFS. Many tools for making install media handle this for you.
exFAT as a middle choice
exFAT removes the 4 GB file limit and has little overhead. It has no permissions or journaling. It suits removable drives that move between Windows and other operating systems.
Converting and formatting volumes
Formatting erases the volume. The command line gives you more control than the graphical tool.
format E: /FS:NTFS /Q
convert E: /FS:NTFSformat wipes the volume. convert changes a FAT32 volume to NTFS without erasing files, but the change is one-way. Going back to FAT32 requires a reformat. The command also sets default permissions, so check access afterward.
In Disk Management, right-click an unallocated area and choose New Simple Volume. A wizard asks for size, drive letter, file system, and a volume label. Choose Quick Format to skip the full surface scan. A full format checks for bad sectors and takes much longer.
Other disk concepts that appear on the exam
- Basic and dynamic disks. A basic disk uses ordinary partitions. A dynamic disk supports spanned, striped, and mirrored volumes. Windows 10 and 11 Home do not offer dynamic disk features.
- Primary, extended, and logical partitions. These apply to MBR. A primary partition can hold an operating system. An extended partition is a container that holds logical drives, which gets around the four-partition limit.
- Storage Spaces. This is a Windows feature that pools drives into one volume with optional resiliency. It is a different feature from dynamic disks.
- Drive letters and mount points. A volume can have a letter such as
C:or be mounted into an empty NTFS folder.
Common errors and fixes
| Symptom | Likely cause | Fix |
|---|---|---|
| "Windows cannot be installed to this disk. The selected disk is of the GPT partition style." | Firmware booted in legacy BIOS mode | Boot in UEFI mode, or use an MBR disk |
| "...The selected disk has an MBR partition table. On EFI systems, Windows can only be installed to GPT disks." | Firmware booted in UEFI mode | Convert the disk to GPT |
| 4 TB disk shows only 2 TB | Disk initialized as MBR | Back up, then convert to GPT |
| `install.wim` fails to copy to USB | FAT32 4 GB file limit | Split the image or use a tool that does |
| Disk shows as RAW or "Not initialized" | New disk, or damaged partition table | Initialize as GPT, or recover data first if the disk held files |
| mbr2gpt validation fails | Too many partitions or not enough space | Remove or shrink partitions, then validate again |
Worked example
A technician must install Windows 11 on a PC that has a 1 TB disk with Windows 10 on it. The disk holds customer files that must survive. The technician takes these steps:
- Run
Get-Diskand see that the disk is MBR. - Back up the files to an external drive.
- Run
mbr2gpt /validate /disk:0 /allowFullOS, which passes. - Run
mbr2gpt /convert /disk:0 /allowFullOS. - Restart into firmware setup, switch from legacy BIOS to UEFI, and turn on Secure Boot.
- Boot Windows 10, confirm it starts, and then run the Windows 11 upgrade.
If the files were not needed, the technician could skip the conversion. Booting the installer in UEFI mode and running clean and convert gpt would be faster.
Exercise
A new 4 TB disk was initialized as MBR and the PC boots in UEFI mode. Setup refuses to install and the disk shows only 2 TB. What is the problem, and what are two ways to fix it?
Show answer
UEFI mode needs a GPT disk, and MBR cannot address more than 2 TB. If the disk holds no data, use diskpart (clean, then convert gpt) from Shift+F10 in Setup. If it holds data, back it up and use mbr2gpt where it applies (a system disk), or back up and reinitialize the disk as GPT in Disk Management.
Exercise
You format a USB drive as FAT32 to hold a Windows installer, but copying install.wim fails. Why does this happen, and what are two ways to continue?
Show answer
FAT32 cannot hold a single file larger than 4 GB, and install.wim is larger than that. Split the image into smaller .swm files, or use media-creation software that handles the split. Formatting the drive as NTFS also holds the file, but some UEFI firmware, particularly with Secure Boot on, cannot boot from NTFS.
Exercise
Which file system should the system volume use on Windows 10 or 11, and which file system is the best fit for a large flash drive shared between Windows and macOS?
Show answer
Use NTFS for the Windows system volume, because it supports permissions, encryption, and journaling. Use exFAT for the shared flash drive, because it has no 4 GB file limit and works on both operating systems.