You are not logged in.

#1 2026-02-11 08:23:48

developic
Member
Registered: 2026-02-11
Posts: 1

How to replace systemd-boot with GRUB?

What are the steps to remove systemd-boot and set GRUB as the default bootloader?

Offline

#2 2026-02-11 08:41:17

5hridhyan
Member
From: Asia
Registered: 2025-12-25
Posts: 265

Re: How to replace systemd-boot with GRUB?

Welcome to the forums, developic!
https://wiki.archlinux.org/title/GRUB

Last edited by 5hridhyan (2026-02-11 08:44:19)

Offline

#3 2026-02-11 20:00:45

ReDress
Member
From: Nairobi
Registered: 2024-11-30
Posts: 232

Re: How to replace systemd-boot with GRUB?

First you have to disable systemd-boot. It's not required but necessary

Offline

#4 2026-02-11 20:04:21

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,549

Re: How to replace systemd-boot with GRUB?

ReDress wrote:

First you have to disable systemd-boot. It's not required but necessary

No, you do not have to do any such thing.

Offline

#5 2026-02-12 17:22:22

ReDress
Member
From: Nairobi
Registered: 2024-11-30
Posts: 232

Re: How to replace systemd-boot with GRUB?

Scimmia wrote:
ReDress wrote:

First you have to disable systemd-boot. It's not required but necessary

No, you do not have to do any such thing.

That's until you have to install bare constants there. Meh - Leanurt can go do that himself

Offline

#6 2026-02-12 20:49:59

zpg443
Member
Registered: 2016-12-03
Posts: 315

Re: How to replace systemd-boot with GRUB?

**Steps to switch from systemd-boot to GRUB (UEFI Arch Linux):**

1. Install packages 
   `sudo pacman -S grub efibootmgr os-prober` (add `grub-customizer` if desired)

2. Install GRUB to ESP 
   `sudo grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB` 
   (adjust `--efi-directory=` if your ESP mounts elsewhere, e.g. `/efi` or `/boot/efi`)

3. Generate config 
   `sudo grub-mkconfig -o /boot/grub/grub.cfg`

4. (Optional – for dual-boot) 
   Edit `/etc/default/grub` → set `GRUB_DISABLE_OS_PROBER=false` 
   Then re-run `sudo grub-mkconfig -o /boot/grub/grub.cfg`

5. Set GRUB as first boot entry (choose **one**): 
   - UEFI firmware → change boot order (move "GRUB" before "Linux Boot Manager") 
   - or CLI: `efibootmgr` → note numbers → `sudo efibootmgr -o XXXX,YYYY,...` (put GRUB first)

6. Reboot and verify

7. (Optional – clean up) 
   `sudo bootctl remove` 
   `sudo pacman -Rns systemd-boot`

Done.

Offline

Board footer

Powered by FluxBB