You are not logged in.

#1 2022-04-27 19:27:35

cribari
Member
From: Recife, Brazil
Registered: 2016-01-28
Posts: 84
Website

[SOLVED] systemd-boot: problem with bootctl update

I run Arch + systemd-boot on a laptop (no dual boot). When I run bootctl update I see the following message:

┌─[cribari @ darwin5r ~]
└─╼ sudo bootctl update
Skipping "/boot/EFI/systemd/systemd-bootx64.efi", since same boot loader version in place already.
Skipping "/boot/EFI/BOOT/BOOTX64.EFI", since same boot loader version in place already.
┌─[cribari @ darwin5r ~]
└─╼ 

This is what I have:

┌─[cribari @ darwin5r ~]
└─╼ bootctl status
System:
     Firmware: UEFI 2.50 (American Megatrends 5.12)
  Secure Boot: disabled (unknown)
 TPM2 Support: yes
 Boot into FW: supported

Current Boot Loader:
      Product: systemd-boot 250.4-2-arch
     Features: ✓ Boot counting
               ✓ Menu timeout control
               ✓ One-shot menu timeout control
               ✓ Default entry control
               ✓ One-shot entry control
               ✓ Support for XBOOTLDR partition
               ✓ Support for passing random seed to OS
               ✓ Load drop-in drivers
               ✓ Boot loader sets ESP information
          ESP: /dev/disk/by-partuuid/874f94f2-1880-47cb-ac9d-299a63df77d2
         File: └─/EFI/BOOT/BOOTX64.EFI

Random Seed:
 Passed to OS: yes
 System Token: set
       Exists: yes

Available Boot Loaders on ESP:
          ESP: /boot (/dev/disk/by-partuuid/874f94f2-1880-47cb-ac9d-299a63df77d2)
         File: └─/EFI/systemd/systemd-bootx64.efi (systemd-boot 250.4-2-arch)
         File: └─/EFI/BOOT/BOOTX64.EFI (systemd-boot 250.4-2-arch)

Boot Loaders Listed in EFI Variables:
        Title: UEFI OS
           ID: 0x0001
       Status: active, boot-order
    Partition: /dev/disk/by-partuuid/874f94f2-1880-47cb-ac9d-299a63df77d2
         File: └─/EFI/BOOT/BOOTX64.EFI

        Title: Linux Boot Manager
           ID: 0x0003
       Status: active, boot-order
    Partition: /dev/disk/by-partuuid/874f94f2-1880-47cb-ac9d-299a63df77d2
         File: └─/EFI/SYSTEMD/SYSTEMD-BOOTX64.EFI

        Title: UEFI OS
           ID: 0x0004
       Status: active, boot-order
    Partition: /dev/disk/by-partuuid/874f94f2-1880-47cb-ac9d-299a63df77d2
         File: └─/EFI/BOOT/BOOTX64.EFI

Boot Loader Entries:
        $BOOT: /boot (/dev/disk/by-partuuid/874f94f2-1880-47cb-ac9d-299a63df77d2)

Default Boot Loader Entry:
        title: Arch Linux
           id: arch.conf
       source: /boot/loader/entries/arch.conf
        linux: vmlinuz-linux
       initrd: /intel-ucode.img
               /initramfs-linux.img
      options: root=PARTUUID=8ee20c9d-f83d-47d0-bf09-dc3c5c576301 rw resume=PARTUUID=a61c0b36-d526-4b0f-80dd-88090429bdba nmi_watchdog=0
┌─[cribari @ darwin5r ~]
└─╼ 

Can anyone help me to fix the issue? Thank you in advance.

Last edited by cribari (2022-04-27 20:11:34)


Linux, street photography and Baroque music enthusiast.

Offline

#2 2022-04-27 19:46:48

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] systemd-boot: problem with bootctl update

What issue?
Everything seems to be working as expected.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2022-04-27 20:10:36

cribari
Member
From: Recife, Brazil
Registered: 2016-01-28
Posts: 84
Website

Re: [SOLVED] systemd-boot: problem with bootctl update

Slithery wrote:

What issue?
Everything seems to be working as expected.

Sorry, then. My bad. I always used GRUB. This is my first go with systemd-boot. I thought bootctl update was supposed to update some files. Again, sorry.


Linux, street photography and Baroque music enthusiast.

Offline

#4 2022-04-27 20:21:46

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] systemd-boot: problem with bootctl update

It will do if there are any files that need updating. The output you posted clearly states that they are already up to date.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#5 2022-04-27 20:22:38

Fixxer
Member
From: Poland
Registered: 2011-08-29
Posts: 232

Re: [SOLVED] systemd-boot: problem with bootctl update

I thought bootctl update was supposed to update some files.

No, update-grub means "regenerate /boot/grub/grub.cfg based on changes in /etc/default/grub AND/OR /etc/grub.d/40_custom."

Command: bootctl update updates systemd-boot loader itself, not configuration. Configuration of systemd-boot is static, located in:

/boot/loader/loader.conf
/boot/loader/entries/*.conf

The only case you may run bootctl update is every update of systemd package. You may automate it, look:
https://wiki.archlinux.org/title/system … ot_manager .

Last edited by Fixxer (2022-04-27 20:24:46)

Offline

Board footer

Powered by FluxBB