It’s not complicated. Read the documentation above - It explains how to regenerate the initramfs when you have the ability to do so. You simply have to go into rescue mode or into any bootable Rocky Linux 9 environment (boot or DVD iso are most common) and run the commands.
There really isn’t and this is a common pitfall. This is why you need to go into rescue mode and regenerate the initramfs yourself.
If you have a rescue mode option in your grub menu
Select the rescue option.
If it successfully boots, you should be able to login.
Login, open a terminal, become root and head to the /boot directory. Determine the latest kernel that you had installed.
In my case, the latest kernel is 5.14.0-611.20.1.el9_7. So I’ll take a backup of it.

Now I’ll run dracut to regenerate the initramfs. Since I identified my kernel already, the command is: dracut -f <initramfs_file> <kernel_version>

And that’s it. Reboot the system and verify that your system now comes up.
If you cannot get the grub menu and have an ISO
Boot the iso from a bootable media (USB for example). It can be the boot.iso, DVD, or any Rocky Linux 9 live image. I’ll use the boot.iso as an example.
Boot the iso and select troubleshooting, select rescue a rocky linux system.
It will tell you it will attempt to find your installation. Press 1 to continue. It will give you a shell once it says everything is mounted in /mnt/sysroot
chroot into your system, identify your latest kernel, back it up, and regenerate. Exit the chroot and then reboot.
% chroot /mnt/sysroot
% cd /boot
% ls
. . .
% cp initramfs-5.14.0-611.20.1.el9_7.aarch64.img initramfs-5.14.0-611.20.1.el9_7.aarch64.img.backup
% dracut -f initramfs-5.14.0-611.20.1.el9_7.aarch64.img 5.14.0-611.20.1.el9_7.aarch64
% exit
% reboot