Choose style:

Author Topic: An unsafe swap space has been detected. (how to fix, no info working in the net)  (Read 725 times)

0 Members and 1 Guest are viewing this topic.

Offline clix

  • nOOb
  • *
  • Posts: 1
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 8
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)
« Last Edit: December 29, 2017, 02:48:58 pm by clix »

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 23924
  • Karma: 2651
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
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.
« Last Edit: December 29, 2017, 03:26:59 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec