Results 1 to 3 of 3

Thread: Enabling swap within encrypted /home directory

  1. #1
    Join Date
    Nov 2012

    Exclamation Enabling swap within encrypted /home directory

    Hello guys,

    So everytime I did the setup for a swap partition on a LiveCD and rebooted twice(one to the native install to see if its working and 2nd one to confirm); that partition switched to "unknown" in gparted after the second reboot. I found SwapFAQ and EnableHibernateWithEncryptedSetup and followed both which were incredibly helpful; but while I was doing the second one the passphrase I entered wasn't recognized so I had to start over.

    Now I've finished both successfully but in the last step when I ran
    sudo update-initramfs -u -k all
    I got a warning like this:
    cryptsetup: WARNING: found more than one resume device candidate:
    (the UUID for the swap I entered in my first try)
    So my question is how do I remove that first UUID to prevent any possible conflict? I haven't done a reboot since following the howtos so hopefully there won't be a problem after I'm done. Thanks in advance for any help!
    Last edited by heml0ck; December 29th, 2012 at 09:08 AM. Reason: typo

  2. #2
    Join Date
    Nov 2012

    Re: Enabling swap within encrypted /home directory

    bump.. someone should know something, surely?

  3. #3
    Join Date
    Jun 2009
    SW Forida
    Ubuntu 16.04 Xenial Xerus

    Re: Enabling swap within encrypted /home directory

    Please bump only once per 24 hours.

    Post fstab or make sure you have only one swap entry. When you encrypt /home, swap is also encrypted and when a partition is encrypted gparted and other tools do not see the partition.
    cat /etc/fstab

    Fstab should only have the one entry for the cryptswap. You can add # like other comments, to convert to comment before deleting to make sure you are editing out the entry you do want to remove.
    For more info on UEFI boot install & repair - Regularly Updated :
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts