Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 1318  / 2 Years ago, thu, september 1, 2022, 11:51:12

Ive learned that one should allot a swap space inorder to have Hibernate option in Ubuntu, Why isnt it same with Windows? My Win 7 doesnt have any Swap space but still hibernates without a glitch.


More From » hibernate

 Answers
5

Typically a swap file is used when the RAM is exceeded to free the RAM by storing its content to a swap file.
In Windows environments this is a file (usually pagefile.sys) which is stored on the system partition.
In Linux it is recommended to create an extra partition for swap. As far as I know this is not needed, you should be able to hibernate without an extra partition because linux should be able to use a file, too. For further information: https://superuser.com/questions/21020/can-i-hibernate-linux-without-a-swap-partition



The advantages of an extra swap partition are:




  1. Security: Linux wipes the swap file securely before shutdown so nobody can restore it.

  2. Performance: You may wish to map your swap partition to an SSD to increase speed.

  3. Even if your system partition is full, you have some space for your swap data.


[#41698] Friday, September 2, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
entmpy

Total Points: 52
Total Questions: 112
Total Answers: 113

Location: Marshall Islands
Member since Tue, Sep 21, 2021
3 Years ago
;