Post-install encryption failure "ERROR cannot proceed
I recently installed lubuntu 17.10.1. When I attempted to encrypt the home folder during the installation, it wouldn't encrypt it. It kept saying something about 'swap space', the wording was something like "An unsafe swap space has been detected". It wouldn't let me encrypt it.
So I'm attempting to encrypt it after the fact. I'm following the instructions here: https://websiteforstudents.com/encry...-ubuntu-17-10/ I managed to create the octopus account and tried to continue with step 3. But it tells me "ERROR: Cannot proceed". Where it says sudo ecryptfs-migrate-home -u USER in the instructions, I entered octopus instead of USER. It said ERROR Cannot proceed. So I tried it again with my real username. Got the same ERROR message. I have attempted sudo ecryptfs-migrate-home -u USER in both accounts. Searched for an answer to this issue on multiple websites, found a lot of nothing that seems to fit this exact issue, and nothing for the distro I'm using. |
Searching for unsafe swap space has been detected on the internet produces the following:
https://askubuntu.com/questions/3934...space-detected which suggests running Code:
sudo swapoff --all |
Quote:
|
Just a thought, maybe do a fresh install but don't use a separate home partition and let it add the swap, don't pre-partition, just use full gui install everything on the same partition with full disk encryption. Of course that only works if you are single booting it using the entire hard drive.
|
I think a more rational approach might be to use cryptsetup and make /home a luks container. That's how it's done underneath anyway.
|
All times are GMT -5. The time now is 01:45 AM. |