Comment 11 for bug 42159

Revision history for this message
Githlar (githlar-deactivatedaccount) wrote :

I just got a report from somebody on askubuntu.com that may be related to this bug.

The problem:
If you check the "Encrypt home folder" box while installing, for some reason Ubiquity uses the first swap it finds as encrypted swap (and therefore has to "format" it). In his case, he was installing to a USB flash drive and it found the swap on his main installation and corrupted it. Every time he would boot his flash drive it would corrupt his main installation's swap.

The solution:
Because an entry was placed in /etc/crypttab, the swap got re-"formatted" (secure wiped) for use with eCryptfs's encrypted swap. Removing the entry solved the problem and he was able to boot his USB without corrupting his swap space.