LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Increasing SWAP

[ILUG] Increasing SWAP

Anthony ant at elivefree.net
Tue Sep 16 23:03:55 IST 2008


Gerard Cunningham wrote:
> I recently upgraded the RAM on my desktop from 256Mb to 1Gb, but the
> swap is still as was. On a rough rule of thumb, I think this means I
> should also increase swap memory to 1Gb. Is there a straightforward way
> to do this, or would it be as easy simply to backup /home then reinstall
> and restore? Come to that, with 1Gb of RAM, do I need to bother
> increasing swap? I'm using Ubuntu Hardy Heron.

Hi Gerard,

You'll most likely need to repartition your hard drive in order to
increase the size of your swap partition. (If you're using Logical
Volume Manager that may not be the case.) You may not need to carry out
a complete reinstall to repartition your disk e.g. if the disk has a
separate /home partition on either side of the swap partition, you could
backup your /home, then boot into single user mode or use a Live CD to
delete the /home partition and then increase the size of the swap
partition using this new free space before recreating your /home partition.

You don't say what size, your current swap partition is but I'd imagine
you should get away with using whatever you're currently using seeing as
 you now have an extra 768MB of RAM to play with. However if you use
suspend to disk, then you *will* need to increase the size of your swap
partition to at least the same as the amount of RAM installed.

The following link may be of help to you (even though it's written for
Ubuntu users, it should apply to all GNU/Linux distros):
https://help.ubuntu.com/community/SwapFaq

Regards,
Anthony



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell