ubuntu 7 and swap partition

Soldato
Joined
3 Dec 2002
Posts
4,071
Location
Groovin' @ the disco
Hi

being a linux noobie, i have installed ubuntu without a swap partition. This makes my system run slow. how to a remove a partition, resplit the partition up to two and make one in to the swap partition. This partition is not my system partition but I can find any disk utils program on the default install.

Cheers
 
Probably a whole lot easier just to reinstall as the ubuntu installer can sort all the partitions you need :)
the app you looking for is gparted

sudo apt-get install gparted

should do it :)
 
What programs are you running such that you notice that the lack of swap makes it 'slow'? I've never used swap on Linux since RAM has been cheap enough to satisfy all the programs I run concurrently (ca. 2001?) :)

Having no swap can actually be faster, since it eliminates the possibility of an application waiting for a kernel preemption on a disk read during 'oppertunistic swapping' by the kernel.
 
If you are going to reinstall Fiesty then i would set it to automatic (when installing it will ask you how you want to install / partition) and it will sort out the swap partition for you.

On the plus side aslong as you have more that 1gb of ram you should be ok.
I have a 2gb swap partition and am only ever using around 40mb of it as i dont run anything that will realy stress it.

The Kernal is quite advanced when it comes to memory swaping and only does it when its absolutely nessasary.

The Ubuntu are full of useful information and seams to be frequented by the makes of the distro a lot.
 
Last edited:
Back
Top Bottom