EFI system partition

Also known as: ESP

On this page 7

The EFI system partition (ESP) is a dedicated disk partition, formatted with a FAT file system, that UEFI firmware reads to find and launch bootloaders, boot managers and firmware utilities. Within boot & firmware, the ESP is the hand-off point between the platform firmware and the operating system: the firmware does not understand NTFS, ext4 or APFS, but it can always read FAT, so every bootable operating system places its first-stage loader there.

The partition is defined by the UEFI specification and replaces the legacy model in which BIOS executed code stored in the master boot record. Because loaders are ordinary files in a known directory structure, several operating systems can share one ESP and the firmware can list them in its boot menu.

How UEFI firmware uses the EFI system partition

At power-on, UEFI firmware completes POST, initializes storage controllers and then consults its boot entries stored in NVRAM. Each entry, such as Boot0001, names a disk, a partition identified by its GUID and a file path to an EFI executable on that partition. The firmware mounts the ESP with its built-in FAT driver, loads the named .efi file into memory and transfers control to it.

If no valid entry exists, for example on a freshly attached external drive, the firmware falls back to the removable media path \EFI\BOOT\BOOTX64.EFI on x86-64 systems. This fallback is what makes a Live USB boot without prior configuration. On systems with Secure Boot enabled, the firmware also verifies the digital signature of the loaded executable before it runs.

The steps below show where the ESP sits in the boot process.

StageComponentInteraction with the ESP
Firmware initializationUEFI firmware and POSTNone yet; hardware is prepared
Boot selectionBoot manager in firmwareReads NVRAM entries pointing to ESP files
Loader executionEFI application such as a bootloaderLoaded from the ESP and verified if Secure Boot is on
Kernel loadingBootloaderReads its configuration, sometimes the kernel too, from the ESP
Operating system startKernelUsually mounts the ESP only for updates
Role of the ESP in the UEFI boot sequence

Technical requirements of the ESP

The ESP is identified by a fixed partition type, not by its name or contents. On a GPT disk it carries the type GUID C12A7328-F81F-11D2-BA4B-00A0C93EC93B; on an MBR disk it uses the partition type 0xEF. The UEFI specification requires firmware to support FAT32, and FAT12 and FAT16 are also accepted, usually on removable media.

ParameterTypical valueWhat it affects
Partition type (GPT)EFI System GUIDRecognition by firmware and installers
File systemFAT32Readability by every UEFI implementation
Size100 MB to 1 GBRoom for loaders, kernels and firmware updates
LocationOften the first partitionConvention only; any position works
Mount point/boot/efi or /efi on LinuxWhere updates write new loaders
Key ESP parameters

Size recommendations have grown over time. Windows Setup creates about 100 MB by default, which is enough for its own boot manager. Linux distributions that store kernels and initial RAM disks on the ESP, for example with systemd-boot, commonly recommend 512 MB to 1 GB, because several kernel versions must coexist during updates.

Typical directory layout and contents

Files on the ESP follow a vendor directory convention under \EFI\, which prevents operating systems from overwriting each other’s loaders. Each vendor owns one subdirectory, and the firmware boot entry points to a specific file inside it.

  • \EFI\Microsoft\Boot\bootmgfw.efi holds the Windows Boot Manager and its BCD store.
  • \EFI\ubuntu\shimx64.efi and grubx64.efi hold the shim and GRUB loaders for Ubuntu.
  • \EFI\systemd\systemd-bootx64.efi holds systemd-boot, with entries under \loader\.
  • \EFI\BOOT\BOOTX64.EFI is the fallback loader used when no NVRAM entry matches.
  • Vendor folders may also contain firmware update capsules and diagnostic tools.

On Apple computers with Intel processors, macOS uses the ESP mainly for firmware updates, while Apple silicon Macs follow a different boot design that does not rely on a conventional ESP.

The ESP is often confused with other boot areas, but it differs in who reads it and what it contains. The comparison below separates it from structures that appear alongside it on many disks.

StructureRead byContentFirmware mode
EFI system partitionUEFI firmwareEFI executables and configuration filesUEFI
Master boot recordBIOS or CSM446 bytes of boot code plus partition tableLegacy BIOS
BIOS boot partitionGRUB on GPT disksRaw GRUB core image, no file systemLegacy BIOS on GPT
Microsoft reserved partitionWindowsReserved space, no boot codeUEFI with GPT
Linux /boot partitionBootloaderKernels and initial RAM disksEither
ESP and neighboring boot structures

The ESP also differs from Measured boot and Verified boot: those are processes that hash or check boot components, while the ESP is simply the storage location of the components being checked.

Common ESP problems and how to fix them

Most ESP failures show up as a missing operating system in the boot menu or a firmware message that no bootable device exists. Diagnosis usually starts by checking the NVRAM entries with efibootmgr on Linux or bcdedit /enum firmware on Windows, then inspecting the partition itself.

SymptomLikely causeFix
Windows update fails with a space errorESP too small or full of old filesRemove stale loaders or enlarge the ESP
Linux disappears after Windows installBoot entry or boot order overwrittenRecreate the entry with efibootmgr
Firmware finds no bootable diskWrong partition type or corrupted FATReset the type GUID, run a FAT check
Secure Boot violation at startupUnsigned or revoked loader on the ESPInstall a signed shim or updated loader
ESP symptoms, causes and fixes

A frequent mistake is creating a second ESP on the same disk during a dual-boot installation. Many firmware implementations handle it, but some installers and update tools only recognize the first one, so one shared ESP per disk is the safer design. Equally risky is deleting the ESP while cleaning partitions, which leaves every installed operating system unbootable until the loaders are rebuilt.

The idea in brief

When a computer starts, its built-in firmware needs to find the program that will start the operating system. The EFI system partition is a small, simple drawer on the disk where those starting programs are kept. The firmware can always open this drawer because it uses an old, universal format.

Each operating system keeps its own labeled folder in the drawer. If the drawer is damaged or deleted, the computer no longer knows how to start, even though Windows or Linux is still sitting untouched elsewhere on the disk.

A practical scenario

A software developer installs Linux next to Windows 11 on a laptop with a 1 TB NVMe drive. Windows Setup had created a 100 MB ESP at the start of the disk. The Linux installer detects it, mounts it at /boot/efi and adds a folder with shim and GRUB, so both systems now share a single ESP and appear in the firmware boot menu.

Months later, a major Windows feature update fails because the ESP has less than 10 MB free. The developer shrinks the Windows partition by 500 MB, moves and enlarges the ESP to about 600 MB with a partition tool from a Live USB, and then verifies both NVRAM entries with efibootmgr. Both operating systems boot normally again, and the next update completes without errors.