disko wrote:The is how I got install to resume from hibernate (LDME, but should work still).
use blkid to get the UUID number of your swap partition and make sure this number matches the one in /etc/fstab.
got to /etc/initramfs-tools/conf.d check the UUID in the resume file in this DIR matches the one you got from BLKID
run update-initramfs -u
reboot, ensure you system is set to hibernate, pop open a few programs to test and try to hibernate and resume.
Hope that helps, worked for me..
Running isadora on my Lenovo X60 laptop with two hard disks installed and two OS's on each disk. I tried this solution once before with only one hard disk and the DVD drive installed in the multi-bay. Now I only use the DVD occassionally so I am keeping both hard drives installed most of the time. Here's the results of:
step 1) blkid shows two swap partitions
/dev/sda5: UUID="f283b760-334f-4799-a454-1eecbee6b2fc" TYPE="swap"
/dev/sdb5: UUID="802286a9-86b8-4613-8ed5-bb79d37a07b0" TYPE="swap"
step 2) resume file showed the correct UUID for /dev/sdb5
RESUME=UUID=802286a9-86b8-4613-8ed5-bb79d37a07b0
(I notice that there is no mention of /dev/sdb5 OR /dev/sda5 and wonder if that's significant because)
step 3) I added a line to the resume file so it now reads as follows
RESUME=UUID=802286a9-86b8-4613-8ed5-bb79d37a07b0
RESUME-UUID=f283b760-334f-4799-a454-1eecbee6b2fc
Resulting in:
kenneth@kenneth-Lenovo-X60 ~ $ sudo update-initramfs -u
update-initramfs: Generating /boot/initrd.img-2.6.32-21-generic
/etc/initramfs-tools/conf.d/resume: 2: RESUME-UUID=f283b760-334f-4799-a454-1eecbee6b2fc: not found
corrected line 2 of above replacing "-" with "=" and ran update initramfs -u with following result
kenneth@kenneth-Lenovo-X60 ~ $ sudo update-initramfs -u
update-initramfs: Generating /boot/initrd.img-2.6.32-21-generic
cryptsetup: WARNING: found more than one resume device candidate:
UUID=802286a9-86b8-4613-8ed5-bb79d37a07b0
UUID=f283b760-334f-4799-a454-1eecbee6b2fc
I am now going to try rebooting and see what happens. I'll be back to report results.
UPDATE: After rebooting, creating a test document in Libre Office, running Guayadeque, I did Menu/Quit/Hibernate with same result. Screensaved starts and then freezes. Only way out is to power down with the power button and then reboot. Seems like when I was previously running LM 10 I could recover from suspend and hibernate but not with LM11, 12, and now LM9. It is frustrating to say the least.
2nd UPDATE: Dead in the water! I tried to resolve the problem by editing /etc/fstab where UUID had gotten swapped from /dev/sda5 to /dev/sdb5 Strangely enough Bodhi Linux boots, suspends, and hibernates just fine, but at present I cannot boot into isadora. I tried editing /etc/initramfs-tools/conf.d/resume back to what it was from within Bodhi, but file permissions would not permit. How do I fix this mess? Worst case I reinstall LM9 after finding a safe place for /home.
All suggestions considered and welcomed