You are not logged in.

#1 2025-01-08 08:09:01

burga
Member
Registered: 2022-06-18
Posts: 6

[SOLVED] Systemd-boot Defaulting Highlighted Option to UEFI Firmware

Hi All,

I've been using for Systemd-boot for a few years now, and have never come across this issue before. I have 3 boot entries under Systemd-boot: Arch Linux, Windows Boot Manager, and Reboot into UEFI Firmware. All of these options still appear when I boot my PC into Linux Boot Manager, but now Reboot into UEFI Firmware is the default option every time instead of Arch, and I have to manually select and boot into Arch using the arrow keys. I first tried re-installing with "bootctl install", which didn't make a difference. I also made adjustments to the loader.conf file to change the default option to Arch, which did not resolve the issue. I listed the contents of loader.conf below. Any help is greatly appreciated, thanks.

default  arch-linux.conf
timeout  8
console-mode max

Last edited by burga (2025-01-11 06:37:25)

Offline

#2 2025-01-08 08:43:40

Nyctfall
Member
Registered: 2023-04-03
Posts: 45

Re: [SOLVED] Systemd-boot Defaulting Highlighted Option to UEFI Firmware

See: https://bbs.archlinux.org/viewtopic.php … 6#p2217946

Also provide output for:

# efibootmgr --unicode

And:

# bootctl

Offline

#3 2025-01-08 09:06:08

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

Re: [SOLVED] Systemd-boot Defaulting Highlighted Option to UEFI Firmware

Select Arch in the boot menu and press "d" to set it as the default. Setting the default from the boot menu overrides the configuration file setting. See `man sd-boot` for more on this.


Para todos todo, para nosotros nada

Offline

#4 2025-01-11 06:34:35

burga
Member
Registered: 2022-06-18
Posts: 6

Re: [SOLVED] Systemd-boot Defaulting Highlighted Option to UEFI Firmware

Nyctfall wrote:

See: https://bbs.archlinux.org/viewtopic.php … 6#p2217946

Also provide output for:

# efibootmgr --unicode

And:

# bootctl

efibootmgr --unicode:

BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0001,0000
Boot0000* Windows Boot Manager  HD(1,GPT,20e775a7-3792-4c4f-aa5a-da465144ed51,0x800,0xff800)/\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI䥗䑎坏S
Boot0001* Linux Boot Manager    HD(1,GPT,20e775a7-3792-4c4f-aa5a-da465144ed51,0x800,0xff800)/\EFI\SYSTEMD\SYSTEMD-BOOTX64.EFI

bootctl:

System:
      Firmware: UEFI 2.70 (American Megatrends 5.17)
 Firmware Arch: x64
   Secure Boot: enabled (user)
  TPM2 Support: yes
  Measured UKI: no
  Boot into FW: supported

Current Boot Loader:
      Product: systemd-boot 257.2-1-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
               ✓ Support Type #1 sort-key field
               ✓ Support @saved pseudo-entry
               ✓ Support Type #1 devicetree field
               ✓ Enroll SecureBoot keys
               ✓ Retain SHIM protocols
               ✓ Menu can be disabled
               ✓ Multi-Profile UKIs are supported
               ✓ Boot loader set ESP information
Current Entry: 2022-06-26_16-45-13_linux.conf
Default Entry: 2022-06-26_16-45-13_linux.conf
    Partition: /dev/disk/by-partuuid/20e775a7-3792-4c4f-aa5a-da465144ed51
       Loader: └─/EFI/SYSTEMD/SYSTEMD-BOOTX64.EFI

Random Seed:
 System Token: set
       Exists: yes

Available Boot Loaders on ESP:
          ESP: /boot (/dev/disk/by-partuuid/20e775a7-3792-4c4f-aa5a-da465144ed51)
         File: ├─/EFI/systemd/PreLoader.efi
               ├─/EFI/systemd/HashTool.efi
               ├─/EFI/systemd/systemd-bootx64.efi (systemd-boot 257.2-1-arch)
               ├─/EFI/systemd/loader.efi (systemd-boot 251.2-1-arch)
               └─/EFI/BOOT/BOOTX64.EFI (systemd-boot 257.2-1-arch)

Boot Loaders Listed in EFI Variables:
        Title: Linux Boot Manager
           ID: 0x0001
       Status: active, boot-order
    Partition: /dev/disk/by-partuuid/20e775a7-3792-4c4f-aa5a-da465144ed51
         File: └─/EFI/SYSTEMD/SYSTEMD-BOOTX64.EFI

        Title: Windows Boot Manager
           ID: 0x0000
       Status: active, boot-order
    Partition: /dev/disk/by-partuuid/20e775a7-3792-4c4f-aa5a-da465144ed51
         File: └─/EFI/MICROSOFT/BOOT/BOOTMGFW.EFI

Boot Loader Entries:
        $BOOT: /boot (/dev/disk/by-partuuid/20e775a7-3792-4c4f-aa5a-da465144ed51)
        token: arch

Default Boot Loader Entry:
         type: Boot Loader Specification Type #1 (.conf)
        title: Arch Linux (linux)
           id: 2022-06-26_16-45-13_linux.conf
       source: /boot//loader/entries/2022-06-26_16-45-13_linux.conf (on the EFI System Partit>
        linux: /boot//vmlinuz-linux
       initrd: /boot//amd-ucode.img
               /boot//initramfs-linux.img
      options: root=PARTUUID=d40e79fc-ae7c-4470-9058-2c22ff1c7d3b zswap.enabled=0 rootflags=s

Offline

#5 2025-01-11 06:36:17

burga
Member
Registered: 2022-06-18
Posts: 6

Re: [SOLVED] Systemd-boot Defaulting Highlighted Option to UEFI Firmware

Head_on_a_Stick wrote:

Select Arch in the boot menu and press "d" to set it as the default. Setting the default from the boot menu overrides the configuration file setting. See `man sd-boot` for more on this.

You are amazing. I guarantee you I must've accidentally tapped the d key during boot at some point, which caused UEFI to be the default option.
I just pressed D on Arch during boot and it now highlights it as the default option upon startup. Thank you for helping me resolve the issue!

Offline

Board footer

Powered by FluxBB