HI @shine-Diamond-295, welcome to the community.
Careful with this command–you have actually taken down your zram as well (it appears to be missing from your inxi
). You will want to take advantage of zram because it will help keep swap activity off of your swap partition, so the whole partition is available when you need to hibernate.
The zram should come back up on its own after a reboot; you can double-check by running zramctl
.
The module in the configuration file looks correct. The command you have run to rebuild the initramfs is not quite what you want though; dracut defaults to naming the initramfs with the kernel version number:
That image naming convention will not match the kernel that you are booting with. Check ls /boot
and you will see what I mean. The initramfs-6.2.9-zen1-1-zen.img
you made is not going to be used when you are booting the a kernel named vmlinuz-linux-zen
.
You can specify the name you want when rebuilding the initramfs with dracut. In this case you will want to name it initramfs-linux-zen.img
. Or you can rename the image you created so it matches the kernel.
Even simpler than all that would be to use the special script Garuda has for rebuilding the initramfs:
sudo dracut-rebuild
This will automatically rebuild the initramfs with a --hostonly
image and a fallback image for each kernel found in /boot
, and will follow the needed naming convention and overwrite the old images. It also reduce the verbosity of the output, so only error messages are displayed (instead of a message for every single module).
After rebuilding the image, reboot (so you are booted with the updated image) and then test hibernation again.