A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.

December 28, 2010

Swaps file -Is it possible to change?


I can not put my laptop to Hibernate as the error message is 'not enough swap'

My laptop has 1.2 Gb RAM and the /proc/swap file shows me it has
Filename Type Size Used Priority
/dev/sda6 partition 596988 0 -1

I would like to extend the size of the swap partition.
However I have read that I need to add an extra partition or file.

As the swap file can be edited, the question is:
- Can I change the value in the swap file to RAM*2 without having to add a new swap partition?

Thank you!

Click Here!