Fedora Media Writer will not build Fedora Workstation 40

Hi all,

I am having problems writing Fedora Workspace 40 on a new KINGSTON NV2 NVMe SSD 500gb from a 16gb usb stick.

I have tried reformatting the drive several times, and I select the Automatic partitioning when writing image, but the following error always appear:

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

failed to write boot loader configuration

Upon selecting “Yes” i get this error report:

anaconda 40.22.3 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_tasks.py", line 295, in _run
    sync_run_task(self._task_proxy)
  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 203, 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 203, 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 203, 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 552, in _run_installation
    queue.start()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation.py", line 83, 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 1010, 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.TimezoneConfigurationError: Error while writing /etc/adjtime file: Input/output error

Local variables in innermost frame:
self: <dasbus.client.handler.ClientObjectHandler object at 0x7f3b04419d80>
error: g-io-error-quark: GDBus.Error:org.fedoraproject.Anaconda.TimezoneConfigurationError: Error while writing /etc/adjtime file: Input/output error (36)
name: org.fedoraproject.Anaconda.TimezoneConfigurationError
cls: <class 'pyanaconda.modules.common.errors.installation.TimezoneConfigurationError'>
message: Error while writing /etc/adjtime file: Input/output error
exception: Error while writing /etc/adjtime file: Input/output error

pyanaconda.modules.common.errors.installation.TimezoneConfigurationError: Error while writing /etc/adjtime file: Input/output error

Timezone is set to Europe/Oslo.

Installing Fedora Workstation 39 on my HDD worked like a charm. Neither Fedora Workstation 39/40 will work on my NVMe SSD.

Does anyone have a solution to this problem?

Thanks in advance.

Also; the NVMe ssd is in an external enclosure. When it is plugged in, the computer won’t boot, the «Install to Hard Drive» app won’t launch and the computer will not shut down if it is plugged. When it is unplugged, everything seem to work.

This is a Lenovo Yoga 7i 14ITL5 laptop. It boots using EFI.

I don’t know about Live Media Writer but you can write the USB with Gnome Disk.

You should see the USB on the left, then you select it.
On the right, the three dots, select “restore disk image”, then select the image you want to write, commit.

This appears to be an issue with driver for the nvme device. You have provided several times where the system cannot access the device and it seems directly related to the nvme/USB device and not related to the usb device used to boot.

You would need to have both usb devices connected then boot from the live/install media so it loads the drivers for the devices attached.

If that fails then it may be an issue with the nvme device itself. Fedora supports nvme, but if no nvme device is attached when it is installed then the drivers are not loaded during installation.

When creating the install usb device I always download the iso to the local PC, then use fedora media writer to write that iso to the usb device. This allows me to download the iso file and verify it is intact with the checksum available at the download site before I attempt to write to the usb device. I have not had good luck using media writer to download and write the image to the usb device at the same time.

I made it work, but then it suddenly stopped working. I wrote the ISO directly to an USB stick using Disks on an old Fedora install, and booted on the stick with the NVMe connected and formatted the NVMe as GTP. When trying to open “Install to Hard Drive”, it just never opens, until I plug the NVMe out. I have to rescan for disks to make it reappear. It installed correctly and I booted up on the NVMe, after some time the OS crashed, and upon reboot the screen was black, and all I got was “_” in the top left corner.

I tried to reformat the disk, but that times and out crashed, cannot read sda3. Somehow made that work, then trying to install Fedora 40 again, but then this error appeared when install boot loader:

anaconda 40.22.3 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 474, in run_install_bootloader
    sync_run_task(STORAGE.get_proxy(task))
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation_tasks.py", line 261, 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 203, 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 203, 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 203, 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 552, in _run_installation
    queue.start()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation.py", line 83, 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 1010, 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.general.AnacondaError: rpmdb open failed

Local variables in innermost frame:
self: <dasbus.client.handler.ClientObjectHandler object at 0x7fa54cb7a2c0>
error: g-io-error-quark: GDBus.Error:org.fedoraproject.Anaconda.Error: rpmdb open failed (36)
name: org.fedoraproject.Anaconda.Error
cls: <class 'pyanaconda.modules.common.errors.general.AnacondaError'>
message: rpmdb open failed
exception: rpmdb open failed

Tried installing with manual partitioning with the suggested partition scheme. No swap or /var partition.