LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Post-install encryption failure "ERROR cannot proceed (https://www.linuxquestions.org/questions/linux-newbie-8/post-install-encryption-failure-error-cannot-proceed-4175629897/)

mrnice2018 05-17-2018 12:15 PM

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.

hydrurga 05-18-2018 06:18 AM

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
from a terminal before the encryption process.

mrnice2018 05-22-2018 12:15 PM

Quote:

Originally Posted by hydrurga (Post 5856269)
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
from a terminal before the encryption process.

What about after the install? It wasn't allowing me to type anything prior to the install. There was no cursor. I had a lot of problems with that. I need post-install instructions that actually work.

KBD47 05-22-2018 03:40 PM

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.

AwesomeMachine 05-23-2018 02:49 PM

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.