Seems like yo may have done a lot of unnecessary work,
@DanielT16.
You can run an update, just add the following to /etc/dnf/dnf.conf:
exclude=kernel*
Which will skip all kernel updates in dnf.
And if you accidentally run into a problem with any kernel, the previous kernel is still installed, you only need to:
1. Retro the headers back to the appropriate version (see my similar post above for this case)
2. Boot back into the old 5.4 kernel and when it hangs, do the Ctrl-F2 (or is it Opt-F2, whatever) trick to get to non-graphic login screen.
3. Login to that, mount the virtual tools cd, and run the command line .install for Tools.
4. When that's done, reboot back into the old kernel again, but tell grub to set that as the default using
grub2-set-default.
Click to expand...