Grub is a bootloader for X86 machines.
The syslinux package contains a loader for floppy images that can be booted
using grub. When both packages are installed, the procedure is quite
straight forward:
grub's root to contain the specific stuffmemdisk binary and the desired floppy image to the above directorygrub's config like so:title Boot some floppy image kernel /dos/memdisk initrd /dos/BOOT.IMG
Edit /etc/default/grub, add:
GRUB_DEFAULT=saved GRUB_SAVEDEFAULT=true
Then recreate grub config:
grub2-mkconfig -o /boot/grub2/grub.cfg
This should do the trick, works at least with a recent Fedora 39.