Fedora 41 upgrade / Fedora upgrade GRUB bootloader on BIOS systems

I am performing the optional post upgrade steps after upgrading Fedora 40 to Fedora 41. How do I know if I need to perform the “Update GRUB bootloader on BIOS systems” step?

This is the result I got for finding the device node of the /boot directory:

wiking@fedora:~$ sudo mount | grep "/boot "
/dev/nvme1n1p2 on /boot type ext4 (rw,relatime,seclabel)

So is this what I would type for grub2-install?

sudo grub2-install /dev/nvme1n1p

Added bios, f41, grub

If you just upgraded it is not likely that you need to perform those steps.

What guide are you using for that procedure?

Fedora has moved on from most of those guides and I have seen cases where the post upgrade steps actually broke the system.

You should perform the upgrade then reboot. Do nothing additional unless the boot fails after the upgrade and actions taken at that point should be focused on the symptoms and not a general guide.

I’m using this guide.

I already did the part with rpmconf hitting ‘Y’ a bunch of times,

1 Like

So how would I know if I needed to do what this guide is saying about BIOS and the GRUB bootloader? As of right now, GRUB works fine.

Looks like my system does not use BIOS and therefore does not require any changes to the GRUB bootloader:

wiking@fedora:~$ [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS
UEFI
1 Like

Very few systems ever need anything beyond the initial system-upgrade to be performed. Note that the guide shows all that as Optional post-upgrade tasks.

I interpret that to mean something on the order of do this only if the system needs it and that can only be determined in most cases by using the system after upgrade to identify problems that may exist.

Do a lsblk -fp, for example

/dev/nvme0n1                                                                               
├─/dev/nvme0n1p1 vfat   FAT32 efiboot  3056-3376                                 2G     1% /boot/efi
├─/dev/nvme0n1p2 ext4   1.0   homedisk 2ceb9488-262e-490b-91d9-f9bc93e6275c  188,7G    35% /home
├─/dev/nvme0n1p3 ext4   1.0   rootdisk 56a83e29-1e98-44f6-a33e-8988906ef2a1   50,7G    57% /
└─/dev/nvme0n1p4 swap   1     swapdisk 96621d97-5b40-497f-b0ce-d09430076c0c                [SWAP]

The disk name is in this case /dev/nvme0n1.

Maybe you’re thinking of this section, which is slightly later:

"Resolving post-upgrade issues

Only follow these steps if you encounter problems with your upgraded system."

Those two segments go hand in hand.
One is the [optional but seldom necessary segment] and the following is the [guide to solving identified issues segment]

If you choose to use either of those segments of the guide it is entirely up to you and your perceived needs.

Personally I have never, on any of my systems, seen a need to perform any of those steps.

Each step allows one to diagnose whether there is a problem before trying to fix it. I did notice that I had a bunch of dangling symlinks after the upgrade and it didn’t seem like a bad idea to get rid of them. I also didn’t see a problem with using the .rpmnew files (“maintainer’s version”) where they existed because I have never edited any configuration files anyways. Since I don’t have UEFI instead of BIOS I knew to skip this step here.