Hibernation problem

hello to all.
I’m trying to use hibernate in rockey linux.
let me explain the steps:

  1. I created /swap file with dd command more than machine RAM.
  2. when using mkswap command the command print UUID of this.
  3. I added’ resume’ in intramfs.
  4. change grub.cfg in different wayes:
  5. add resume=UUID=... in ‘GRUB_CMDLINE_LINUX’.
  6. add item 1 in ‘GRUB_CMDLINE_DEFAULT’.
  7. add Item 1 + 'resume_offset=…` in ‘GRUB_CMDLINE_LINUX’.
  8. add resume_offset in ‘GRUB_CMDLINE_DEFAULT’.
  9. run grub2-mkcinfig
    but after reboot, and then running systemctl hibernate, machine boot from the first.
    so Itried all those ways by changing resume=UUID with resume=/swapfile but the same results.
    I check the boot log and find the ‘Kernel command line’ didn’t include resume parameter.
    below is my boot log:

kernel: smpboot: Allowing 12 CPUs, 0 hotplug CPUs
kernel: PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff]
kernel: PM: hibernation: Registered nosave memory: [mem 0x0009e000-0x0009efff]
kernel: PM: hibernation: Registered nosave memory: [mem 0x000a0000-0x000fffff]
kernel: PM: hibernation: Registered nosave memory: [mem 0x68824000-0x68852fff]
kernel: PM: hibernation: Registered nosave memory: [mem 0x6ba18000-0x6ba18fff]
kernel: PM: hibernation: Registered nosave memory: [mem 0x6d694000-0x71e9cfff]
kernel: PM: hibernation: Registered nosave memory: [mem 0x71e9d000-0x71f75fff]
kernel: PM: hibernation: Registered nosave memory: [mem 0x71f76000-0x72054fff]
kernel: PM: hibernation: Registered nosave memory: [mem 0x72055000-0x727fefff]
kernel: PM: hibernation: Registered nosave memory: [mem 0x72800000-0x78ffffff]
kernel: PM: hibernation: Registered nosave memory: [mem 0x79000000-0x799fffff]
kernel: PM: hibernation: Registered nosave memory: [mem 0x79a00000-0x79bfffff]
kernel: PM: hibernation: Registered nosave memory: [mem 0x79c00000-0x7a3fffff]
kernel: PM: hibernation: Registered nosave memory: [mem 0x7a400000-0x807fffff]
kernel: PM: hibernation: Registered nosave memory: [mem 0x80800000-0xfdffffff]
kernel: PM: hibernation: Registered nosave memory: [mem 0xfe000000-0xfe010fff]
kernel: PM: hibernation: Registered nosave memory: [mem 0xfe011000-0xfebfffff]
kernel: PM: hibernation: Registered nosave memory: [mem 0xfec00000-0xfec00fff]
kernel: PM: hibernation: Registered nosave memory: [mem 0xfec01000-0xfecfffff]
kernel: PM: hibernation: Registered nosave memory: [mem 0xfed00000-0xfed00fff]
kernel: PM: hibernation: Registered nosave memory: [mem 0xfed01000-0xfed1ffff]
kernel: PM: hibernation: Registered nosave memory: [mem 0xfed20000-0xfed7ffff]
kernel: PM: hibernation: Registered nosave memory: [mem 0xfed80000-0xfedfffff]
kernel: PM: hibernation: Registered nosave memory: [mem 0xfee00000-0xfee00fff]
kernel: PM: hibernation: Registered nosave memory: [mem 0xfee01000-0xffffffff]
kernel: [mem 0x80800000-0xfdffffff] available for PCI devices
kernel: Booting paravirtualized kernel on bare hardware
kernel: clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
kernel: setup_percpu: NR_CPUS:8192 nr_cpumask_bits:12 nr_cpu_ids:12 nr_node_ids:1
kernel: percpu: Embedded 62 pages/cpu s217088 r8192 d28672 u262144
kernel: pcpu-alloc: s217088 r8192 d28672 u262144 alloc=1*2097152
kernel: pcpu-alloc: [0] 00 01 02 03 04 05 06 07 [0] 08 09 10 11 – – – –
kernel: Fallback order for Node 0: 0
kernel: Built 1 zonelists, mobility grouping on. Total pages: 6115930
kernel: Policy zone: Normal
kernel: Kernel command line: BOOT_IMAGE=(hd0,gpt2)/vmlinuz-5.14.0-362.13.1.el9_3.x86_64 root=/dev/mapper/fedora-root ro crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M rd.lvm.lv=fedora/root rhgb quiet
kernel: Unknown kernel command line parameters “rhgb BOOT_IMAGE=(hd0,gpt2)/vmlinuz-5.14.0-362.13.1.el9_3.x86_64”, will be passed to user space.