You are not logged in.

#1 2008-04-12 02:17:41

synthead
Member
Registered: 2006-05-09
Posts: 1,337

[solved] Setting up swap space

I didn't set up any swap space on my girlfriend's computer, and she's constantly topping out her RAM.  I know how to resize ext3 and make swap space, but how do I have it enabled every time on bootup?  Or a swapfile, is it as effective?  How do I make a swap file?

Last edited by synthead (2008-04-12 03:41:25)

Offline

#2 2008-04-12 02:26:49

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: [solved] Setting up swap space

For automatic enabling swap at boot, just add it to /etc/fstab. I remember reading about swapfile/swap partition; the only thing that matters is where physically on the drive, and how scattered, is the swapfile/partition. To make it in the file, just create an empty file (with dd)... http://www.redhat.com/docs/manuals/linu … dding.html

Offline

#3 2008-04-12 03:41:12

synthead
Member
Registered: 2006-05-09
Posts: 1,337

Re: [solved] Setting up swap space

bender02 wrote:

For automatic enabling swap at boot, just add it to /etc/fstab. I remember reading about swapfile/swap partition; the only thing that matters is where physically on the drive, and how scattered, is the swapfile/partition. To make it in the file, just create an empty file (with dd)... http://www.redhat.com/docs/manuals/linu … dding.html

That was so easy to do!!

Thank you for the very helpful link, it almost did it by itself! big_smile

Offline

Board footer

Powered by FluxBB