Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

increasing SWAP w/o re-installing Linux?

1 view
Skip to first unread message

aK

unread,
Oct 11, 2001, 8:26:06 PM10/11/01
to
hello,

I have Redhat 6.2 installed on my Pent II 300Mhz. total space of hda is 10
G and swap space is about 300. I think there are 1 G of unassigned space
available and I would like to increase the swap using those unassigned
space. I think I would like to increase it to 500Meg. is there any way to
do it w/o installing linux from the scratch?

thanks for your help and time


J Sloan

unread,
Oct 11, 2001, 11:10:52 PM10/11/01
to
aK wrote:

Of course - I have used a utility to do this,
IIRC is was called ext2resize - google or
freshmeat can dig it up.

cu

jjs

Eric

unread,
Oct 12, 2001, 5:31:10 AM10/12/01
to
Don't post to so many (even some non-existing!) groups.

What would ext2resize have to do with this?

Just make a swap partition in the extra space, add it to
/etc/fstab as a new swap partition and reboot.
Don't run mkswap on it before you reboot, as fdisk will
not have been able to update the kernel's idea of the
partitiontable.

Eric


Matthew Cline

unread,
Oct 12, 2001, 3:49:19 PM10/12/01
to
aK was touched by the minds of the terrible Old Ones, and imparted unto us
these blasphemous ravings:

You can use the command mkswap to create an ordinary file (rather than a
swap partition) that acts as swap space. It's slower than normal swap, but
you don't have to repartition anything.

SyBase

unread,
Oct 13, 2001, 12:06:31 AM10/13/01
to

"Eric" <scare...@oz.land> wrote in message
news:3bc6b85f$0$216$4d4e...@read-nat.news.nl.uu.net...

> Don't post to so many (even some non-existing!) groups.
>

Given the way usenet works, you cannot say those groups do not exist..
Newsgroup existence is a relative term dependent on what newsgroups a
particular news server wishes to carry.


Dave Carrigan

unread,
Oct 17, 2001, 10:32:11 AM10/17/01
to
You can use GNU parted to move and resize swap and ext2 partitions. Get
it at http://www.gnu.org.
0 new messages