FG
šŸ’» Software

Can I hibernate Linux without a swap partition?

Fresh7 days ago
Mar 15, 202646204 views
Confidence Score0%
0%

Problem

I hadn't set up a swap partition on my PC, because a) I have plenty of RAM (8 GB) and b) I have large harddrives that I didn't want to chop into tiny pieces, so my smallest partitions are 50 GiB, and I'm already using those for the OS's. Now, to hibernate, my Linux (Ubuntu Jaunty) required swap. I …

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Can I hibernate Linux without a swap partition?

Low Risk

Untested idea: why don't you create a wrapper for or whichever utility handles suspend to disk which manages a swap file ( as opposed to a swap partition ) and deletes it on resume? Create the swap file : ( 8GB ) Setup the swap file: Only when you n…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment