Upgrade 40 to 41 btrfs or grub issue

Hello,

Bought the pc late last year, it had Fedora 39, I upgraded it to 40, now upgrading to 41.

The 41 upgrade was 3500+ packages, rebooted, ran update again 200+/- packages, rebooted. The same 200 came back for updates again and again. Started troubleshooting.

I posted about a btrfs issue, Mkfsbtrfs changes drive ID didn’t get a true answer but system seemed fine and still does after adding additional btrfs file systems (not sub vols).

I think the problem is Grub, efi entries, after updating to 41, 41 shows twice (as it should), 40 shows, and 39 as rescue, 39 should not be there, 40 should be rescue now until I make sure all is well, then 41.

Was just going to run grub update, but not willing to lose what is in place without asking here first.

Thanks in advance, zz

Hi ZZ,

I’ll bet those 200 +/- packages are upgrades that can’t be installed due to conflicts … you should see some error massages from dnf that tell you the “why?” … :slight_smile:

1 Like

My guess is that you are using a GUI tool to do the install.
Try this in a terminal sudo dnf update --refresh. If it cannot update it will report errors in the terminal. What do you see?

The 39 rescue image will remain until you manually replace it. Those steps are simple.

  1. sudo rm /boot/initramfs*rescue* /boot/vmlinuz*rescue* to remove the old rescue image.
  2. sudo dnf reinstall kernel* (or sudo dnf upgrade kernel*) to build the new rescue images during the reinstall. You may also wait until the next kernel upgrade and the rescue image would be properly constructed at that time.

The new rescue image will be the same kernel as the latest one installed.

… If you already have the known good kernel installed that you want to use for rescue, you can do this:
1)sudo rm -f /boot/*rescue*
2) sudo /usr/lib/kernel/install.d/51-dracut-rescue.install add “$(uname -r)” /boot “/boot/vmlinuz-$(uname -r)” <==== This is all 1 line

Done

FIXED USER ERROR

Thank you all…

Not GUI… Alacritty for many years, there was a lot of KDE updates, it wiped custom theme just like anything else it doesn’t like. Alacritty was setup to follow system theme, it came back as black and white, didn;t scroll high enough for error messages (usully color coded), broken dependecies. Cleaned up a lot of residual files, got rid of programs. Now only 18 broken dependecies, mostly python, but everything works.

Thank you Jeff and One… tried both with success. Learned something new.
Laptop is Fedora 39 … yes EOL, rescue 34, but not getting KDE 6.

zz

If your rescue kernel is from f34 then you definitely should update it to the version you are currently running – f39. It seems quite possible that older kernel may have issues with the newer fedora software.

Thanks Jeff…

Updated to 39 with above. F39 is end of life, haven’t decided what will take its place, it won’t be kde 6. Yes I know Fedora defaulting to it.