[ale] how do I increase Linux swap file size?

Collin Pruitt collin at collinp.com
Mon Jan 17 17:36:33 EST 2011


It would be easiest to do this under a LiveCD environment. If you're after a graphical tool, use gparted.

On Mon, 17 Jan 2011 17:21:31 -0500
Ron Frazier <atllinuxenthinfo at c3energy.com> wrote:

> Hello all,
> 
> My main hard drive on this machine is partitioned as follows:
> 
> 157 GB NTFS Windows Vista
> 97 GB EXT4 Linux (Ubuntu 10.04)
> 8 GB Linux swap
> 235 GB NTFS Windows Data (Also usable in Ubuntu)
> 
> I normally keep my swap file set for 2X system ram.  I recently upgraded
> the computer to 8 GB of RAM, so I would like to non destructively shrink
> the last partition, while keeping it at the end of the disk.  Then, I
> want to increase the swap file to 16 GB.  Anybody know how to do that,
> preferably with a graphical utility, under Ubuntu?
> 
> Thanks in advance for your help.
> 
> Sincerely,
> 
> Ron
> 
> -- 
> 
> (PS - If you email me and don't get a quick response, you might want to
> call on the phone.  I get about 300 emails per day from alternate energy
> mailing lists and such.  I don't always see new messages very quickly.)
> 
> Ron Frazier
> 
> 770-205-9422 (O)   Leave a message.
> linuxdude AT c3energy.com
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo


-- 
Collin Pruitt <collin at collinp.com>


More information about the Ale mailing list