Thank you!

So, in the past, for an ext4 system, which is what I have, I used to do the 
following:


sudo vi /etc/default/grub

add --> resume=UUID="****" <-- to the line GRUB_CMDLINE_LINUX= (anywhere, i do 
it before the rhgb)

where the uuid is obtained using blkid.

then

sudo bash -x grub2-mkconfig

# # for efi-based systems: #

sudo bash -x grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg

and then reboot.

So, we basically ignore the zram0?

Thanks,
Ranjan





On Mon Dec09'24 10:36:52AM, Patrick O'Callaghan wrote:
> From: Patrick O'Callaghan <pocallag...@gmail.com>
> Date: Mon, 09 Dec 2024 10:36:52 +0000
> To: users@lists.fedoraproject.org
> Reply-To: Community support for Fedora users <users@lists.fedoraproject.org>
> Subject: Re: new F41 install: is swap partition no longer needed for
>  hibernate?
>
> On Sun, 2024-12-08 at 20:54 -0600, Ranjan Maitra via users wrote:
> > Thanks! So, should I not bother with setting up a swap partition? And is 
> > hibernate supposed to work out of the box automagically? (I am talking of 
> > F41 if it matters.)
> >
> > Many thanks again, and best wishes,
>
> Again, hibernation requires a physical (i.e. hard disk) swap area,
> which can be in addition to the default zram. Hibernation doesn't work
> out of the box. You have to set it up either as a partition or as
> simply a swap file. In the latter case, if your filesystem is ext4,
> this is fairly simple (Google it). In the case of BTRFS there are some
> hoops to jump through, see:
>
> https://btrfs.readthedocs.io/en/latest/Swapfile.html
>
> Also, last time I looked hibernation was incompatible with Secure Boot.
>
> poc
> --
> _______________________________________________
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> 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@lists.fedoraproject.org
> Do not reply to spam, report it: 
> https://pagure.io/fedora-infrastructure/new_issue
-- 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to