-
-
Notifications
You must be signed in to change notification settings - Fork 1
Linux efibootmgr Guide
Mattscreative edited this page Dec 5, 2025
·
2 revisions
Complete beginner-friendly guide to efibootmgr on Linux, covering Arch Linux, CachyOS, and other distributions including EFI boot entry management, UEFI boot configuration, and boot order control.
Arch/CachyOS:
# Install efibootmgr
sudo pacman -S efibootmgrDebian/Ubuntu:
sudo apt install efibootmgrFedora:
sudo dnf install efibootmgrBasic usage:
# List EFI boot entries
efibootmgr
# Shows all boot entriesDetailed info:
# Verbose output
efibootmgr -v
# -v = verbose (detailed information)Add entry:
# Create boot entry
sudo efibootmgr -c -d /dev/sda -p 1 -L "Arch Linux" -l '\EFI\arch\vmlinuz-linux' -u 'root=PARTUUID=xxxx rw initrd=\EFI\arch\initramfs-linux.img'
# -c = create
# -d = disk
# -p = partition
# -L = label
# -l = loader
# -u = unicode argsRemove entry:
# Delete boot entry
sudo efibootmgr -b 0000 -B
# -b = boot number
# -B = deleteChange order:
# Set boot order
sudo efibootmgr -o 0000,0001,0002
# -o = order (sets boot order)Boot once:
# Boot from entry once
sudo efibootmgr -n 0000
# -n = next (boots from entry once)Check installation:
# Check efibootmgr
which efibootmgr
# Install if missing
sudo pacman -S efibootmgrThis guide covered efibootmgr usage, EFI boot entry management, and boot order control for Arch Linux, CachyOS, and other distributions.
- Bootloader Configuration - Bootloader guide
- UEFI and Secure Boot - UEFI guide
- bootctl Guide - systemd-boot management
-
efibootmgr Documentation:
man efibootmgr
This guide covers Arch Linux, CachyOS, and other Linux distributions. For distribution-specific details, refer to your distribution's documentation.