Page 1 of 1

Changing Linux Swap Space

Posted: Thu Mar 04, 2004 7:49 pm
by guest
recently, i installed Red hat Linux 8 on my Celeron 433 Mhz, 160 MB ram machine. Accidently, i created the swap space as 200 MB. now the machine works too slow :(. i am thinking of reinstalling the linux. i just wanted to know is there any chance of changing the swap space without reinstalling ?

Re:Changing Linux Swap Space

Posted: Thu Mar 04, 2004 11:47 pm
by Candy
on any normal linux:

swapoff <device>
fdisk -> remove swap space, set up new swap space
mkswap <device>
swapon <device>

For redhat, might be impossible. Check their docs.

Re:Changing Linux Swap Space

Posted: Fri Mar 05, 2004 1:30 am
by tgyb
"upgrading" from the same installation cd can't take that long