Bug 2142968 - pyanaconda.modules.common.errors.installation.BootloaderInstallationError: Failed to set new efi boot target. This is most likely a kernel or firmware bug.
Summary: pyanaconda.modules.common.errors.installation.BootloaderInstallationError: Fa...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 37
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:20e02c3879e74325566c00f0a5c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-15 16:34 UTC by Benny Powers
Modified: 2023-02-22 12:11 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---


Attachments (Terms of Use)
File: anaconda-tb (1.58 MB, text/plain)
2022-11-15 16:35 UTC, Benny Powers
no flags Details
File: anaconda.log (21.68 KB, text/plain)
2022-11-15 16:35 UTC, Benny Powers
no flags Details
File: dbus.log (3.60 KB, text/plain)
2022-11-15 16:35 UTC, Benny Powers
no flags Details
File: environ (562 bytes, text/plain)
2022-11-15 16:35 UTC, Benny Powers
no flags Details
File: journalctl (1.17 MB, text/plain)
2022-11-15 16:35 UTC, Benny Powers
no flags Details
File: lsblk_output (4.06 KB, text/plain)
2022-11-15 16:35 UTC, Benny Powers
no flags Details
File: nmcli_dev_list (1.95 KB, text/plain)
2022-11-15 16:35 UTC, Benny Powers
no flags Details
File: os_info (712 bytes, text/plain)
2022-11-15 16:35 UTC, Benny Powers
no flags Details
File: program.log (28.74 KB, text/plain)
2022-11-15 16:35 UTC, Benny Powers
no flags Details
File: storage.log (352.30 KB, text/plain)
2022-11-15 16:35 UTC, Benny Powers
no flags Details

Description Benny Powers 2022-11-15 16:34:55 UTC
Description of problem:
installing fresh onto free space on the main osx boot disk of an iMac fifteen-five

Version-Release number of selected component:
anaconda-core-37.12.6-1.fc37.x86_64

