Results 1 to 3 of 3

Thread: Enabling swap within encrypted /home directory

  1. #1
    Join Date
    Nov 2012
    Beans
    5

    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
    Code:
    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)
    cryptswap1
    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
    Beans
    5

    Re: Enabling swap within encrypted /home directory

    bump.. someone should know something, surely?

  3. #3
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    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 info on UEFI boot install & repair - Updated Mar 2015:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







Tags for this Thread

Bookmarks

Posting Permissions

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