Understanding the EFI System Partition on dedicated servers
Find out how the EFI System Partition (ESP) is laid out on a multi-disk dedicated server and which operating systems put it on software RAID1
Objective
This guide only applies to servers that boot in UEFI mode. A server that boots in legacy (BIOS) mode has no ESP.
An installation on a single disk or on a hardware RAID volume has a single ESP, so neither layout described here applies to it.
On a server that boots in UEFI mode, the EFI System Partition (ESP) holds the bootloader of the operating system (e.g. GRUB or systemd-boot). When an operating system is installed on several disks with software RAID, every disk gets an ESP, so that the server can still boot when one of the disks fails.
Depending on the operating system, the installation either creates one independent ESP per disk, or a single ESP on top of a software RAID1 array that spans all the installation disks.
This guide explains the two layouts, lists the operating systems that use each of them, and describes what the RAID1 layout changes for you.
Requirements
- A dedicated server that boots in UEFI mode
- A Linux operating system installed by OVHcloud on two disks or more, with software RAID
Instructions
How the server boots from the ESP
OVHcloud dedicated servers boot from the network. When the server is set to boot to disk, iPXE starts the bootloader found in the ESP of one of the disks, at the path set during the OS installation. If that fails, it falls back to rEFInd, which looks for a bootloader on every disk. See Understanding the dedicated server boot process for the whole sequence.
Since the server can start the bootloader from any disk, every ESP must hold the same up-to-date files.
One ESP per disk
This layout is mostly used by older Linux operating systems (see Availability by operating system). Each disk has its own ESP, and only one of them is mounted on /boot/efi. At the end of the installation, the contents of the mounted ESP are copied once to the other disks' ESPs; later bootloader updates write only to the mounted ESP.
If the server starts the bootloader from a disk whose ESP is out of date, it runs an outdated bootloader or boot configuration, which can start an older kernel or fail to boot. To prevent this, sync the contents of the mounted ESP to the other ESPs after each bootloader update, as described in Manage Software RAID (UEFI boot mode) on Dedicated Servers.
With this layout, lsblk -f shows a vfat partition labelled EFI_SYSPART on each disk, and only one of them mounted on /boot/efi, as on this Debian 12 server:
One ESP over RAID1
This layout, used by the newer Linux operating systems (see Availability by operating system), is the more reliable of the two. The ESPs of all the installation disks form a software RAID1 array, md1, and the FAT filesystem is created on the array. /boot/efi is mounted from md1, so every bootloader update is written to all the disks.
The array uses the RAID metadata version 0.90, which is stored at the end of each member partition. This way, the UEFI firmware, which does not know about software RAID, reads each member as a normal FAT filesystem. Once Linux has started, it assembles md1 and keeps the members in sync.
With this layout, lsblk -f shows the ESP of each disk as a linux_raid_member, and /boot/efi mounted from md1, as on this Debian 13 server:
Availability by operating system
The installation creates the ESP on top of RAID1 on:
- AlmaLinux 10 and newer
- Debian 13 and newer
- Fedora 43 and newer
- Proxmox Backup Server 4 and newer
- Proxmox Virtual Environment 9 and newer
- Rocky Linux 10 and newer
- SUSE Linux Enterprise Server for SAP Applications 15 SP4 and newer
- Ubuntu Server 26.04 and newer
The installation creates one ESP per disk on:
- AlmaLinux 8 and 9
- Debian 12
- Rocky Linux 8 and 9
- Ubuntu Server 20.04, 22.04 and 24.04, which has a built-in mechanism to keep multiple ESPs in sync: the
grub-efi/install_devicesdebconf setting of thegrub-efi-amd64package - Bring Your Own Linux: the bootloader is installed by the
make_image_bootable.shscript of your image, which OVHcloud does not control, so the installation cannot assume that it supports an ESP on top of RAID1
The layout is chosen at installation time and does not change afterwards, even after an in-place upgrade (e.g. Debian 12 → 13).
What the RAID1 layout changes for you
- You no longer need to sync the contents of the ESPs after bootloader updates, as described in Manage Software RAID (UEFI boot mode) on Dedicated Servers: the RAID1 array writes every change to all the disks.
- The FAT filesystem keeps the
EFI_SYSPARTlabel, so the/boot/efiline of/etc/fstabdoes not change. - Your distribution's bootloader updates work the same way as with one ESP per disk: they write to
/boot/efi, and the RAID1 array copies them to every disk. - If you run
grub-installyourself, add the--no-nvramoption. Without it,grub-installtries to create an EFI boot entry for the RAID1 array and fails. In any case, do not change the boot order of your server, as explained in Understanding the dedicated server boot process. - After a disk replacement, rebuild
md1like the other RAID arrays. See Manage Software RAID (UEFI boot mode) on Dedicated Servers.
Go further
Understanding the dedicated server boot process
Manage Software RAID (UEFI boot mode) on Dedicated Servers
Hot-Swapping a Disk on Software RAID Dedicated Servers
Join our community of users.