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 12/8/24 5:57 PM, Ranjan Maitra via users wrote:
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?

I just tested F40 in a VM. If you configure a swap partition at install time, anaconda will set the resume parameter automatically. However, I still had to add the "resume" module to dracut to make it work.

If secure boot is enabled, you need to encrypt the swap partition, but I haven't had a chance to test that yet.

--
_______________________________________________
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