LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-17-2018, 12:15 PM   #1
mrnice2018
LQ Newbie
 
Registered: May 2018
Posts: 4

Rep: Reputation: Disabled
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.
 
Old 05-18-2018, 06:18 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
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.

Last edited by hydrurga; 05-18-2018 at 06:20 AM.
 
Old 05-22-2018, 12:15 PM   #3
mrnice2018
LQ Newbie
 
Registered: May 2018
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
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.
 
Old 05-22-2018, 03:40 PM   #4
KBD47
LQ Newbie
 
Registered: Jul 2011
Posts: 26

Rep: Reputation: Disabled
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.

Last edited by KBD47; 05-22-2018 at 03:41 PM.
 
Old 05-23-2018, 02:49 PM   #5
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
grub-install: error: will not proceed with blocklists. shams Linux - Hardware 5 10-26-2017 01:33 AM
[SOLVED] Post error when clicking "Find this post helpful" corp769 LQ Suggestions & Feedback 4 01-08-2012 03:07 PM
Cisco 2950 Error: POST Failure: Ethernet Controller Test: Failed abefroman Linux - Networking 1 11-30-2007 03:14 AM
Repeated System Failure with "Lost Interrupt" error. codedv Linux - Hardware 3 07-24-2006 03:54 AM
Post-Install ... How Do I proceed? svarreby Slackware 3 01-10-2004 11:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration