Re: Swap still not activated on later kernels

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

 



On Fri, 2020-11-13 at 20:22 +0530, Sreyan Chakravarty wrote:
> $  systemctl hibernate
> Failed to hibernate system via logind: Not enough swap space for
> hibernation
> 
> I don't understand why after having 8GB of free swap space, I am
> still
> unable to hibernate ?
> 
> Is this an SELinux issue ?
> 
> What is the problem here ?

It's been years since I did this so things may have changed (I don't
use hibernation as it doesn't work with GPU passthrough for VMs), but
in my notes it says to add the UUID of the swap device to the command
line in /etc/sysconfig/grub:

GRUB_CMDLINE_LINUX="... resume=UUID=xxxxxxxxxxxxxxxx ..."
 
and then run 'grub2-mkconfig' to do its magic. I'm not sure if this can
be adapted to using a swapfile, but something tells me it can't. It has
to be a device or partition unless things have changed. I'm sure more
experienced hands will correct this if I'm wrong.

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



[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