Unsafe swap space detected
Solution 1
Try to boot via "Try Ubuntu" instead of "Install Ubuntu" and run the command:
sudo swapoff --all
From the terminal. (ctrl+alt+t)
Then run the Install Ubuntu from the desktop. The error should stop appearing.
See also this related Lubuntu/ubuntu bug report
Solution 2
Len's solution of running sudo swapoff -all
is possible without booting via "Try Ubuntu".
When you get the error, use CTRL-ALT-F1 to get to a terminal and run the command there.
Use CTRL-ALT-F7 to return to the graphical environment when you're done.
It worked for me. I did so after going back to the language selection screen, but it may work from the partition manager stage. I would expect the check is only being done at the moment one attempts to change a partition.
Solution 3
I had the same problem, there's definitely something wrong with the installer (I was trying to set up 14.04 with encrypted partitions on different drives, with / on my small SSD and /home /usr /tmp /var and swap on my HDD). But I played around with it, restarted the installer/rebooted a number of times, and here's how you work around it:
Set up all your actual partitions, including your encrypted containers. I believe it necessary to include an encrypted partition for swap, so make sure to make one of suitable size for it.
Once you have them all set up, THEN, and only then pin them to actual mount points. I started with swap and then moved on to /home and so on.
Related videos on Youtube
Django Anonymous
Updated on September 18, 2022Comments
-
Django Anonymous almost 2 years
So I had a Ubuntu 13.04 installation and I had encrypted my hard drive while I was doing installation. I was playing around and mistakenly deleted all the partitions, now I downloaded lUbuntu 13.10 x86 Desktop but when I am trying to install it says "Unsafe swap space detected"
I am clueless on how to fix this error.
-
jobin over 10 yearsAt what point of the installation does this error message come up? Did you try completely formatting your hard disk? What comes up if press "OK"?
-
Django Anonymous over 10 yearsNothing it just get aborted and then you need to try again. But it fails all the time. However how I can completely format my hard disk using lubuntu?
-
jobin over 10 yearsI am not sure whether lubuntu gives you the option to try it, if not, you may need to use Ubuntu(any version should work) to "Try Ubuntu" and then use gparted to delete all partitions and then try again.
-
Django Anonymous over 10 yearsI have already deleted all partitions using gparted even when i try to format disk it says "Error Formatting Disk"
Error syncronizing after initial wipe. Timed out waiting for object (udisks-error-quark,0)
-
-
0xC0000022L almost 10 yearsIt should be kept in mind that this requires enough RAM in the first place ;)
-
Kajetan Abt over 9 yearsHow do I get back into the setup menu after doing this?
-
Laurent W. about 9 yearsSame question as @KajetanAbt, quite annoying.
-
Vladislav Rastrusny about 9 yearsIt works, thanks. Well, this problem is still there in 15.04. I wonder when it is going to be fixed?
-
Omar Tariq over 8 yearsIf you want login and password then try
lubuntu
for username and just press enter for password. -
gojomo about 8 yearsStill a problem in 16.04!
-
lxknvlk about 7 yearsthe command is
sudo swapoff --all
-
user8437812 about 7 yearsStill a problem in 17.04
-
James over 5 yearsStill a problem in 18.04