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

RFE: UEFI: add the possibility to install the system but not prioritize it for booting

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhel-9.5
    • anaconda
    • None
    • No
    • None
    • rhel-sst-installer
    • ssg_front_door
    • None
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • None
    • None
    • Unspecified Release Note Type - Unknown
    • None

      Description of problem:

      Morgan Stanley would like to install systems but keep the boot order intact.
      Currently this is not possible without a %post script changing the boot order back to previous order, because efibootmgr command is hardcoded in pyanaconda/modules/storage/bootloader/efi.py:
      -------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
      64 def _add_single_efi_boot_target(self, partition):
      65 boot_disk = partition.disk
      66 boot_part_num = str(partition.parted_partition.number)
      67
      68 rc = self.efibootmgr(
      69 "c", "-w", "-L", productName.split("")[0], # pylint: disable=no-member
      70 "-d", boot_disk.path, "-p", boot_part_num,
      71 "-l", self.efi_dir_as_efifs_dir + self._efi_binary, # pylint: disable=no-member
      72 root=conf.target.system_root
      73 )
      -------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------

      They propose a new option "inst.bootorder.last".
      Note that KS "bootloader --leavebootorder" may be an option as well but currently it doesn't work for UEFI.

      The idea behind this is they want to keep Network booting first.

      Version-Release number of selected component (if applicable):

      All

      How reproducible:

      N/A

      Additional info:

      It's possible using "efibootmgr -c ... -I -1" would achieve this but I didn't test if using "-1" is supported or not as boot order.

              anaconda-maint-list anaconda-maint-list
              rhn-support-rmetrich Renaud Métrich
              anaconda-maint-list anaconda-maint-list
              RH Bugzilla Integration RH Bugzilla Integration
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: