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

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.

1 Like

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