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

osbuild creates its own version of EFI/redhat/grub.cfg wrapper

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.4
    • osbuild
    • None
    • None
    • Moderate
    • rhel-sst-image-builder
    • ssg_front_door
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • x86_64
    • None

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

      From osbuild-110/stages/org.osbuild.grub2:

      279 # The grub2 redirect configuration template. This is used in case of
      280 # hybrid (uefi + legacy) boot. In this case this configuration, which
      281 # is located in the EFI directory, will redirect to the main grub.cfg
      282 # (GRUB_CFG_TEMPLATE).
      283 # The parameters are:
      284 #   - $root: specifies the path to the grub2 directory relative to
      285 #     to the file-system where the directory is located on
      286 GRUB_REDIRECT_TEMPLATE = """
      287 search --no-floppy --set prefix --file ${root}grub2/grub.cfg
      288 set prefix=($$prefix)${root}grub2
      289 configfile $$prefix/grub.cfg
      290 """

      It should let grub2-common generate this stub file.

      Please see the equivalent bug opened for Anaconda:

      https://issues.redhat.com/browse/RHEL-36187

      Please provide the package NVR for which bug is seen:

      osbuild-110-1.el9.noarch

      Note: on 9.2, the EFI's grub.cfg did not exist in the customer case I'm attaching here.

              osbuilders Osbuilders Bot Account
              rhn-support-cbesson Christophe Besson
              Osbuilders Bot Account Osbuilders Bot Account
              Release Test Team Release Test Team
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: