On Fri Jul04'25 07:47:08PM, Barry wrote:
> From: Barry <ba...@barrys-emacs.org>
> Date: Fri, 4 Jul 2025 19:47:08 +0100
> To: users@lists.fedoraproject.org
> CC: Ranjan Maitra <mlmai...@gmx.com>, users@lists.fedoraproject.org
> Reply-To: Community support for Fedora users <users@lists.fedoraproject.org>
> Subject: Re: F42: instructions on setting up hibernate
> 
> 
> 
> > On 4 Jul 2025, at 17:38, Ranjan Maitra via users 
> > <users@lists.fedoraproject.org> wrote:
> > 
> > On Fri Jul04'25 11:27:07AM, Community Support for Fedora Users wrote:
> >> From: Ranjan Maitra via users <users@lists.fedoraproject.org>
> >> Date: Fri, 4 Jul 2025 11:27:07 -0500
> >> To: Community support for Fedora users <users@lists.fedoraproject.org>
> >> Cc: Ranjan Maitra <mlmai...@gmx.com>
> >> Reply-To: Community support for Fedora users 
> >> <users@lists.fedoraproject.org>
> >> Subject: Re: F42: instructions on setting up hibernate
> >> 
> >>> On Tue Jun24'25 04:37:21PM, Patrick O'Callaghan wrote:
> >>> From: Patrick O'Callaghan <pocallag...@gmail.com>
> >>> Date: Tue, 24 Jun 2025 16:37:21 +0100
> >>> To: users@lists.fedoraproject.org
> >>> Reply-To: Community support for Fedora users 
> >>> <users@lists.fedoraproject.org>
> >>> 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 <pocallag...@gmail.com>
> >>>>> Date: Thu, 12 Jun 2025 16:05:09 +0100
> >>>>> To: users@lists.fedoraproject.org
> >>>>> Reply-To: Community support for Fedora users 
> >>>>> <users@lists.fedoraproject.org>
> >>>>> 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,

Thanks!  But I am using a ext4 filesystem. The instructions are for btrfs, how 
do I create a subvolume for a ext4 filesystem?

Btw, should secureboot be disabled for hibernate to work?

Many thanks and best wishes,
Ranjan



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