On a Fedora 40 machine (with grub 2.06) the partition I had for /boot was too small.
Rather than trying to mess around with moving and growing partitions I decided to just create a new (extended) partition out of the empty space at the end of the disk. It really is empty space that I did not originally create any more partitions in so it was an easy choice. After having created the new partition and copying the existing boot partition's contents to it and then mounting the new partition on /boot and editing /boot/grub2/grub.cfg to change all of the "msdos5" references to "msdos7" (to reflect the new partition) I went ahead and did a: # grub2-install --root-directory /boot /dev/sda to make GRUB use the new partition. I got one warning when I did that: Installing for i386-pc platform. grub2-install: warning: Sector 32 is already in use by the program `FlexNet'; avoiding it. This software may cause boot or other problems in future. Please ask its authors not to store data in the boot track. Installation finished. No error reported. My understanding is that GRUB knows about this "FlexNet" bit and works around it. Now when I boot this system it says it's starting GRUB and then immediately drops to a GRUB command line with no other errors or messages. At the GRUB prompt it's as easy as running: configfile /grub2/grub.cfg to get the GRUB menu. Note that before doing so, I used "cat /grub2/grub.cfg" to verify that GRUB was indeed using my new partition by noting the references to "msdos7" instead of "msdos5" as it was previously when it was on the previous partition. So given that GRUB works so far as to just need a "configfile /grub2/grub.cfg" at the GRUB menu to start the boot menu, what do I need to do to make that automatic without dropping to the GRUB prompt? Cheers, b.