On Mon Dec09'24 05:22:12PM, Samuel Sieb wrote: > From: Samuel Sieb <samuel@xxxxxxxx> > Date: Mon, 9 Dec 2024 17:22:12 -0800 > To: users@xxxxxxxxxxxxxxxxxxxxxxx > Reply-To: Community support for Fedora users <users@xxxxxxxxxxxxxxxxxxxxxxx> > Subject: Re: new F41 install: is swap partition no longer needed for > hibernate? > > 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. Thanks! However, my problem is not resumption, but more than like my dog who was too smart to go fetch twice (if you are going to throw it away, why should I be expected get it back for you?), it only blinks and refuses to go down and hibernate from the second time after boot. Would using sudo dracut -a resume -f address this problem? I guess it is worth a try > > If secure boot is enabled, you need to encrypt the swap partition, but I > haven't had a chance to test that yet. Is there a benefit to having secure boot enabled? Many thanks and best wishes, Ranjan -- _______________________________________________ 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