Quantcast
Viewing all articles
Browse latest Browse all 3474

Prevent restore of hibernation image

I just messed up a production SSD because Linux restored an old and obsolete hibernation image from swap and all file system information was out of sync. I am now running a "brtrfsck --repair" as the last resort with the full knowledge that it is a very dangerous thing to do but it is that or reformat.

I need to find a way to prevent this in the future. Is there a way to prevent Linux from restoring a hibernation image from swap, even though there are one? With later systemd one can no longer just remove the "resume=" option as it is no longer needed and systemd just automagically finds the image and restores it according to the documentation.

Thanks,
Erik

Statistics: Posted by Paddlaren — 2024-01-29 19:18 — Replies 2 — Views 61



Viewing all articles
Browse latest Browse all 3474

Trending Articles