You are not logged in.

#1 Yesterday 11:46:27

MNS1968
Member
Registered: 2023-12-28
Posts: 7

Systemd boot - update?

Greetings smile

Just thought I'd ask and confirm with you all. Do you need to update Systemd boot after editing the boot entries?

Along with my Arch install I had a copy of Debian 12 which I kept just in case something headed south with my Arch installation. I decided it was no longer needed and uninstalled Debian.

My BIOS is weird, having uninstalled Debian, the PC would try to boot into Debian with the resulting usual displayed BASH error. This was despite the boot order in BIOS set to launch Arch first?! roll

Using efibootmgr, I attempted to remove the entry but was unsuccessful. The entry was listed again after reboot. I found the following below and it seems to have worked. The Debian entry has now been removed.

$ findmnt /efi

$ ls -a /boot/efi/debian

$ sudo rm -r /boot/efi/debian

Now I have the following...

$ efibootmgr

BootOrder: 000B,0001
Boot0001* Linux Boot Manager	HD(1,GPT,f14dde32-3430-46d3-a5c6-3101c1ddd854,0x800,0x200000)/\EFI\SYSTEMD\SYSTEMD-BOOTX64.EFI
Boot000B* UEFI OS	HD(1,GPT,f14dde32-3430-46d3-a5c6-3101c1ddd854,0x800,0x200000)/\EFI\BOOT\BOOTX64.EFI0000424f

I take it, this is normal with Arch to have two boot entries?

Last edited by MNS1968 (Yesterday 11:47:50)

Offline

#2 Yesterday 11:56:00

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,324
Website

Re: Systemd boot - update?

For systemd-boot the removable loader location (/EFI/Boot/bootx64.efi) is used automatically and your UEFI firmware adds a boot entry for that.

I have ThinkPads that remember the boot entries and associated loaders, they re-create the boot entry if the loader is still present, which I suppose some might consider a feature rather than a bug.

EDIT: and no, you don't have to update systemd-boot after editing entries, only after systemd is updated.

Last edited by Head_on_a_Stick (Yesterday 11:57:32)


Para todos todo, para nosotros nada

Offline

Board footer

Powered by FluxBB