What is UEFI?
UEFI is a specification for the interface between firmware and operating system. It grew out of Intel's EFI work and is maintained by an industry forum. A UEFI firmware still tests and initializes hardware like a BIOS did, but it is far more capable: it understands GPT partition tables and FAT file systems, keeps a list of boot entries in non-volatile memory, can run small programs and drivers, supports networking during boot, and can verify signatures before running any code. Virtually every server and PC built in the last decade uses UEFI.
How does UEFI boot work?
- The firmware initializes the hardware and reads its boot entries from NVRAM.
- Each entry points at a file on an EFI System Partition (ESP), a small FAT32 partition, for example
\EFI\ubuntu\shimx64.efi. - The firmware loads that file and runs it; with Secure Boot it checks the signature first.
- The loader, usually shim followed by GRUB, reads its config and starts the Linux kernel.
If no entry works, the firmware falls back to a default path, \EFI\BOOT\BOOTX64.EFI on x86 or BOOTAA64.EFI on Arm. Installers copy a loader there too, which helps after a disk swap.
What changed compared to BIOS?
| Topic | UEFI behavior |
|---|---|
| Disks | GPT partition tables, no 2 TiB boot limit, up to 128 partitions by default |
| Boot code | Files on the ESP instead of hidden sectors |
| Boot selection | Named entries in NVRAM, editable from the running OS |
| Security | Secure Boot verifies signed loaders and kernels |
| Architectures | x86-64 and Arm64 use the same model |
Arm servers such as our Arm line line, for example A1, boot through UEFI as well, which is why standard arm64 builds of Ubuntu, Debian and the Enterprise Linux family install the same way as on x86. For the older design, see BIOS.
How do I inspect UEFI boot entries from Linux?
[ -d /sys/firmware/efi ] && echo uefi efibootmgr -v findmnt /boot/efi mokutil --sb-state
efibootmgr -v lists entries with their order and the disk and file each one points at; findmnt shows where the ESP is mounted; mokutil --sb-state reports whether Secure Boot is on. efibootmgr can also reorder entries with -o or create new ones, but change them carefully on a machine you cannot reach by console: a wrong order can leave it booting from the network instead of disk.
Why does UEFI matter when mirroring drives?
This is the practical catch on two-drive servers. Linux software RAID can mirror your root and data partitions, but the ESP is a FAT partition the firmware reads directly, so it is usually not part of an mdadm array in the normal way. If the drive holding the only ESP fails, the system cannot boot even though the mirror still has all the data. The fix is to keep an ESP on each drive and copy the contents across:
mkfs.vfat -F 32 /dev/nvme1n1p1 mount /dev/nvme1n1p1 /mnt && rsync -a /boot/efi/ /mnt/ && umount /mnt efibootmgr -c -d /dev/nvme1n1 -p 1 -L "ubuntu-disk2" -l '\EFI\ubuntu\shimx64.efi'
Re-copy after boot loader updates, or use a hook. Alternatives are an mdadm RAID 1 with metadata version 1.0 (stored at the end, so the firmware sees a plain FAT partition) or tools that manage multiple ESPs. Our machines arrive with the OS on the first drive and other drives unconfigured, so this is part of building your own mirror; Two-drive mirror (RAID 1) covers the rest.
What is Secure Boot?
Secure Boot only runs boot loaders signed by keys stored in the firmware. Major Linux distributions ship a small signed loader called shim, which then verifies GRUB and the kernel. That blocks boot-level malware, at the cost of complications for unsigned kernel modules, such as some out-of-tree drivers, which must be signed with a machine owner key (MOK). Whether Secure Boot is enabled depends on the firmware setup; check it with mokutil --sb-state before installing modules from outside your distribution.
Do I need to care about UEFI day to day?
Rarely. Kernel and GRUB updates handle the ESP automatically on Ubuntu, Debian and Enterprise Linux. The moments it matters are disk layout changes, mirroring boot drives, adding drivers under Secure Boot, and recovery after a disk replacement. Our FreeBSD 14 and Proxmox VE 8 images handle UEFI boot in their own installers as well.
Two-Drive Machines on x86 and Arm
| Server | Processor | Cores / threads | Memory | Storage | Network | Per month | Smallest order |
|---|---|---|---|---|---|---|---|
| S3 | Intel Xeon E-2356G | 6 / 12 | 64 GB DDR4 | 2x 1 TB NVMe | 2x 10 Gbps | $80.38 | $80.38 (1 month) |
| S6 | Intel Xeon E-2288G | 8 / 16 | 64 GB DDR4 | 2x 1 TB NVMe | 2x 10 Gbps | $89.92 | $89.92 (1 month) |
| A1 | Ampere Altra Q80-30 | 80 / 80 | 256 GB DDR4 | 2x 2 TB NVMe | 2x 25 Gbps | $252.11 | $252.11 (1 month) |
| A2 | Ampere Altra Q80-30 | 80 / 80 | 256 GB DDR4 | 2x 4 TB NVMe | 2x 25 Gbps | $277.57 | $277.57 (1 month) |
| D5 | 2x Intel Xeon Gold 5315Y | 16 / 32 | 256 GB DDR4 | 2x 2 TB NVMe | 2x 25 Gbps | $305.34 | $305.34 (1 month) |
Keep Reading
BIOS
The classic firmware that starts a PC or server before the OS, what it initializes, and how to read BIOS details from a running Linux box.
OpenTwo-drive mirror (RAID 1)
How RAID 1 keeps a full copy of your data on two drives, which machines have two drives and how to check it with mdadm.
OpenArm vs x86 servers
How Ampere Arm processors differ from Intel and AMD x86 chips, and which jobs run cheaper on each.
OpenFormat a disk on Linux
Turn the blank second NVMe drive into usable space: identify it, partition with GPT, choose ext4 or XFS, mount by UUID and keep TRIM on.
OpenFAQ
Quick Answers
A small FAT32 partition that holds boot loaders as files. UEFI firmware reads it directly to start the operating system.
Run efibootmgr -v as root. It shows each entry, the boot order and the file each entry loads.
Not in the usual way. Keep an EFI partition on each drive and sync them, or use RAID 1 with metadata 1.0.
Yes. Arm64 servers boot through UEFI, so standard arm64 Linux images install the same way as on x86.
Run mokutil --sb-state. It reports SecureBoot enabled or disabled.