how can I increase my swap , I can hibernate my computer and thats kinda lame
I just want to know if theres a way for me to increase my swap without having to reinstall Ubuntu .
|
Quote:
then just do the following commands mkdir swap cd swap sudo dd if=/dev/zero of=swapfile bs=1024 count=100000 to create swap file with a size 1024000Byte ( count) after swap file was created,use sudo mkswap swapfile to convert the file to a swap file. use sudo swapon swapfile to active the swap file. |
Some laptops don't support suspend/hibernating under Linux, this depends on their hardware I guess. But you can You try this.
Quote:
Good luck to you! |
Quote:
|
Increasing your Swap might be a good idea if you dont have sufficient RAM installed in your computer.
But even if you do have a large swap partition or ton of RAM doesn't not ensures your laptop hardware supports hibernation / suspend under Linux due to hardware incompatibilities. However you can select a different behavior for your PC when you close the lid. Good luck to you. |
Quote:
|
Quote:
Following is what the manual of dd says BLOCKS and BYTES may be followed by the following multiplicative suffixes: c =1, w =2, b =512, kB =1000, K =1024, MB =1000*1000, M =1024*1024, xM =M GB =1000*1000*1000, G =1024*1024*1024, and so on for T, P, E, Z, Y. |
That is an awful highlight colour - almost unreadable. Leave it as black, and use [quote] tags instead would be more useful.
To delete the small file, simply Code:
rm swapfile |
All times are GMT -5. The time now is 10:55 AM. |