You are not logged in.
What are the steps to remove systemd-boot and set GRUB as the default bootloader?
Offline
Welcome to the forums, developic!
https://wiki.archlinux.org/title/GRUB
Last edited by 5hridhyan (2026-02-11 08:44:19)
Offline
First you have to disable systemd-boot. It's not required but necessary
Offline
First you have to disable systemd-boot. It's not required but necessary
No, you do not have to do any such thing.
Offline
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
**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