Peppermint OS Community Forum

Support => Installation => Topic started by: clix on December 29, 2017, 04:27:22 am

Title: An unsafe swap space has been detected. (how to fix, no info working in the net)
Post by: clix on December 29, 2017, 04:27:22 am
Hello! When I tried installing Peppermint 8, and encrypt the files, it gave me this error message:

An unsafe swap space has been detected.

https://i.imgur.com/u7IJw21.jpg

After this it takes me to a partition dialog box but I do not know what to do there. I did some searches and they work different. Something about the home root. I guess I could create a swapoff folder here and it will be resolved?

I tried running the swapoff command - sudo swapoff -all - and it didn't work

I followed step by step 3 or 4 extensive walkthroughs in other known forums and it didn't work either, I guess their issue is different than mine.

I would really like to install Peppermint 8, as I am new to Linux, and I have runned out of resources, I find myself in a dead street because I can't fix it with the info I find in the internet.

Any help is appreciated!  8)
Title: Re: An unsafe swap space has been detected. (how to fix, no info working in the net)
Post by: PCNetSpec on December 29, 2017, 03:24:55 pm
Looks like you've chosen full disk encryption, but kept an unencrypted swap partition .. you need to use:
Code: [Select]
sudo ecryptfs-setup-swap
to encrypt your swap partition

https://blog.sleeplessbeastie.eu/2012/05/23/ubuntu-how-to-encrypt-swap-partition/

and

http://manpages.ubuntu.com/manpages/trusty/man1/ecryptfs-setup-swap.1.html



Unless you have a requirement for full disk encryption I'd personally reinstall without it .. sure it's secure, but iit can be a PITA if anything ever goes wrong.