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