What did you try so far?
Be sure to add the resume module, and regenerate the initrds again afterward.
See this post for more details regarding the setup required:
Instead of this, try using the dracut-rebuild script. https://discovery.endeavouros.com/installation/dracut/