3

After some moving of partitions, my Ubuntu Mate still boots, but strangely it asks for a passphrase for the cryptswap1 volume. I don’t enter anything and hit enter and it works. As I understand it, the swap partition only needs a random passphrase on every boot process. But how can I make the prompt disappear and Ubuntu figure out a passphrase without user interaction?

  • Huh? Strange. I personally don't use a cryptswap, but in general: unexpected password prompts are suspicious. You could profit from a full malware check-up... (and even if it yields no results, then you're at least 95% sure that there's no threat) – Byte Commander May 23 '16 at 16:15
  • I still hope there's no confirmed malware "in-the-wild" for ubuntu (please correct me if I'm wrong), but I suspect moving partitions got a new UUID somewhere that's not getting a random password anymore. Going through the steps to set up an encrypted swap should fix it, may just need an entry in crypttab but I'm not 100% on that – Xen2050 May 24 '16 at 15:16
1

Had the same problem with Ubuntu 16.04.3 LTS after removing OEM Windows10 partition. Apparently this has been fixed, but not backported to Xenial. Reinstalling the cryptfs package did the trick for me:

$ sudo apt install ecryptfs-utils --reinstall
$ sudo update-grub
0

I was having the same problem and found this bugreport on launchpad. Its status said "Fix Released". So I just upgraded my Ubuntu (from 16.04 to 16.10) and I was never asked for a cryptswap password anymore.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.