"Failed to create swap space" error during installation
Posted
by
Welsh Heron
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Welsh Heron
Published on 2013-08-02T14:18:19Z
Indexed on
2013/08/02
16:04 UTC
Read the original article
Hit count: 371
installation
|swap
I've been trying to install Ubuntu for the past two days or so, but I've been running into a problem: every time I run the installation program on the LiveCD, I always get the same (or a very similar) error:
"Failed to create Swap space
The creation of swap space in partition #3 of SCSI5 (0,0,0)(sda) failed."
So far, I've run DBAN (Darik's Boot and Nuke) on my HDD once, to make absolutely sure that everything on it had been erased. Then, I simply put in the LiveCD, and let it run the automated install. I get the above error directly after I tell it to automatically partition the HDD (it will work for a second or so, then this will pop up), forcing me back to the screen that lets me choose whether I want to automatically or manually partition the HDD.
Well, after failing to install the software manually, I did a little research and learned enough about partitioning Linux to use the 'Manual partitioning' option. I partitioned the HDD as follows (it's a 1TB drive):
/home - (the rest)- ext2,
/ - 20GB - ext2,
/boot - 100MB - ext2,
/swap - 8GB
/EFIboot - 40MB
The only difference when I tried this method was that I got THIS message:
"Failed to create Swap space
The creation of swap space in partition #2 of SCSI5 (0,0,0)(sda) failed."
Basically, the only difference was that there was now a '2' instead of a '3'. If I may ask, what exactly am I doing wrong? I've tried looking around the internet (that's basically all I've done for the last two days), but no one seems to have the same problem that I have, and I've tried most of the solutions for similar problems (DBAN, formatting partitions in ext2 format, etc).
The only thing I haven't tried is using the terminal to manually partition the HDD...and I actually DID try to do this, but I wasn't able to get past 'su' 's password demand, so I wasn't able to use the terminal.
Thank you for your help in advance.
~Welsh
© Ask Ubuntu or respective owner