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 Mon Dec09'24 05:07:31AM, Community Support for Fedora Users wrote:
> From: Ranjan Maitra via users <users@xxxxxxxxxxxxxxxxxxxxxxx>
> Date: Mon, 9 Dec 2024 05:07:31 -0600
> To: Community support for Fedora users <users@xxxxxxxxxxxxxxxxxxxxxxx>
> Cc: Ranjan Maitra <mlmaitra@xxxxxxx>
> Reply-To: Community support for Fedora users <users@xxxxxxxxxxxxxxxxxxxxxxx>
> Subject: Re: new F41 install: is swap partition no longer needed for
>  hibernate?
>
> 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?

I figured after reading through https://docs.fedoraproject.org/en-US/quick-docs/grub2-bootloader/ that the above requires major modifications. (Importantly,  For newly installed kernels to work, grubby expects /etc/grub2-efi.cfg to be a symlink to the real grub.cfg (for example /boot/grub2/grub.cfg).

So, I redid this, following the steps and have a strange issue with the newly set up F41 system.

systemctl hibernate goes down the first time, and comes back up just fine (or so it seems).

However, the second invocation does nothing except blink once, nicely, before carrying on with whatever it was doing.

This is consistent over at least three reboots. Works first time, no longer from the second (does not even pretend to sleep, just blinks once, NetworkManager does disconnect, but connects back up when it comes back from blinking).

I don't understand what this could be, and wonder what the issue could be?

Thanks a lot, 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



[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