I am running Ubuntu 14.04.5 LTS and the offset parameter to preserve the
UUID simply does not work for me. A later version of Ubuntu on the same
PC shows there is a PARTUUID for the encrypted swap partition, but this
is not visible in 14.04. The UUID for the cryptswap partition is always
lost after reboot of 14.04.

Reverting back to using a device ID in conjunction with the solution in
Comment #22 works, but I would like to add an additional piece of
helpful information. I have a multi-disk system and periodically the
/dev/sd_ drive IDs re-order themselves. Normally, UUIDs would solve this
problem, but we can't use a UUID in this instance. This post pointed me
in the direction of a solution
etccrypttab-a-workaround-for-gpt-partuuid-support/). Turns out you can
use the /dev/disk/by-id alias for the partition ID in /etc/crypttab, as
these drive IDs are also unique, i.e. drive make, model & serial number.

You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

  Encrypted swap no longer mounted at bootup

To manage notifications about this bug go to:

ubuntu-bugs mailing list

Reply via email to