On Tue 10 Sep 2024 at 19:14:54 (+0000), Andy Smith wrote:
> Hi,
> 
> On Tue, Sep 10, 2024 at 02:53:01PM -0400, Stefan Monnier wrote:
> > > I have an NVME drive as well as a spinning-rust drive.  I've got swap on 
> > > the
> > > spinning drive, but I'd like to put the hibernate area on the NVME.  Is 
> > > that
> > > possible, to have swap on one and hibernate on another?
> > 
> > Of course.  Just tell your hibernation about the partition you want to
> > use for it (it usually defaults to using the swap partition).
> > IIRC the relevant file is `/etc/suspend.conf`.
> 
> So, I think this just sets the resume= etc on the kernel command
> line and I had thought that this only tells the kernel where to
> resume *from*, not where to hibernate *to*. However I have not
> tested that, and it seems that it might indeed also set where it
> hibernates to as long as you first boot with that command line in
> place:
> 
>     
> https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate#Manually_specify_hibernate_location
> 
> Has anyone tried this?

No, but https://www.kernel.org/doc/html/v5.10/admin-guide/kernel-parameters.html
says that "resume=
    [SWSUSP]
    Specify the partition device for software suspend
                                 ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
    Format:
    {/dev/<dev> | PARTUUID=<uuid> | <int>:<int> | <hex>}"

Cheers,
David.

Reply via email to