You are not logged in.

#1 2022-11-11 19:41:52

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,360

systemd-boot - bootctl status has a an error output but boots fine

I have one machine that has two error lines from the bootctl status command, though it boots fine. I have been unable to understand what makes the error lines appear in the output, or whether there is something amiss with the configs somewhere.  The output is as follows:

$ sudo bootctl status
Failed to read boot option 8194: No such file or directory
Failed to read boot option 8196: No such file or directory
System:
      Firmware: UEFI 2.70 (INSYDE Corp. 3865.00)
 Firmware Arch: x64
   Secure Boot: disabled (disabled)
  TPM2 Support: yes
  Boot into FW: supported

Current Boot Loader:
      Product: systemd-boot 252.1-1-arch

I am puzzled by the two lines saying Failed to read boot options:

Can anyone enlighten me about the implications of those two lines?  Thanks.

Edit: Posted this issue upstream for systemd at:

https://github.com/systemd/systemd/issues/25359

Edit 2: It seems the warning is due to two uefi nvram entries where the corresponding efivars variable is missing.  Using efibootmgr to try to delete the entry fails since the entry data is not there to delete, and setting the boot order to exclude the two missing entries works whilst logged in, but if the machine is rebooted the boot order is reset to include the missing entries again (presumably the uefi firmware is responsible for re-creating them on this HP Envy x-360 laptop)! Does anyone know how to permanently delete such unneeded entries in the nvram so that the boot order only includes existing entries?

Last edited by mcloaked (2022-11-12 18:46:12)


Mike C

Offline

Board footer

Powered by FluxBB