What Is a UEFI Partition? Explained
In this article
A UEFI partition is not a standard term in computing; it typically refers informally to the EFI System Partition (ESP), a dedicated section on a storage drive used by UEFI (Unified Extensible Firmware Interface) firmware to store boot-related files. This partition is essential for starting modern operating systems on computers that use UEFI instead of the older BIOS firmware. It contains bootloaders, drivers, and other tools needed before the OS loads. The term 'UEFI partition' is informal and not used in official technical documentation, where 'EFI System Partition' is the correct designation.
Background: UEFI and the Move from BIOS
Before UEFI became widespread, computers used BIOS (Basic Input/Output System) to initialize hardware and start the operating system. BIOS has limitations, such as support for only Master Boot Record (MBR) partitioning, which caps disk size at 2 TB and allows a maximum of four primary partitions. UEFI was developed to overcome these restrictions and improve boot speed, security, and flexibility. One of UEFI’s key features is support for the GUID Partition Table (GPT), which allows much larger drives and more partitions.
Unlike BIOS, which executes a small boot sector, UEFI can read file systems (specifically FAT32) and run boot applications directly. This capability requires a dedicated space on the disk where these boot files can be stored — the EFI System Partition.
What Is the EFI System Partition?
The EFI System Partition (ESP) is a standardized partition on a GPT-formatted disk, typically formatted with FAT32, that holds UEFI boot data. It is usually between 100 MB and 500 MB in size, though 100 MB is common for Windows installations. The ESP must be marked with a specific partition type code (EF00 in tools like gdisk or identified as 'EFI System' in graphical tools) so that the firmware recognizes it.
Inside the ESP, you’ll find a directory structure such as EFI\BOOT\, EFI\Microsoft\Boot\, or EFI\ubuntu\, depending on the installed operating system. These folders contain executable files (with a .efi extension) that the UEFI firmware loads to start the OS.
How the EFI System Partition Works
When a UEFI-based computer powers on, the firmware scans connected storage devices for a valid ESP. It looks for a file named BOOTx64.EFI (for 64-bit systems) in the EFI\BOOT\ directory or checks the system’s NVRAM (non-volatile memory) for boot entries that point to specific .efi files.
The boot process follows these steps:
- Firmware initializes hardware and detects bootable devices.
- It searches for a GPT-partitioned disk with a correctly labeled ESP.
- The ESP is mounted as a FAT32 file system.
- The firmware either loads a default bootloader (e.g.,
BOOTx64.EFI) or uses an entry from NVRAM to launch the correct OS bootloader. - The bootloader then starts the operating system kernel.
For example, on a Windows PC, the firmware loads EFI\Microsoft\Boot\bootmgfw.efi. On Ubuntu, it would be EFI\ubuntu\grubx64.efi or shimx64.efi if Secure Boot is enabled.
Common Misconceptions and Related Terms
One frequent confusion is calling the ESP a 'UEFI partition.' While understandable, this is not a formally recognized term. The UEFI specification defines the EFI System Partition, not a 'UEFI partition.' Using incorrect terminology can lead to misunderstandings, especially when troubleshooting or following technical guides.
Another misconception is that every disk in a UEFI system must have an ESP. In reality, only the boot disk requires one. Additional data drives do not need an ESP unless they are intended to be bootable.
Some users also believe the ESP is only for Windows. In fact, Linux, macOS, and other UEFI-compatible operating systems all use the ESP in similar ways, though they store their files in different subdirectories.
How to Identify and Manage the EFI System Partition
On Windows, the ESP is usually hidden. To view it:
- Open Disk Management (press Win+X and select Disk Management).
- Look for a small partition (typically 100–500 MB) labeled 'EFI System Partition' or with a 'System' flag.
- It will not have a drive letter assigned by default.
On Linux, you can identify it using:
sudo fdisk -l
Look for a partition with the type 'EFI System' or the GUID C12A7328-F81F-11D2-BA4B-00A0C93EC93B.
To mount and inspect it (on Linux):
- Create a mount point:
sudo mkdir /mnt/efi - Mount the partition:
sudo mount /dev/sda1 /mnt/efi(replacesda1with the correct device) - Browse contents:
ls /mnt/efi/EFI
Never delete or modify files in the ESP unless you are certain of their purpose. Doing so can render the system unbootable.
Common Problems and Troubleshooting
Issues with the ESP are a common cause of boot failure. Symptoms include:
- 'Operating System Not Found'
- 'Reboot and Select Proper Boot Device'
- UEFI firmware menu opening instead of booting
Common causes and fixes:
- Missing or corrupted bootloader: Use a recovery disk to repair the bootloader. On Windows, run
bootrec /fixbootandbcdbootcommands. On Linux, reinstall GRUB using a live USB. - ESP not marked correctly: Use
gdiskordiskpartto ensure the partition has the correct type code. - Firmware not detecting ESP: Check that the disk uses GPT, not MBR. A BIOS-mode installation on a GPT disk (or vice versa) can cause conflicts.
- ESP full or damaged: If the partition is full, clean unnecessary files. If damaged, back up data and reformat as FAT32, then restore bootloader files.
Frequently Asked Questions
Is 'UEFI partition' a correct term?
No, 'UEFI partition' is an informal and nonstandard term. The correct name is 'EFI System Partition' (ESP), as defined in the UEFI specification. While commonly used in forums and casual discussions, it is not technically accurate and should be avoided in formal contexts.
Can I delete the EFI System Partition?
You can delete it, but doing so will likely prevent your system from booting. If you're reinstalling an OS, the installer usually recreates it automatically. Never delete it without having a recovery plan, such as a bootable USB drive.
Do I need an EFI System Partition for BIOS?
No. BIOS systems use the MBR and do not require an ESP. They rely on a small boot sector at the start of the disk. The ESP is only necessary for UEFI-based booting, which requires GPT partitioning.
Can multiple operating systems share one EFI System Partition?
Yes, and they usually do. The ESP can hold bootloaders for multiple OSes in separate directories (e.g., EFI\Microsoft, EFI\ubuntu). This allows dual-booting without needing multiple ESPs.
What happens if the EFI System Partition is full?
If the ESP runs out of space, OS updates or bootloader installations may fail. Since the partition is small (often 100 MB), avoid storing non-essential files there. Clean unused bootloader entries to free space.
Can the EFI System Partition be on a different drive than the OS?
Yes, but it’s uncommon. The UEFI firmware can boot from any drive with a valid ESP. However, for reliability and simplicity, the ESP is usually placed on the same drive as the operating system.