• PervServer@fedinsfw.app
    link
    fedilink
    English
    arrow-up
    7
    ·
    2 days ago

    Nope, I hibernate with a swap file and it’s in a LUKS partition. Although IIRC that whole setup requires me to use systemd boot.

    • redjard@reddthat.com
      link
      fedilink
      arrow-up
      1
      ·
      2 days ago

      I do the same and use ugrd. I think dracut would also work.
      You just set the resume kernel parameter to the decrypted memory device with the swapfile offset.
      As long as the initrd attempts a resume after it decrypted all volumes it’ll work, and the initrd doesn’t even need to understand why and what was resumed from