@akwala, I have the same setup (full disk + home folder encryption). I just ran a mkswap on the swap mapped device that fdisk reports providing the UUID that blkid gives, and it seemed to work:
~$ sudo blkid # Grab UUID from here (if not for the swap-mapped partition, then the root-mapped one)
~$ sudo fdisk -l # Grab device path from here
~$ sudo mkswap -U 7e44a598-e057-42ec-9d1d-f0b693467211 /dev/mapper/elementary--vg-swap_1
I then just edited the UUID in the /etc/crypttab file to match and ran swapon which worked (verified in System Monitor). After rebooting, however, it gave me a message about the swap partition not being ready yet, though it worked after waiting for a couple seconds until the device was ready. I didn't want to see the message, so I followed the instructions here (http://askubuntu.com/questions/341979/what-to-do-about-the-disk-drive-for-dev-mapper-cryptswap1-is-not-ready-yet-or) to add the noauto flags to the swap partition in the /etc/crypttab and /etc/fstab files, and then created a /etc/init/cryptswap1.conf file with the following:
start on started mountall
script
/sbin/cryptdisks_start cryptswap1
/sbin/swapon /dev/mapper/cryptswap1
end script
@akwala, I have the same setup (full disk + home folder encryption). I just ran a mkswap on the swap mapped device that fdisk reports providing the UUID that blkid gives, and it seemed to work:
~$ sudo blkid # Grab UUID from here (if not for the swap-mapped partition, then the root-mapped one) e057-42ec- 9d1d-f0b6934672 11 /dev/mapper/ elementary- -vg-swap_ 1
~$ sudo fdisk -l # Grab device path from here
~$ sudo mkswap -U 7e44a598-
I then just edited the UUID in the /etc/crypttab file to match and ran swapon which worked (verified in System Monitor). After rebooting, however, it gave me a message about the swap partition not being ready yet, though it worked after waiting for a couple seconds until the device was ready. I didn't want to see the message, so I followed the instructions here (http:// askubuntu. com/questions/ 341979/ what-to- do-about- the-disk- drive-for- dev-mapper- cryptswap1- is-not- ready-yet- or) to add the noauto flags to the swap partition in the /etc/crypttab and /etc/fstab files, and then created a /etc/init/ cryptswap1. conf file with the following:
start on started mountall cryptdisks_ start cryptswap1 cryptswap1
script
/sbin/
/sbin/swapon /dev/mapper/
end script
This got it working well for me.