On Windows it is possible to use hibernation while not using any swap.
I wonder if this is possible on Linux?
Because on my Debian 11 I find this line in /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="... resume=/dev/mapper/luks-4205519b-f3fe-468f-b05e-44f25f6882a4"
As you can see the "resume=" option specifies the swap partition which is used for hibernation.
Now if I delete this swap partition (to disabe swap), what am I gonna write into /etc/default/grub?
Is it possible to use a hibernate file as on Windows?
Because I have 32GB RAM and if I use a 32GB swap partition only for hibernation it's a waste of space.