If you use a third-party kernel module (the most common is the Nvidia closed driver, but this might also apply to some wireless card drivers, VirtualBox, etc), it won’t be rebuilt during a system upgrade to a newer Fedora version. That means your kernel module (and the affected hardware) might not work directly after the system upgrade. In case of Nvidia, that might mean using a slow fallback graphical driver, or even failing to boot to a graphical environment at all.
The attempt to rebuild third-party kernel driver after at the end of the upgrade fails, but it’s not yet clear why.
Bugzilla report: #2011120
The third-party kernel drivers can be easily rebuilt by running this command in your terminal:
sudo depmod -a
Then just reboot and your system should work as expected.
Alternatively, if that didn’t help, you can try these commands:
sudo dnf remove 'kmod-nvidia-*' sudo akmods --force
and reboot again.
Nvidia closed driver
In case of Nvidia, you might not be able to log in and execute the command above. In that case, follow this:
- Keep pressing
Shiftwhen starting your PC, that should cause the GRUB2 bootloader menu to appear.
eto edit the current boot option, find the
linuxefiline, and add
nomodeset plymouth.enable=0at the end of it. Then press
- If the graphics environment doesn’t start, but you see a text console, press
Ctrl+Alt+F2, a clean text login prompt should appear.
- Log in with your user account, and execute the workaround command specified above.
- Reboot your system with
sudo systemctl reboot.
- The next boot should work as expected, the Nvidia closed driver should function again.
You can discuss this issue here.