Installing ubuntu in free space of extended partition: "You have not selected any partitions for use as swap space"
Solution 1
The installer is warning you that you have not created or configured a swap partition. On low memory systems, having a swap partition can increase performance by making more physical memory available, because the system can write out allocated but unused memory pages to disk.
If you have a large amount of physical memory (>8GB) then you probably do not need a swap space for a desktop system. If you have low memory (<2GB) then you might want to enable swap.
If you do decide to enable swap, you will need to create an extra partition of the appropriate size, and in the "Use as" drop down select "Swap".
Also see:
- Ubuntu Swap FAQ
- Why is swap being used even though I have plenty of free RAM?
- I have 16GB RAM. Do I need 32GB swap?
- Do we still need swap partitions on desktop?
Solution 2
You did everything right. The last warning could have been ignored if you have more than 4GB of RAM. Except for the disk selection window (where you can erase data by doing something wrong) everything else could be "Next-Next-Next-Finish"
Related videos on Youtube
Vineet Kaushik
Updated on September 18, 2022Comments
-
Vineet Kaushik over 1 year
Here is a picture of my hdd's partition table :
I wish to install Ubuntu in the free space shown in the below picture. However I don't understand how to configure the installation. I chose the
something else
option at the installation menu, after which theinstallation type
window was displayed. I selected the free space and pressed the+
button beside theChange...
. Then a window popped up :I want to use the entire space for my ubuntu installation hence didn't make any changes in the size. Didn't understand the
Use as:
drop down so I let that be. The only change I made was selecting\
in the mount point. Then clickedOK
andInstall
. Then this box popped up :I didn't understand what to do next, so I quit. Please tell me what options I need to select to install Ubuntu in that 100Gb(93.14Gb) of free space. Thanks!
-
Vineet Kaushik almost 10 yearsThis is odd. The last time I installed ubuntu on my machine it didn't ask for memory for swap space.
-
Barafu Albino almost 10 yearsSeems that you had swap partition on the disk already. Otherwise it asks for swap without checking RAM size.
-
Vineet Kaushik almost 10 yearsThe last time I created a 100 Gb memory space from the C drive. Which after a complete format of my harddisk turned out as this 100 Gb of free space that I can't seem to merge back. Should a swap space of 4GB be enough given that I have 4GB of RAM ?
-
Barafu Albino almost 10 yearsThe amount of swap is a holywar-igniting question. I think there is no reason to have space more than your RAM + 200Mb, and this is only needed for hibernation functionality.
-
bain almost 10 yearsPerhaps you already had a swap partition on the disk? If Ubuntu finds one, it will just use it without asking.