I have installed a Unbuntu 12.04 and want to increase my swap size from 1Gb to 4Gb can anyone tell how to do this?
/dev/sda5 partition 1046524 568284 -1
|
|
If you only have occasional need of >1GB of swap space, you may consider creating a swap file in addition to the dedicated swap partition, which will avoid having to dig up a live CD/USB and resize partitions. Create a swap file:
Add it to your
You can set the priority of the two swap areas separately if you want the system to use the dedicated partition with higher priority. Add a
|
|||||
|
|
Here is it https://help.ubuntu.com/community/SwapFaq#How_do_I_add_more_swap.3F You will need a Ubuntu LiveCD for this |
|||
|
|
|
GParted (available in the repositories) allows you to play with partitions, including resizing them without data loss, but you are strongly suggested to back up all your data before doing so... RAM is really cheap these days (4GB module around 20$). You might want to consider just buying more RAM if you are making heavy use of your swap partition. It is faster and having more than one module is always good anyway. |
|||
|
|