Thanks for sharing the early userspace alternative. I just tried both
swap partition name and UUID, one at a time, a few days ago using
release 20150518 in my X60T. None of them worked. At least the
initramfs doesn't require me to rewrite the EEPROM
Le mer. 27 mai 2015 à 7:35, Guilhem Moulin <[email protected]> a
écrit :
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.