Linux bootctl Guide - ryzendew/Linux-Tips-and-Tricks GitHub Wiki
Linux bootctl Guide
Complete beginner-friendly guide to bootctl on Linux, covering Arch Linux, CachyOS, and other distributions including systemd-boot management, bootloader control, and EFI boot management.
Table of Contents
Understanding bootctl
What is bootctl?
bootctl manages systemd-boot.
Uses:
- Bootloader status: Check bootloader status
- Install bootloader: Install systemd-boot
- Update bootloader: Update systemd-boot
- EFI management: Manage EFI entries
Why it matters:
- Bootloader management: Manage systemd-boot
- EFI boot: Control EFI boot
- System boot: Manage system boot
bootctl Basics
Check Status
Basic usage:
# Check bootloader status
bootctl status
# Shows systemd-boot status
Install Bootloader
Install systemd-boot:
# Install systemd-boot
sudo bootctl install
# Installs systemd-boot to EFI
Bootloader Management
Update Bootloader
Update systemd-boot:
# Update bootloader
sudo bootctl update
# Updates systemd-boot
Remove Bootloader
Uninstall:
# Remove systemd-boot
sudo bootctl remove
# Removes systemd-boot
EFI Management
List Entries
EFI entries:
# List EFI entries
bootctl list
# Shows boot entries
Set Default
Default entry:
# Set default entry
sudo bootctl set-default "entry-name"
# Sets default boot entry
Troubleshooting
bootctl Not Found
Check systemd:
# bootctl is part of systemd
# Usually pre-installed on systemd systems
# Check systemd
systemctl --version
Summary
This guide covered bootctl usage, systemd-boot management, and EFI boot control for Arch Linux, CachyOS, and other distributions.
Next Steps
- Bootloader Configuration - Bootloader guide
- UEFI and Secure Boot - UEFI guide
- bootctl Documentation:
man bootctl
This guide covers Arch Linux, CachyOS, and other Linux distributions. For distribution-specific details, refer to your distribution's documentation.