Use this when the EFI System Partition is missing, full or damaged.
EFI System Partition
The EFI System Partition (ESP) is a small FAT32 partition, typically 100–550 MB, that holds UEFI bootloaders such as \EFI\Microsoft\Boot or \EFI\ubuntu. UEFI firmware needs it to boot from a GPT disk.
1. The ESP (FAT32, about 100–600 MB) holds UEFI boot loaders.
2. Type GUID C12A7328-....
3. On mirrored boot disks, keep ESPs in sync.
4. Back up before boot changes.
5. Check boot entries.
UEFI firmware → ESP → boot loader → OS
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- ESP too small for multiple kernels or dual boot.
- Deleting it to reclaim space — the system will not boot.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- ESP is FAT32, typically 100–550 MB.
- It holds bootloaders for each OS.
- UEFI firmware needs it to boot from GPT.
findmnt /boot/efi— ESP mountedefibootmgr -v— boot entriesmountvol /S (Windows)— mount ESP
ReferenceHow it works1 section · depth on demand
Creating
sgdisk -n 1:1MiB:+512MiB -t 1:EF00 /dev/sda
mkfs.vfat -F32 /dev/sda1
Documented example, not captured output. Windows Setup creates it automatically.
ReferenceImportant terms & boundaries3 sections · depth on demand
In depth
The ESP is a small FAT partition the firmware reads
UEFI firmware does not boot from a partition's boot sector; it loads an EFI executable from the EFI System Partition (ESP), a FAT-formatted partition marked with the ESP type.
Create or inspect it
The Parted manual documents set N esp on to mark partition N as the UEFI System Partition; on GPT it is an alias for the boot flag.
# parted /dev/sda --script mklabel gpt mkpart ESP fat32 1MiB 513MiB set 1 esp on
# mkfs.vfat -F 32 /dev/sda1
# parted /dev/sda print
Number Start End Size File system Name Flags
1 1049kB 538MB 537MB fat32 ESP boot, esp
# findmnt /boot/efi
TARGET SOURCE FSTYPE OPTIONS
/boot/efi /dev/sda1 vfat rw,relatime,fmask=0077,dmask=0077
# efibootmgr -v
BootCurrent: 0001
Boot0001* debian HD(1,GPT,...)/File(\EFI\debian\shimx64.efi)
What lives on it
| Path | Content |
|---|---|
\EFI\BOOT\BOOTX64.EFI | Fallback loader used when no boot entry exists |
\EFI\<distro>\ | shim, GRUB or systemd-boot per OS |
\EFI\Microsoft\Boot\ | Windows Boot Manager |
Typical problems
| Symptom | Cause |
|---|---|
| "No bootable device" after disk swap | New disk has no ESP or no boot entry; recreate the ESP and run the bootloader installer |
| Boot entry lost after firmware update | NVRAM reset; use the fallback path or recreate with efibootmgr |
| ESP full | Many old kernels (systemd-boot) or vendor files; 300–550 MiB avoids it |
| Mirrored boot disks | md/ZFS mirrors do not cover the ESP by default; keep an ESP on each disk and sync it |
Windows calls the same partition "System" in Disk Management; mountvol S: /s mounts it temporarily.
*The FAT partition listing and mount query demonstrate firmware boot storage configuration, not an installed boot volume.*
How it works
The ESP is a FAT32 partition with a specific type GUID that UEFI firmware reads to find boot loaders. One ESP can hold loaders for several operating systems in separate folders under \EFI\.
Reference
| Item | Value |
|---|---|
| File system | FAT32 |
| Size | 100–300 MB (Windows 100 MB, Linux often 512 MB–1 GB) |
| GPT type | C12A7328-F81F-11D2-BA4B-00A0C93EC93B |
| Mount (Linux) | /boot/efi |
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Partitioning → EFI System Partition. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.gnu.org/software/parted/manual/parted.html · confidence 94%