Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-35536

Could not get default kernel with grubby

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Undefined Undefined
    • None
    • rhel-9.5
    • grubby
    • None
    • None
    • None
    • rhel-sst-desktop-firmware-bootloaders
    • ssg_display
    • 1
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

      What were you trying to do that didn't work?

      Please provide the package NVR for which bug is seen:

      How reproducible:

      Steps to reproduce

      1. grubby --default-kernel
      2.  
      3.  

      Expected results

      Actual results

       

      use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins sh ./runtest.sh
      [  03:01:18  ] :: [  LOG  ] :: ----------------------------------
      [  03:01:18  ] :: [  LOG  ] :: Mon May  6 03:01:18 AM EDT 2024
      [  03:01:18  ] :: [  LOG  ] :: ----------------------------------
      [  03:01:18  ] :: [  LOG  ] :: kernel: 5.14.0-443.el9.x86_64
      [  03:01:18  ] :: [  LOG  ] :: ----------------------------------
      [  03:01:18  ] :: [  RUN  ] :: rpm -q kexec-tools dracut systemd selinux-policy
      kexec-tools-2.0.27-8.el9.x86_64
      dracut-057-53.git20240104.el9.x86_64
      systemd-252-32.el9_4.x86_64
      selinux-policy-38.1.36-1.el9.noarch
      /boot is a mountpoint
      [  03:01:18  ] :: [  RUN  ] :: ls /boot/loader/entries
      245570c61a7b4d068c8e1437c3cecac6-0-rescue.conf
      245570c61a7b4d068c8e1437c3cecac6-5.14.0-443.el9.x86_64.conf
      [  03:01:18  ] :: [  LOG  ] :: $(grubby --default-kernel) return empty, trying to re-create /boot/loader/entires/*
      [  03:01:18  ] :: [  RUN  ] :: kernel-install add 5.14.0-443.el9.x86_64 /lib/modules/5.14.0-443.el9.x86_64/vmlinuz
      grubby fatal error: unable to find a suitable template
      grubby fatal error: unable to find a suitable template
      

      https://beaker.engineering.redhat.com/recipes/16074935#task177286287

              bootloader-eng-team bootloader -eng-team
              guazhang@redhat.com Guangwu Zhang
              bootloader -eng-team bootloader -eng-team
              Release Test Team Release Test Team
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: