Kickstart problems with PXE boot in EFI mode - Rocky 9.3

I’m having a problem with kickstarting a VM with Rocky 9.3 In EFI mode, I get a “Failed to start Load Kernel Modules” error. The installation cannot continue. In BIOS mode it works fine.

It would be helpful to know how you setup your PXE menus (e.g. kernel lines and so on), what kernels you used, and so on.

For example, are you using grub2 to set it up? Did you use the vmlinuz and initrd.img from the DVD or the site? These are things that would be helpful to help troubleshoot your issue.

I am using the initrd from

The particular menu entry for EFI is (With GRUB2)

                menuentry 'Rocky Linux 9 without LVM' --class fedora --class gnu-linux --class gnu --class os {
                        linuxefi /kickstart/Rocky/vmlinuz8 inst.ks=http://kamino/cgi-bin/\&major=9\&partscheme=nolvm\&boot=uefi
                        initrdefi /kickstart/Rocky/initrd9.img

And for BIOS (With PXELinux)

label Rocky Linux 9.x without LVM 
        kernel /kickstart/Rocky/vmlinuz9
        ipappend 2
        append initrd=/kickstart/Rocky/initrd9.img inst.ks=http://kamino/cgi-bin/

This had worked previously with 9.2. I have checked the md5sums of the vmlinuz and initrd to ensure they’re not corrupt.