Re: new F41 install: is swap partition no longer needed for hibernate?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2024-12-08 at 19:57 -0600, Ranjan Maitra via users wrote:
> Hi,
> 
> I have not installed Fedora on a laptop for a while, and I am pretty confused with how to partition the disk: I do custom partition because I want a very big /home, and a reasonable /
> 
> In the old past, several iterations ago, I used to create a separate swap partition (twice the size of RAM, though for very large RAM, I have been using 1x or 1.5x) and use that for hibernate. But now with zram0, do we no longer need a swap partition? If so, how is hibernate supposed to work? There is a lot of discussion online: it appears that things changed around F38 and even later, and also I do not seem to be able to land an official fedora document regarding what to do. Is this something that is supposed to simply work?
> 
> Btw, in case it matters, I continue to use ext4 filesystems (except for the EFI partition).
> 
> Sorry I am not very clear on this. Any suggestions on how to do this?

You don't need a swap partition (or swap file) for suspend, but you
certainly do need it for hibernation. With no swap on secondary
storage, there's nowhere to keep the saved image once power has been
turned off, since Zram is a compressed swap partition in RAM. 

poc
-- 
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux