Default boot entry is broken

Running bootctl on Fedora 41, i’m getting the following output:

Random Seed:
 System Token: not set
       Exists: no

Available Boot Loaders on ESP:
          ESP: /boot/efi (/dev/disk/by-partuuid/46c26c76-d1fa-464a-aaad-0c64d04d6450)
         File: ├─/EFI/BOOT/BOOTIA32.EFI
               ├─/EFI/BOOT/BOOTX64.EFI
               ├─/EFI/BOOT/fbia32.efi
               └─/EFI/BOOT/fbx64.efi

Boot Loaders Listed in EFI Variables:
        Title: Windows Boot Manager
           ID: 0x0000
       Status: active, boot-order
    Partition: /dev/disk/by-partuuid/46c26c76-d1fa-464a-aaad-0c64d04d6450
         File: └─/EFI/Microsoft/Boot/bootmgfw.efi

        Title: 
           ID: 0xFFFF
       Status: active
    Partition: /dev/disk/by-partuuid/88b4e220-5548-45fb-8a20-a64830e2115f
         File: └─/System/Library/CoreServices/boot.efi

Boot Loader Entries:
        $BOOT: /boot (/dev/disk/by-partuuid/29aad75b-f22c-423a-a4ce-d0edbc6e3368)
        token: fedora

Default Boot Loader Entry:
         type: Boot Loader Specification Type #1 (.conf)
        title: Fedora Linux (6.11.5-300.fc41.x86_64) 41 (Workstation Edition)
           id: 8e47278b4f1c4ba5959a9c1c190a3333-6.11.5-300.fc41.x86_64.conf
       source: /boot//loader/entries/8e47278b4f1c4ba5959a9c1c190a3333-6.11.5-300.fc41.x86_64.conf
      version: 6.11.5-300.fc41.x86_64
        linux: /boot//vmlinuz-6.11.5-300.fc41.x86_64

 initrd: /boot//initramfs-6.11.5-300.fc41.x86_64.img $tuned_initrd (No such file or directory)

options: root=UUID=e0cf603c-cbd1-44e3-95a8-a0e1a8ceb8e2 ro rhgb quiet modprobe.blacklist=amdgpu $tuned_params

WARNING: default boot entry is broken

I was trying to diagnose slow boot and slow wake up from suspend when I came across this.

Here’s the contents of /boot

ls /boot/
config-6.11.4-300.fc41.x86_64                            initramfs-6.11.4-301.fc41.x86_64.img  System.map-6.11.4-300.fc41.x86_64
config-6.11.4-301.fc41.x86_64                            initramfs-6.11.5-300.fc41.x86_64.img  System.map-6.11.4-301.fc41.x86_64
config-6.11.5-300.fc41.x86_64                            loader                                System.map-6.11.5-300.fc41.x86_64
efi                                                      lost+found                            vmlinuz-0-rescue-8e47278b4f1c4ba5959a9c1c190a3333
grub2                                                    symvers-6.11.4-300.fc41.x86_64.xz     vmlinuz-6.11.4-300.fc41.x86_64
initramfs-0-rescue-8e47278b4f1c4ba5959a9c1c190a3333.img  symvers-6.11.4-301.fc41.x86_64.xz     vmlinuz-6.11.4-301.fc41.x86_64
initramfs-6.11.4-300.fc41.x86_64.img                     symvers-6.11.5-300.fc41.x86_64.xz     vmlinuz-6.11.5-300.fc41.x86_64
1 Like

I think this is spurious. I also see the same message.

As for the slow boot and wakeup: if you remove rhgb quiet you can see the messages while the system is booting. On this 5-years old laptop, there was a 45 sec. delay related to TPM support. You haven’t shown the relevant section from bootctl or mentioned any hardware details.

Slow startup issues may not be specific to Fedora – systemctl mask dev-tpmrm0.device or maybe you need sudo systemctl mask tpm2.target.

Probably bootctl doesn’t understand this “$tuned_params”

options: root=UUID=e0cf603c-cbd1-44e3-95a8-a0e1a8ceb8e2 ro rhgb quiet modprobe.blacklist=amdgpu $tuned_params
                                                                                                ^^^^^^^^^^^^^

But grub2 does understand it, and if the system still boots, there should be no problem.

2 Likes

Added boot, bootctl, f41, grub, tuned, uefi

@vekruse, I see the same:

RokeJulianLockhart@Beedell:~$ sudo bootctl
[sudo] password for RokeJulianLockhart: 
systemd-boot not installed in ESP.
/boot/loader/entries/427143abd98046a4b2c750e2ca0036ea-6.15.6-200.fc42.x86_64.conf:6: Unknown line 'grub_users', ignoring.
/boot/loader/entries/427143abd98046a4b2c750e2ca0036ea-6.15.6-200.fc42.x86_64.conf:7: Unknown line 'grub_arg', ignoring.
/boot/loader/entries/427143abd98046a4b2c750e2ca0036ea-6.15.6-200.fc42.x86_64.conf:8: Unknown line 'grub_class', ignoring.
/boot/loader/entries/427143abd98046a4b2c750e2ca0036ea-0-rescue.conf:6: Unknown line 'grub_users', ignoring.
/boot/loader/entries/427143abd98046a4b2c750e2ca0036ea-0-rescue.conf:7: Unknown line 'grub_arg', ignoring.
/boot/loader/entries/427143abd98046a4b2c750e2ca0036ea-0-rescue.conf:8: Unknown line 'grub_class', ignoring.
/boot/loader/entries/427143abd98046a4b2c750e2ca0036ea-6.15.8-200.fc42.x86_64.conf:6: Unknown line 'grub_users', ignoring.
/boot/loader/entries/427143abd98046a4b2c750e2ca0036ea-6.15.8-200.fc42.x86_64.conf:7: Unknown line 'grub_arg', ignoring.
/boot/loader/entries/427143abd98046a4b2c750e2ca0036ea-6.15.8-200.fc42.x86_64.conf:8: Unknown line 'grub_class', ignoring.
/boot/loader/entries/427143abd98046a4b2c750e2ca0036ea-6.15.7-200.fc42.x86_64.conf:6: Unknown line 'grub_users', ignoring.
/boot/loader/entries/427143abd98046a4b2c750e2ca0036ea-6.15.7-200.fc42.x86_64.conf:7: Unknown line 'grub_arg', ignoring.
/boot/loader/entries/427143abd98046a4b2c750e2ca0036ea-6.15.7-200.fc42.x86_64.conf:8: Unknown line 'grub_class', ignoring.
System:
      Firmware: n/a (n/a)
 Firmware Arch: x64
   Secure Boot: enabled (user)
  TPM2 Support: yes
  Measured UKI: no
  Boot into FW: supported

Current Boot Loader:
      Product: GRUB 2.12
     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 partition information
    Partition: /dev/disk/by-partuuid/83b8cbff-0fe4-463b-b992-758435aa7563

Random Seed:
 System Token: not set
       Exists: no

Available Boot Loaders on ESP:
          ESP: /boot/efi (/dev/disk/by-partuuid/83b8cbff-0fe4-463b-b992-758435aa7563)
         File: ├─/EFI/BOOT/BOOTIA32.EFI
               ├─/EFI/BOOT/BOOTX64.EFI
               ├─/EFI/BOOT/fbia32.efi
               └─/EFI/BOOT/fbx64.efi

Boot Loaders Listed in EFI Variables:
        Title: Fedora
           ID: 0x0000
       Status: active, boot-order
    Partition: /dev/disk/by-partuuid/83b8cbff-0fe4-463b-b992-758435aa7563
         File: └─/EFI/fedora/shim.efi

Boot Loader Entries:
        $BOOT: /boot (/dev/disk/by-partuuid/96fa2601-56be-4a24-ad23-6070523c1d41)
        token: fedora

Default Boot Loader Entry:
         type: Boot Loader Specification Type #1 (.conf)
        title: Fedora Linux (6.15.8-200.fc42.x86_64) 42 (KDE Plasma Desktop Edition)
           id: 427143abd98046a4b2c750e2ca0036ea-6.15.8-200.fc42.x86_64.conf
       source: /boot//loader/entries/427143abd98046a4b2c750e2ca0036ea-6.15.8-200.fc42.x86_64.conf (on the Extended Boot Loader Partition)
      version: 6.15.8-200.fc42.x86_64
        linux: /boot//vmlinuz-6.15.8-200.fc42.x86_64
       initrd: /boot//initramfs-6.15.8-200.fc42.x86_64.img $tuned_initrd (No such file or directory)
      options: root=UUID=0548c378-fdad-49db-9a7b-2e4779892f93 ro rootflags=subvol=root rd.luks.uuid=luks-31b94f4a-915c-47ee-af7a-a7c948b23cf4 rhgb quiet $tuned_params

WARNING: default boot entry is broken

Has anyone filed a bug report? If not, I shall.

I reported BZ2390242.

1 Like