News for hackers. Stuff that matters.
Re:Ask HN: Why is the Linux community struggling to implemen... by exikyut on Thursday April 08, 2021 @12:14PM (#26740570)
The default kernel resume implementation will look for a hibernate header in the visible swap partitions on boot.

If you boot into an initramfs and make additional swap partitions visible, eg via losetup, you can then write the device major:minor into /sys/power/resume and kaboom the kernel will freeze userspace, read the hibernation image out of there, then jump to it.

There are no comments on this comment yet.