[Bug 42159] Re: If an existing swap partition is marked to be formatted, it gets "corrupted" and unused in the final installed system, because the LiveCD is using it
Githlar
42159 at bugs.launchpad.net
Mon Feb 20 23:58:12 UTC 2012
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.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/42159
Title:
If an existing swap partition is marked to be formatted, it gets
"corrupted" and unused in the final installed system, because the
LiveCD is using it
Status in “ubiquity” package in Ubuntu:
Confirmed
Bug description:
Just installed Dapper using the LiveCD beta2. I already had a swap partition in my system, and the LiveCD automatically used it.
Because of this, when I chose to format this swap partition during installation, this fails, but the instalation continues.
In the final installed system, the swap partition was "mangled" and
couldn't be used.
To fix this, I manually delete and recreate the swap partition.
I've attached my /var/log/installer/syslog file.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/42159/+subscriptions
More information about the foundations-bugs
mailing list