On 4 December 2014 18:32:16 CET, Michael Vetter 
<michael.vet...@uni-konstanz.de> wrote:
>Am 04/12/14 18:10, schrieb Randolph Maaßen:
>> 2014-12-04 17:58 GMT+01:00 Michael Vetter
><michael.vet...@uni-konstanz.de>:
>>>> Did you try suspending using the echo command I mentioned earlier?
>>> Yes, it seemed to work (just starting up again didn't).
>>>
>>>> You can set the resume partition in the kernel. Might be an option.
>>> Okay, so I changed my kernel command string from "root=/dev/sdb2" to
>>> "root=/dev/sdb2,resume=/dev/mapper/g-SWAP".
>> 
>> In my menuconfig I have a space separated list, not comma separated.
>> So I guess the boot failure is, that the kernel can't find the root
>> partition /dev/sdb2,resume...
>
>Okay, sorry thought this is equivalent to [1].
>Anyways, I changed it to space and my system boots now.
>So I tried the suspend command again, but when rebooting its like a
>fresh reboot.
>
>Any ideas?
>
>[1] http://man7.org/linux/man-pages/man7/bootparam.7.html

Yes.
If using LVM for the swap partition (and subsequently the resume) you need to 
use an initramfs.

I will dig out the script I use on my laptop and post it tomorrow. (It boots 
faster with a custom script compared to the genkernel or dracut ones)

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Reply via email to