Omarchy

How-To: Check Your EFI System Partition Size and Layout Before a Linux Dual-Boot Install

Leave a comment

With Omarchy moving to systemd-boot and its installer learning to share Windows’ ESP, I wanted to know what my own disk layout looks like before I’d try a dual-boot install. Here’s the read-only check. None of these commands change anything.

1. Confirm you booted in UEFI mode

[ -d /sys/firmware/efi ] && echo UEFI || echo BIOS

2. Find the EFI system partition and its size

lsblk -o NAME,SIZE,FSTYPE,PARTTYPENAME,MOUNTPOINTS

Look for EFI System (vfat). If you also see Linux extended boot, that’s an XBOOTLDR partition. Windows often creates a small ESP, commonly around 100 MB, which is why Linux installers keep kernel images somewhere else.

3. See how full it is

findmnt -no TARGET,SOURCE /boot /efi /boot/efi 2>/dev/null
df -h /boot /efi /boot/efi 2>/dev/null

4. Ask the boot loader

bootctl status 2>/dev/null | head -40
sudo efibootmgr

bootctl shows which ESP and XBOOTLDR partitions systemd-boot sees, if it’s installed. efibootmgr shows the firmware boot entries and order, so you can spot “Windows Boot Manager” and anything else.

What to look for

  • Is there an EFI/Microsoft folder on the ESP? Then Windows boots from it, and you should leave it alone.
  • Is free space on the ESP tight? Then the installer will need another partition for images.
  • Back up anything important first. Partition changes are where dual-boot gets risky.

For Limine and boot entries, see my earlier how-to.

God Bless, and Happy hacking!

References & Further Reading

Subscribe (RSS) Follow How-Tos via RSS

Leave a note

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.