From Fedora Project Wiki
- Do a full system update and reboot
- Install the latest version of
dnf-plugin-system-upgrade
from the stable or updates repository - Start the upgrade prep by executing:
sudo dnf system-upgrade download --releasever=<version>
- <version> is the version of Fedora you are upgrading to (currently 42)
- If you need to use a local mirror to test a brand new change, you can enable it as normal, e.g.:
sudo dnf system-upgrade download --releasever=<version> --enablerepo=<name>
- To aid debugging, run this command to enable a root shell on VT9 during the upgrade boot:
sudo systemctl add-wants system-update.target debug-shell.service
- If
dnf system-upgrade download
has completed without error, run:sudo dnf system-upgrade reboot
- Once the system reboots, the system should boot into the upgrade process and a fedup progress screen should be displayed
- Pressing Esc should switch from the graphical progress screen to the text progress information display
- Once the upgrade process has completed, the system should reboot and an option to boot the new release should be on the grub menu
- Log in to the upgraded system, open a terminal, file browser, or other system applications