Haemin's blog

Author: haemin

Setting hibernate with swapfile in Ubuntu MATE 22.04/btrfs

Easy to do with latest version with btrfs-progs. I got it from nixpkgs. Requirements: Create the swapfile https://btrfs.readthedocs.io/en/latest/btrfs-man5.html#swapfile-support (# indicates that the command needs to be run with root user) Set fstab Append the following line to /etc/fstab Update grub to enable hibernation Reflect hibernate enabled in the UI Update the following file: And append […]

Back to top