Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Adjusting Swap Space.
Name: Damien Date: January 31, 2001 at 04:41:26 Pacific
Comment:
Hi, I was hoping somebody could help with re-adjusting the size of my swap partition in the easiest possible way. It is 100mb and I have run out of disk space so I would like to shrink it to about 50mb with minimal messing around. Any help would be greatly appreciated.
Name: Apple Date: February 1, 2001 at 11:44:05 Pacific
Reply:
If I remember right, the swap partition can't be larger than 64Mb. You needed to make 2 or more to have more swap space.
As for resizing your partitions, there's a utility that comes on the distribution CDs to do that. I don't remember the name. I BELIEVE there're utilities to enable the swap partition called swapon and swapoff. you just type "swapoff /dev/hda4", resize the partition and "swapon /dev/hda4".
0
Response Number 2
Name: Aron Date: February 1, 2001 at 15:46:06 Pacific
Reply:
Hi!
According to the last message, I just wanted to add that the maximal size of a Linux swap-partition is 128 MBytes.
/Aron.
0
Response Number 3
Name: James Date: February 1, 2001 at 20:32:08 Pacific
Reply:
The swap partition 128 meg limitation is no longer valid in even the 2.2 kernel. Yes you can reformat it but you will be stuck with a small partition. You could have gone with swap files or if you dual boot use the windows swap.
Summary: I originally installed RH with 128M of ram, so the swap is 256. I then upgraded to 256 Mb RAM, and am wondering if and how I should adjust the ammount of swap space. Thanks ...
Summary: hello i"ve got an old computer with 7.3, once in a while i boot the computer and after a few services that come up i got stuck at "enable swap space" row, somtimes it passes sometimes not. can i do so...