"ERROR: Could not statfs" during Fedora Workstation installation

Hello!

I’m trying to install Fedora Workstation 35 but I ran into a problem. There’s already a different distro on my machine and thus I want to delete all existing file system: Configuration

However, after clicking on ‘Begin Installation’, the wizard freezes at ‘Configuring storage’. After a few minutes I get the following error:

anaconda 35.22.2 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.10/site-packages/dasbus/client/handler.py", line 497, in _handle_method_error
    raise exception from None
  File "/usr/lib/python3.10/site-packages/dasbus/client/handler.py", line 477, in _get_method_reply
    return self._handle_method_error(error)
  File "/usr/lib/python3.10/site-packages/dasbus/client/handler.py", line 444, in _call_method
    return self._get_method_reply(
  File "/usr/lib64/python3.10/site-packages/pyanaconda/modules/common/task/__init__.py", line 46, in sync_run_task
    task_proxy.Finish()
  File "/usr/lib64/python3.10/site-packages/pyanaconda/installation_tasks.py", line 527, in run_task
    sync_run_task(self._task_proxy)
  File "/usr/lib64/python3.10/site-packages/pyanaconda/installation_tasks.py", line 496, in start
    self.run_task()
  File "/usr/lib64/python3.10/site-packages/pyanaconda/installation_tasks.py", line 311, in start
    item.start()
  File "/usr/lib64/python3.10/site-packages/pyanaconda/installation_tasks.py", line 311, in start
    item.start()
  File "/usr/lib64/python3.10/site-packages/pyanaconda/installation_tasks.py", line 311, in start
    item.start()
  File "/usr/lib64/python3.10/site-packages/pyanaconda/installation.py", line 415, in run_installation
    queue.start()
  File "/usr/lib64/python3.10/threading.py", line 946, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.10/site-packages/pyanaconda/threading.py", line 275, in run
    threading.Thread.run(self)
dasbus.error.DBusError: Process reported exit code 1: ERROR: Could not statfs: No such file or directory

Do you guys have any suggestions on how to fix this?

Thanks!

2 Likes

You can wipe your disk beforehand from the terminal:

# List block devices
lsblk

# Wipe partition table
sudo parted /dev/sda mklabel gpt

# Wipe all data
sudo dd if=/dev/zero of=/dev/sda bs=1M

Then reboot and proceed with the Fedora installer.

3 Likes

Worked perfectly! Thank you.

1 Like

I was about to lose my mind with this error. Both Workstation and Silverblue were giving the same error. Thanks for the solution.

1 Like