Skip to content

Instantly share code, notes, and snippets.

View khanhtdk's full-sized avatar

Khanh Tran khanhtdk

  • Ho Chi Minh, VN
View GitHub Profile
@khanhtdk
khanhtdk / Fedora35Hibernation.md
Created September 5, 2024 03:36 — forked from eloylp/Fedora35Hibernation.md
Fedora 35 hibernation with swapfile, only for hibernation and resume

Fedora35 hibernation

This guide helps to configure the hibernation on a default Fedora35 (also worked fine in previous Fedora34) installation by using a swap file. The Fedora35 installation comes with btrfs as default filesystem. Also, it comes with a zram swap device:

$ swapon
NAME       TYPE      SIZE USED PRIO
/dev/zram0 partition   8G   0B  100