# EFI 系统分区

EFI 系统分区（ESP）是存储设备上的一个分区，使用规范所定义的 FAT 版本格式化，用于存放计算机固件在启动时加载的 UEFI 映像：操作系统加载器、UEFI 驱动程序和实用应用程序。UEFI 要求从块设备启动时必须有一个专用的系统分区，而 Windows 要求存在此分区，称为 EFI 系统分区（ESP）。<sup>[1](https://learn.microsoft.com/en-us/windows-hardware/drivers/bringup/uefi-requirements-that-apply-to-all-windows-platforms)</sup> 在 GPT 驱动器上，它由分区类型 GUID C12A7328-F81F-11D2-BA4B-00A0C93EC93B 标识。<sup>[2](https://uefi.org/specs/UEFI/2.10/05_GUID_Partition_Table_Format.html)</sup>

| 关键事实 | 详情 |
|---|---|
| 用途 | 存放 UEFI 映像（操作系统加载器、驱动程序、应用程序）以及固件在启动时读取的数据文件；设备启动时进入此分区<sup>[3](https://learn.microsoft.com/windows-hardware/manufacture/desktop/configure-uefigpt-based-hard-drive-partitions)</sup><sup> • </sup><sup>[4](https://uefi.org/specs/UEFI/2.10/13_Protocols_Media_Access.html)</sup> |
| 文件系统 | 系统分区使用 FAT32；可移动介质使用 FAT12 或 FAT16；EFI 文件系统是 UEFI 规范定义的 FAT 固定版本<sup>[4](https://uefi.org/specs/UEFI/2.10/13_Protocols_Media_Access.html)</sup> |
| GPT 类型 GUID | C12A7328-F81F-11D2-BA4B-00A0C93EC93B<sup>[2](https://uefi.org/specs/UEFI/2.10/05_GUID_Partition_Table_Format.html)</sup> |
| Microsoft 最小大小 | 512 字节/512e 扇区驱动器上为 200 MB；4K 原生扇区驱动器上为 300 MB<sup>[3](https://learn.microsoft.com/windows-hardware/manufacture/desktop/configure-uefigpt-based-hard-drive-partitions)</sup> |
| 4Kn 驱动器上的 FAT32 限制 | 最小分区大小为 260 MB，因为 FAT32 要求扇区大小（4 KB）× 65527 = 256 MB<sup>[5](https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/hard-drives-and-partitions?view=windows-11)</sup> |
| 必需目录 | 根目录下名为 EFI 的目录；厂商子目录存放加载器，另有可选的 BOOT 子目录用于恢复映像<sup>[4](https://uefi.org/specs/UEFI/2.10/13_Protocols_Media_Access.html)</sup> |
| 回退路径 | 根据 UEFI 2.3.1 规范，默认固件设置应打开 ESP 中的 \efi\boot\bootx64.efi<sup>[6](https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/bcdboot-command-line-options-techref-di?view=windows-11)</sup> |

## 在启动过程中的作用

UEFI 支持从包含 UEFI 操作系统加载器或 UEFI 定义的系统分区的介质启动，而从块设备启动时需要 UEFI 定义的系统分区。<sup>[7](https://uefi.org/specs/UEFI/2.10/02_Overview.html)</sup> 固件的启动管理器从 UEFI 定义的文件系统中的任意文件加载应用程序，使用 NVRAM 变量指向要加载的文件。<sup>[7](https://uefi.org/specs/UEFI/2.10/02_Overview.html)</sup> 由于 EFI 固件包含自己的文件系统驱动程序，它可以从分区加载任意文件，而无需执行介质上存储的启动代码；分区的第一个扇区保留用于传统兼容代码，但 EFI 固件不会执行它。<sup>[4](https://uefi.org/specs/UEFI/2.10/13_Protocols_Media_Access.html)</sup>

**内容。** 系统分区包含目录、数据文件和 UEFI 映像，后者可以是操作系统加载器、扩展平台固件能力的驱动程序，或提供临时服务的应用程序，例如分区工具或扩展诊断程序。它还可以存放操作系统或固件组件使用的数据文件，例如错误日志。<sup>[4](https://uefi.org/specs/UEFI/2.10/13_Protocols_Media_Access.html)</sup>

## 文件系统与目录结构

EFI 文件系统基于 FAT，但作为固定目标被明确记录并可测试：FAT 的未来增强不会自动纳入，FAT32 系统分区通过一个 OSType 值来标识，以区别于普通 FAT 文件系统。<sup>[4](https://uefi.org/specs/UEFI/2.10/13_Protocols_Media_Access.html)</sup> 第一个扇区包含 BIOS 参数块（BPB），定义 FAT 文件系统的类型和位置，FAT32 数据区域应与设备的物理块边界和最佳传输长度粒度对齐。<sup>[4](https://uefi.org/specs/UEFI/2.10/13_Protocols_Media_Access.html)</sup>

硬盘上的 ESP 必须包含一个名为 EFI 的根目录。所有操作系统加载器和应用程序都存储在 EFI 下的子目录中，每个厂商（操作系统、OEM、BIOS 或工具厂商）使用不冲突的子目录名，每个子目录针对每种支持的处理器架构最多包含一个可执行 EFI 映像，从而使启动行为保持确定性。可选的 BOOT 子目录存放可在启动选择丢失时帮助恢复的映像。<sup>[4](https://uefi.org/specs/UEFI/2.10/13_Protocols_Media_Access.html)</sup> 对于可移动介质，只能有一个符合 UEFI 规范的系统分区，其加载器放在 EFI 下名为 BOOT 的子目录中，每个架构一个可执行文件，命名为 BOOT{机器类型短名}.EFI 的形式；对于 x64，回退文件为 BOOTx64.EFI。<sup>[4](https://uefi.org/specs/UEFI/2.10/13_Protocols_Media_Access.html)</sup><sup> • </sup><sup>[8](https://uefi.org/specs/UEFI/2.10/03_Boot_Manager.html)</sup>

## 数量、位置与大小

UEFI 不限制系统分区的数量或位置。固件通过检查分区 GUID 并验证内容符合 EFI FAT 文件系统来发现它们，实现也可以接受不使用 ESP GUID 的符合规范的 FAT 分区。分区创建者可以通过设置分区属性的第 1 位，使某个分区不被视为潜在 ESP。安装程序可以在每个操作系统启动磁盘上放置一个 ESP，也可以在多个安装之间共享单个 ESP。<sup>[4](https://uefi.org/specs/UEFI/2.10/13_Protocols_Media_Access.html)</sup>

对于 Windows 部署，Microsoft 要求 ESP 位于主硬盘上，格式化为 FAT32，最小大小为 200 MB（512/512e 扇区驱动器）或 300 MB（4K 原生驱动器），并声明该分区不应包含其他文件，例如 Windows RE 工具。<sup>[3](https://learn.microsoft.com/windows-hardware/manufacture/desktop/configure-uefigpt-based-hard-drive-partitions)</sup> 默认的 Windows UEFI 布局将 ESP 放在最前面，然后是 16 MB 的 Microsoft 保留分区（MSR）、Windows 分区和恢复分区。<sup>[3](https://learn.microsoft.com/windows-hardware/manufacture/desktop/configure-uefigpt-based-hard-drive-partitions)</sup> 在高级格式 4K 原生驱动器上，FAT32 格式本身强制要求更大的最小值 260 MB。<sup>[5](https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/hard-drives-and-partitions?view=windows-11)</sup> Linux 的指导建议采用更大的分区：[Debian](https://www.edgepedia.org/zh/debian) 安装程序指出，小于 768 到 1000 MB 的 ESP 可能会在通过 UKI 进行内核升级、设备固件升级或使用引导加载器规范布局的 systemd-boot 时出现问题。<sup>[9](https://d-i.debian.org/manual/en.amd64/ch06s03.html)</sup>

## 操作系统和启动管理器的使用

**Windows。** BCDBoot 将启动环境文件复制到 ESP，并在其中创建 BCD 存储；在 UEFI 系统上，它创建 \Efi\Microsoft\Boot 目录，并在 NVRAM 中添加指向启动文件的 Windows 启动管理器条目。如果不使用 NVRAM 条目，默认固件设置会打开 ESP 中的 \efi\boot\bootx64.efi。<sup>[6](https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/bcdboot-command-line-options-techref-di?view=windows-11)</sup> BCD 存储中的 Windows 启动管理器路径为 \EFI\Microsoft\Boot\bootmgfw.efi。<sup>[10](https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/bcd-system-store-settings-for-uefi?view=windows-11)</sup>

**Linux。** 在 EFI 系统上，ESP 在 [Red Hat Enterprise Linux](https://www.edgepedia.org/zh/red-hat-enterprise-linux) 中通常用作 /boot 文件系统，因为 UEFI 标准要求其具有特定的 GPT 分区类型和文件系统类型，而平台固件只能读取该标准定义的 /boot 配置。<sup>[11](https://docs.redhat.com/fr/documentation/red_hat_enterprise_linux/8/pdf/8.10_release_notes/known-issues)</sup> Debian 安装程序在 EFI 模式下启动时创建一个 ESP，格式化为 FAT32 可启动文件系统，如果选择了 EFI 模式启动却没有 ESP，则拒绝继续。<sup>[9](https://d-i.debian.org/manual/en.amd64/ch06s03.html)</sup> GRUB 的安装程序为固定磁盘 EFI 安装挂载 ESP（通常挂载在 /boot/efi）。<sup>[12](https://www.gnu.org/software/grub/manual/grub/grub.pdf)</sup> systemd-boot 启动管理器仅在 ESP 上操作：配置文件片段、内核、initrd 和其他 EFI 映像必须位于其上，Linux 内核必须使用 CONFIG_EFI_STUB 构建才能作为 EFI 映像直接执行。<sup>[13](https://systemd.io/BOOT/)</sup> 统一内核映像文件默认存储在 ESP 的 /EFI/Linux 目录中。<sup>[14](https://www.gnu.org/software/grub/manual/grub/html_node/uki.html)</sup>

## References

1. [UEFI Requirements for Windows on SoC Platforms, Microsoft Learn](https://learn.microsoft.com/en-us/windows-hardware/drivers/bringup/uefi-requirements-that-apply-to-all-windows-platforms)
2. [GUID Partition Table (GPT) Disk Layout, UEFI Specification 2.10](https://uefi.org/specs/UEFI/2.10/05_GUID_Partition_Table_Format.html)
3. [UEFI/GPT-based hard drive partitions, Microsoft Learn](https://learn.microsoft.com/windows-hardware/manufacture/desktop/configure-uefigpt-based-hard-drive-partitions)
4. [Protocols – Media Access (File System Format, System Partition), UEFI Specification 2.10](https://uefi.org/specs/UEFI/2.10/13_Protocols_Media_Access.html)
5. [Hard Drives and Partitions, Microsoft Learn](https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/hard-drives-and-partitions?view=windows-11)
6. [BCDBoot Command-Line Options, Microsoft Learn](https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/bcdboot-command-line-options-techref-di?view=windows-11)
7. [Overview, UEFI Specification 2.10](https://uefi.org/specs/UEFI/2.10/02_Overview.html)
8. [Boot Manager (Removable Media Boot Behavior), UEFI Specification 2.10](https://uefi.org/specs/UEFI/2.10/03_Boot_Manager.html)
9. [Using Individual Components, Debian GNU/Linux Installation Guide](https://d-i.debian.org/manual/en.amd64/ch06s03.html)
10. [BCD System Store Settings for UEFI, Microsoft Learn](https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/bcd-system-store-settings-for-uefi?view=windows-11)
11. [Red Hat Enterprise Linux 8.10 Release Notes, Known Issues](https://docs.redhat.com/fr/documentation/red_hat_enterprise_linux/8/pdf/8.10_release_notes/known-issues)
12. [GNU GRUB Manual 2.12](https://www.gnu.org/software/grub/manual/grub/grub.pdf)
13. [systemd-boot UEFI Boot Manager, systemd.io](https://systemd.io/BOOT/)
14. [uki, GNU GRUB Manual 2.14](https://www.gnu.org/software/grub/manual/grub/html_node/uki.html)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 17, 2026; Sep 30, 2026; Oct 15, 2026 · Edited: Sep 30, 2026; Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 计算机硬件 › Boards, peripherals & form factors › Motherboards & form factors › Chipsets and board logic

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/efi-system-partition

English original: https://www.edgepedia.org/efi-system-partition
