Open sphaero opened 6 years ago
enable hibernate with swapfile
ie grub cmds resume=/dev/nvme0n1p4 resume_offset=96538624
Find offset:
$ sudo filefrag -v /var/swapfile
Filesystem type is: ef53
File size of /var/swapfile is 17825792000 (4352000 blocks of 4096 bytes)
ext: logical_offset: physical_offset: length: expected: flags:
0: 0.. 2047: 96538624.. 96540671: 2048:
see debian docs
enable hibernation using swap
https://wiki.archlinux.org/index.php/Power_management/Suspend_and_hibernate