Originally from: wmutschl/mutschler.eu#13 (comment)
- Create a LUKS partition for swap with the same password as cryptdata:
cryptsetup luksFormat /dev/nvme0n1p4
Ensure swap partition shows as linux-swap in gparted. If not, open gparted and decrypt the swap drive and then reformat as swap again.