Re: F42: instructions on setting up hibernate

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

 




> On 4 Jul 2025, at 17:38, Ranjan Maitra via users <users@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> 
> On Fri Jul04'25 11:27:07AM, Community Support for Fedora Users wrote:
>> From: Ranjan Maitra via users <users@xxxxxxxxxxxxxxxxxxxxxxx>
>> Date: Fri, 4 Jul 2025 11:27:07 -0500
>> To: Community support for Fedora users <users@xxxxxxxxxxxxxxxxxxxxxxx>
>> Cc: Ranjan Maitra <mlmaitra@xxxxxxx>
>> Reply-To: Community support for Fedora users <users@xxxxxxxxxxxxxxxxxxxxxxx>
>> Subject: Re: F42: instructions on setting up hibernate
>> 
>>> On Tue Jun24'25 04:37:21PM, Patrick O'Callaghan wrote:
>>> From: Patrick O'Callaghan <pocallaghan@xxxxxxxxx>
>>> Date: Tue, 24 Jun 2025 16:37:21 +0100
>>> To: users@xxxxxxxxxxxxxxxxxxxxxxx
>>> Reply-To: Community support for Fedora users <users@xxxxxxxxxxxxxxxxxxxxxxx>
>>> Subject: Re: F42: instructions on setting up hibernate
>>> 
>>> On Tue, 2025-06-24 at 09:35 -0500, Ranjan Maitra via users wrote:
>>>> On Thu Jun12'25 04:05:09PM, Patrick O'Callaghan wrote:
>>>>> From: Patrick O'Callaghan <pocallaghan@xxxxxxxxx>
>>>>> Date: Thu, 12 Jun 2025 16:05:09 +0100
>>>>> To: users@xxxxxxxxxxxxxxxxxxxxxxx
>>>>> Reply-To: Community support for Fedora users <users@xxxxxxxxxxxxxxxxxxxxxxx>
>>>>> Subject: Re: F42: instructions on setting up hibernate
>>>>> 
>>>>> On Thu, 2025-06-12 at 09:32 -0500, Ranjan Maitra via users wrote:
>>>>>> I have a new install of F42 on a Dell Latitude 7430 and was wondering what is the latest way to get hibernate going?
>>>>>> 
>>>>>> Is this recommended way?
>>>>>> 
>>>>>> https://fedoramagazine.org/update-on-hibernation-in-fedora-workstation/
>>>>>> 
>>>>>> Many thanks and best wishes,
>>>>>> Ranjan
>>>>> 
>>>>> That's basically what I do as far as I can tell, though I arrived at it
>>>>> piecemeal after several iterations with earlier attempts.
>>>> 
>>>> Thanks, looking into this now. However, I noticed that these instructions appear to be for filesystems that use btfrs. What do I do if I have a ext4 filesystem?
>>> 
>>> At a guess, just leave out the line that creates a BTRFS subvolume and
>>> do everything else the same. The important thing is to create a
>>> contiguous swapfile with reserved space, which is what mkswap does.
>>> IIRC the BTRFS subvolume is mainly to avoid things like deduplication
>>> on the swap file, which isn't an issue with ext4.
>>> 
>> 
>> So, does this mean I have to create a /var/swap file using mkdir? Because right now, I do not have any a /var/swap.
> 
> Or, just to add, should I ignore all three of these lines at:
> 
> https://fedoramagazine.org/update-on-hibernation-in-fedora-workstation/
> 
> sudo btrfs subvolume create /var/swap
> sudo chattr +C /var/swap
> sudo restorecon /var/swap
> 
> I suspect I should create a /var/swap directory. Famous last guess?:-)

A sub volume is appears as a directory.
But a directory is not a sub volume,

You must create the sub volume.

Barry

> 
> 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

-- 
_______________________________________________
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