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

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

 



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 <pocallaghan@xxxxxxxxx>
> Date: Mon, 09 Dec 2024 10:36:52 +0000
> 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 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@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
-- 
_______________________________________________
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