libreboot
[Top][All Lists]
Advanced

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

Re: [Libreboot] note to self: hibernation


From: Guilhem Moulin
Subject: Re: [Libreboot] note to self: hibernation
Date: Wed, 27 May 2015 14:35:40 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

On Wed, 27 May 2015 at 10:16:54 +0100, The Gluglug wrote:
> resume=/dev/sd(whatever the swap pratition is)

It's more robust to use the UUID instead

    resume=UUID=$UUID

where $UUID is the UUID returned by `blkid /dev/sd(whatever the swap
partition is)`.  An alternative to a kernel command line parameter is to
use an initramfs hook:

    sed -nr '/^\s*(\S+)\s+\S+\s+swap\s.*/ {s//RESUME=\1/p;q}' /etc/fstab | sudo 
tee /etc/initramfs-tools/conf.d/resume
    sudo update-initramfs -u

-- 
Guilhem.

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]