The following was filed automatically by anaconda:
anaconda 37.12.6 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.11/site-packages/dasbus/client/handler.py", line 497, in _handle_method_error
    raise exception from None
  File "/usr/lib/python3.11/site-packages/dasbus/client/handler.py", line 477, in _get_method_reply
    return self._handle_method_error(error)
  File "/usr/lib/python3.11/site-packages/dasbus/client/handler.py", line 444, in _call_method
    return self._get_method_reply(
  File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/common/task/__init__.py", line 46, in sync_run_task
    task_proxy.Finish()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation.py", line 439, in run_install_bootloader
    sync_run_task(STORAGE.get_proxy(task))
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation_tasks.py", line 246, in _run
    self._task_cb(*self._task_args, **self._task_kwargs)
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation_tasks.py", line 75, in start
    self._run()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation_tasks.py", line 188, in _run
    item.start()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation_tasks.py", line 75, in start
    self._run()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation_tasks.py", line 188, in _run
    item.start()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation_tasks.py", line 75, in start
    self._run()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation_tasks.py", line 188, in _run
    item.start()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation_tasks.py", line 75, in start
    self._run()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation.py", line 515, in _run_installation
    queue.start()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation.py", line 80, in run
    self._run_installation(
  File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/common/task/task.py", line 109, in _task_run_callback
    self._set_result(self.run())
  File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/common/task/task.py", line 96, in _thread_run_callback
    self._task_run_callback()
  File "/usr/lib64/python3.11/threading.py", line 975, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.11/site-packages/pyanaconda/threading.py", line 275, in run
    threading.Thread.run(self)
  File "/usr/lib64/python3.11/site-packages/pyanaconda/threading.py", line 166, in raise_if_error
    raise exc_info[1]
  File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/common/task/task.py", line 175, in finish
    threadMgr.raise_if_error(self._thread_name)
  File "/usr/lib64/python3.11/site-packages/pyanaconda/ui/gui/spokes/installation_progress.py", line 75, in _on_installation_done
    self._task.finish()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/core/signal.py", line 41, in emit
    func(obj, *args, **kargs)
  File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/common/task/runnable.py", line 115, in _task_stopped_callback
    self._stopped_signal.emit()
  File "/usr/lib64/python3.11/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:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --graphical
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz root=live:CDLABEL=Fedora-WS-Live-37-1-7 rd.live.image rd.live.check quiet
dnf.librepo.log: 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         6.0.7-301.fc37.x86_64
other involved packages: anaconda-gui-37.12.6-1.fc37.x86_64, python3-libs-3.11.0-1.fc37.x86_64, python3-dasbus-1.6-6.fc37.noarch
product:        Fedora
release:        Fedora release 37 (Thirty Seven)
type:           anaconda
version:        37

Comment 1 Benny Powers 2022-11-15 16:35:03 UTC
Created attachment 1924486 [details]
File: anaconda-tb

Comment 2 Benny Powers 2022-11-15 16:35:04 UTC
Created attachment 1924487 [details]
File: anaconda.log

Comment 3 Benny Powers 2022-11-15 16:35:05 UTC
Created attachment 1924488 [details]
File: dbus.log

Comment 4 Benny Powers 2022-11-15 16:35:07 UTC
Created attachment 1924489 [details]
File: environ

Comment 5 Benny Powers 2022-11-15 16:35:12 UTC
Created attachment 1924490 [details]
File: journalctl

Comment 6 Benny Powers 2022-11-15 16:35:14 UTC
Created attachment 1924491 [details]
File: lsblk_output

Comment 7 Benny Powers 2022-11-15 16:35:15 UTC
Created attachment 1924492 [details]
File: nmcli_dev_list

Comment 8 Benny Powers 2022-11-15 16:35:16 UTC
Created attachment 1924493 [details]
File: os_info

Comment 9 Benny Powers 2022-11-15 16:35:17 UTC
Created attachment 1924494 [details]
File: program.log

Comment 10 Benny Powers 2022-11-15 16:35:20 UTC
Created attachment 1924495 [details]
File: storage.log

Comment 11 J. Conrad 2022-11-22 11:06:27 UTC
Similar problem has been detected:

Device: MacBook Pro 2015 15 inch with SSD

How to reproduce: 

Using aforementioned device, format SSD with Fedora Live USB "Disks" utility to be empty prior to install
Run install with automatic partitioning option
During install, install fails with the "Failed to set new efi boot target" error

Note, that also all other partitioning options were tried with similar effects.

addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --graphical
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz root=live:CDLABEL=Fedora-WS-Live-37-1-7 rd.live.image quiet rhgb
dnf.librepo.log: 
hashmarkername: anaconda
kernel:         6.0.7-301.fc37.x86_64
other involved packages: anaconda-gui-37.12.6-1.fc37.x86_64, python3-libs-3.11.0-1.fc37.x86_64, python3-dasbus-1.6-6.fc37.noarch
package:        anaconda-core-37.12.6-1.fc37.x86_64
packaging.log:  
product:        Fedora
reason:         pyanaconda.modules.common.errors.installation.BootloaderInstallationError: Failed to set new efi boot target. This is most likely a kernel or firmware bug.
release:        Fedora release 37 (Thirty Seven)
version:        37

Comment 12 Tim Elliott 2022-11-23 00:06:45 UTC
Similar problem has been detected:

Running the installer on an iMac 13,1 on a freshly formatted and unpartitioned hard disk.

addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --graphical
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz root=live:CDLABEL=Fedora-WS-Live-37-1-7 rd.live.image quiet rhgb
dnf.librepo.log: 
hashmarkername: anaconda
kernel:         6.0.7-301.fc37.x86_64
other involved packages: python3-libs-3.11.0-1.fc37.x86_64, anaconda-gui-37.12.6-1.fc37.x86_64, python3-dasbus-1.6-6.fc37.noarch
package:        anaconda-core-37.12.6-1.fc37.x86_64
packaging.log:  
product:        Fedora
reason:         pyanaconda.modules.common.errors.installation.BootloaderInstallationError: Failed to set new efi boot target. This is most likely a kernel or firmware bug.
release:        Fedora release 37 (Thirty Seven)
version:        37

Comment 13 j.abainza 2023-01-06 03:52:27 UTC
Similar problem has been detected:

Trying to install Fedora Workstation 37 on a MacBook Air 11-inch, mid-2012 (8GB RAM, 60GB SSD, model: MacBookAir5,1).

Booting from USB worked. But install failed with error "failed to set new efi boot target". I chose to delete all existing partitions, encrypt the drive, and use auto partitioning.

This MacBook Air used to have chromeOS Flex and then Ubuntu 22.10 installed.

Side note: I had to attach a USB Realtek Wi-Fi dongle because the included Broadcom drivers don't really work -- it shows full Wi-Fi signal bars but does not connect to any websites.

This bug report was written from within the live USB session.

Hope this helps.

addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --graphical
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz root=live:CDLABEL=Fedora-WS-Live-37-1-7 rd.live.image quiet rhgb
dnf.librepo.log: 
hashmarkername: anaconda
kernel:         6.0.7-301.fc37.x86_64
other involved packages: python3-dasbus-1.6-6.fc37.noarch, anaconda-gui-37.12.6-1.fc37.x86_64, python3-libs-3.11.0-1.fc37.x86_64
package:        anaconda-core-37.12.6-1.fc37.x86_64
packaging.log:  
product:        Fedora
reason:         pyanaconda.modules.common.errors.installation.BootloaderInstallationError: Failed to set new efi boot target. This is most likely a kernel or firmware bug.
release:        Fedora release 37 (Thirty Seven)
version:        37

Comment 14 Dima Ryazanov 2023-01-30 01:33:26 UTC
Similar problem has been detected:

SSStarrteddd the install, chosee to delete all  existingg partitionss, ennablled encryptioon.


((Sorry abbout   duplicate lettters, but it's barely                              letting me type  at aall.)

addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --graphical
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz root=live:CDLABEL=Fedora-WS-Live-37-1-7 rd.live.image rd.live.check quiet
dnf.librepo.log: 
hashmarkername: anaconda
kernel:         6.0.7-301.fc37.x86_64
other involved packages: python3-dasbus-1.6-6.fc37.noarch, python3-libs-3.11.0-1.fc37.x86_64, anaconda-gui-37.12.6-1.fc37.x86_64
package:        anaconda-core-37.12.6-1.fc37.x86_64
packaging.log:  
product:        Fedora
reason:         pyanaconda.modules.common.errors.installation.BootloaderInstallationError: Failed to set new efi boot target. This is most likely a kernel or firmware bug.
release:        Fedora release 37 (Thirty Seven)
version:        37

Comment 15 René Genz 2023-02-11 00:10:50 UTC
Similar problem has been detected:

- use Fedora 36 netinstall ISO on USB thumb drive (sudo su; cat *iso > /dev/sdb) to install Fedora Workstation 36 on this computer (Apple MacBook, 13-inch, Aluminium, late 2008)
- F36 installation had no issue
- broke F36 with non-free nvidia-340 driver from rpmfusion (kernel crash at start); description said Nvidia does not support it anymore; tested that driver because the Nvidia 9400M GPU with nouveau driver cannot properly display image on external screen (1920x1080 px, 60 Hz), i.e. solid blue color rising from bottom to top, then F36 background image shown properly, then solid color area rises again
- absent minded I put computer to sleep, remove F36 hard disk, put Mac OS X 10.11 hard disk in and woke computer; to realize and notice my mistake of missing poweroff before hard disk swap; F36 crashed
- I restarted notebook to Mac OS X; external screen display hardware: no problem
- power down computer and remove Mac hard disk
- delete F36 hard disk (dd if=/dev/zero of=/dev/sdb) and put it back in
- reset USB thumb drive to Fedora 37 netinstall ISO (sudo su; cat *iso > /dev/sdb)
- install Fedora Workstation 37
- download and installation of F37 packages went without problem, but in finish task section out of a sudden error message appeared stating that bootloader could not be written or something like that

addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora-E-dvd-x86_64-37 rd.live.check quiet
hashmarkername: anaconda
kernel:         6.0.7-301.fc37.x86_64
package:        anaconda-37.12.6
product:        Fedora
reason:         pyanaconda.modules.common.errors.installation.BootloaderInstallationError: Failed to set new efi boot target. This is most likely a kernel or firmware bug.
release:        Fedora release 37 (Thirty Seven)
version:        37

Comment 16 René Genz 2023-02-13 22:21:51 UTC
> ... Nvidia 9400M GPU with nouveau driver cannot properly
> display image on external screen (1920x1080 px, 60 Hz), i.e. solid blue
> color rising from bottom to top, then F36 background image shown properly,
> then solid color area rises again

The "solid blue color" does change its color, depending on the background image. Following this:
https://nouveau.freedesktop.org/TroubleShooting.html#index8h3
https://nouveau.freedesktop.org/ => /sys/kernel/debug/dri/0/pstate
I could change to a rather stable image on external screen, but sometimes areas flash.

Comment 17 Kamil Páral 2023-02-22 12:11:18 UTC
As a quick update, this problem seems resolved in F38 development version (Fedora-Workstation-Live-x86_64-38-20230220.n.0.iso).


Note You need to log in before you can comment on or make changes to this bug.