Difference between revisions of "Swap"

Added hibernation config removal steps
m (Added: swapfile -> timeshift compatibility)
(Added hibernation config removal steps)
Line 249: Line 249:
  UUID=c2430cf1-8ea9-4422-a5c5-5a38779194c3 swap          swap    defaults,noatime 0 2
  UUID=c2430cf1-8ea9-4422-a5c5-5a38779194c3 swap          swap    defaults,noatime 0 2
  /swapfile none swap defaults 0 0
  /swapfile none swap defaults 0 0
<translate>With hibernation configured it will also be necessary to edit {{ic|/etc/default/grub}}. Find and remove option {{ic|<nowiki>resume=UUID=...</nowiki>}} or replace the UUID with a new proper value.  In the example above, we would remove this text:
resume=UUID=c2430cf1-8ea9-4422-a5c5-5a38779194c3
Then run:
sudo update-grub
If removing hibernation entirely then also delete {{ic|resume}} from the {{ic|HOOKS}} line in {{ic|/etc/mkinitpcio.conf}} and run:
sudo mkinitpcio -P
</translate>




Line 261: Line 270:


<translate>
<translate>
==Using zswap with systemd-swap== <!--T:70-->
==Using zswap with systemd-swap== <!--T:70-->


20

edits