Bug 2243144

Summary: [Fedora 39 ISO] pyanaconda.modules.common.errors.installation.BootloaderInstallationError: Failed to set new efi boot target. This is most likely a kernel or firmware bug.
Product: [Fedora] Fedora Reporter: Osama Albahrani <osalbahr>
Component: anacondaAssignee: anaconda-maint
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 39CC: anaconda-maint, awilliam, bugzilla, k.koukiou, osalbahr, vslavik, w
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:dfc298ff5b6f22558a84bbb50b1aee67044c4738aea10d4e8c119c89d0eba623;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-10-17 16:05:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: anaconda-tb
none
File: backtrace
none
File: os_info
none
File: environ
none
File: journalctl
none
File: description
none
File: storage.log
none
File: packaging.log
none
File: program.log
none
File: nmcli_dev_list
none
File: anaconda.log
none
File: lsblk_output
none
File: dbus.log
none
File: packaging.log none

Description Osama Albahrani 2023-10-10 23:37:42 UTC
Description of problem:
1. Follow https://fedoraproject.org/wiki/QA:Testcase_dualboot_with_macOS to create a 40 GB partition
2. Install Fedora 39 Beta ISO using Fedora Media Writer on a USB
3. Boot into the live installer
4. Install into the newly created parition

Note: I have used Fedora 38 Silverblue in the past with this method just fine

Version-Release number of selected component:
anaconda-core-39.32.2-1.fc39.x86_64


The following was filed automatically by anaconda:
anaconda 39.32.2 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 509, in _handle_method_error
    raise exception from None
  File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 483, in _get_method_reply
    return self._handle_method_error(error)
  File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 450, in _call_method
    return self._get_method_reply(
  File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/__init__.py", line 46, in sync_run_task
    task_proxy.Finish()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation.py", line 439, in run_install_bootloader
    sync_run_task(STORAGE.get_proxy(task))
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 246, in _run
    self._task_cb(*self._task_args, **self._task_kwargs)
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 75, in start
    self._run()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 188, in _run
    item.start()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 75, in start
    self._run()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 188, in _run
    item.start()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 75, in start
    self._run()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 188, in _run
    item.start()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 75, in start
    self._run()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation.py", line 515, in _run_installation
    queue.start()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation.py", line 80, in run
    self._run_installation(
  File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/task.py", line 107, in _task_run_callback
    self._set_result(self.run())
  File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/task.py", line 94, in _thread_run_callback
    self._task_run_callback()
  File "/usr/lib64/python3.12/threading.py", line 989, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.12/site-packages/pyanaconda/core/threads.py", line 280, in run
    threading.Thread.run(self)
  File "/usr/lib64/python3.12/site-packages/pyanaconda/core/threads.py", line 171, in raise_if_error
    raise exc_info[1]
  File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/task.py", line 173, in finish
    thread_manager.raise_if_error(self._thread_name)
  File "/usr/lib64/python3.12/site-packages/pyanaconda/ui/gui/spokes/installation_progress.py", line 75, in _on_installation_done
    self._task.finish()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/core/signal.py", line 41, in emit
    func(obj, *args, **kargs)
  File "/usr/lib64/python3.12/site-packages/pyanaconda/modules/common/task/runnable.py", line 115, in _task_stopped_callback
    self._stopped_signal.emit()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/core/async_utils.py", line 68, in _idle_method
    func(*args, **kwargs)
pyanaconda.modules.common.errors.installation.BootloaderInstallationError: Failed to set new efi boot target. This is most likely a kernel or firmware bug.

Additional info:
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --graphical
executable:     /sbin/anaconda
hashmarkername: anaconda
product:        Fedora
package:        anaconda-core-39.32.2-1.fc39.x86_64
reason:         pyanaconda.modules.common.errors.installation.BootloaderInstallationError: Failed to set new efi boot target. This is most likely a kernel or firmware bug.
release_type:   pre-release
type:           anaconda
release:        Fedora release 39 (Thirty Nine)
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz root=live:CDLABEL=Fedora-WS-Live-39_B-1-1 rd.live.image rd.live.check quiet
addons:         com_redhat_kdump
kernel:         6.5.2-301.fc39.x86_64
version:        39
other involved packages: python3-dasbus-1.7-4.fc39.noarch, anaconda-gui-39.32.2-1.fc39.x86_64, python3-libs-3.12.0~rc1-1.fc39.x86_64

Comment 1 Osama Albahrani 2023-10-10 23:37:45 UTC
Created attachment 1993364 [details]
File: anaconda-tb

Comment 2 Osama Albahrani 2023-10-10 23:37:46 UTC
Created attachment 1993365 [details]
File: backtrace

Comment 3 Osama Albahrani 2023-10-10 23:37:48 UTC
Created attachment 1993366 [details]
File: os_info

Comment 4 Osama Albahrani 2023-10-10 23:37:50 UTC
Created attachment 1993367 [details]
File: environ

Comment 5 Osama Albahrani 2023-10-10 23:37:52 UTC
Created attachment 1993368 [details]
File: journalctl

Comment 6 Osama Albahrani 2023-10-10 23:37:54 UTC
Created attachment 1993369 [details]
File: description

Comment 7 Osama Albahrani 2023-10-10 23:37:55 UTC
Created attachment 1993370 [details]
File: storage.log

Comment 8 Osama Albahrani 2023-10-10 23:37:57 UTC
Created attachment 1993371 [details]
File: packaging.log

Comment 9 Osama Albahrani 2023-10-10 23:37:59 UTC
Created attachment 1993372 [details]
File: program.log

Comment 10 Osama Albahrani 2023-10-10 23:38:00 UTC
Created attachment 1993373 [details]
File: nmcli_dev_list

Comment 11 Osama Albahrani 2023-10-10 23:38:02 UTC
Created attachment 1993374 [details]
File: anaconda.log

Comment 12 Osama Albahrani 2023-10-10 23:38:04 UTC
Created attachment 1993375 [details]
File: lsblk_output

Comment 13 Osama Albahrani 2023-10-10 23:38:06 UTC
Created attachment 1993376 [details]
File: dbus.log

Comment 14 Osama Albahrani 2023-10-10 23:38:08 UTC
Created attachment 1993377 [details]
File: packaging.log

Comment 15 Osama Albahrani 2023-10-10 23:43:04 UTC
I forgot to mention, but this bugzilla is because I got the following pop-up

The following error occurred while installing the boot loader. The system will not be bootable. Would you like to ignore this and continue with installation?

Failed to set new efi boot target. This is most likely a kernel or firmware bug.

Comment 16 Adam Williamson 2023-10-17 16:02:27 UTC
Can you try with a more recent image just in case this got fixed somehow? Use an F39 nightly from https://openqa.fedoraproject.org/nightlies.html . Thanks!

Comment 17 Adam Williamson 2023-10-17 16:04:13 UTC
This is the problem:

Oct 10 19:30:50 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2766]: INFO:program:Running in chroot '/mnt/sysroot'... efibootmgr
Oct 10 19:30:50 localhost-live org.fedoraproject.Anaconda.Modules.Storage[2766]: INFO:program:EFI variables are not supported on this system.

which sounds familiar. This sounds like it's probably a dupe of https://bugzilla.redhat.com/show_bug.cgi?id=2239316 .

Comment 18 Adam Williamson 2023-10-17 16:05:25 UTC

*** This bug has been marked as a duplicate of bug 2239316 ***