You are not logged in.
when I first had the default "udev" in HOOKS I always got error messages at bootup like "cannot stat resume device"
but there is a swap-partition in place, with definitions in /etc/fstab and /etc/default/grub
afterwards I changed to "systemd" in "HOOKS", and now hibernate+resume is working
any ideas why this isn't working with "udev" ?
and is there anything special to consider when using "systemd" in "HOOKS" ?
Offline
Did you forget to configure the resume hook with the udev hook or place it in the wrong order (you probably want it after filesystem)?
Generally speaking the systemd hook makes the initramfs use systemd tehre's nothing that would be inherently wrong about that. Make sure you've seen the considerations in https://wiki.archlinux.org/title/Mkinitcpio#HOOKS -- sometimes, since your initramfs is now dependant on systemd they could get affected by systemd updates (there was one time a couple years ago where a systemd update broke the systemd based initramfs, don't quite remember the details and afaik it hasn't generally happened anymore)
Offline
yes, one of my tests included also resume hook after filesystem (together with the udev hook), and I always got the mentioned error
anyways, I've found the "workaround" with "systemd" in "HOOKS", and hopefully this new config will work for me in the future
Offline