From: "J. Roeleveld" <joost@antarean.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] hibernation
Date: Thu, 04 Dec 2014 19:52:44 +0100 [thread overview]
Message-ID: <1450AC75-3E80-43CA-835B-3D6629D9E3F8@antarean.org> (raw)
In-Reply-To: <54809AA0.80805@uni-konstanz.de>
On 4 December 2014 18:32:16 CET, Michael Vetter <michael.vetter@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.vetter@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.
next prev parent reply other threads:[~2014-12-04 18:52 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-03 10:32 [gentoo-user] hibernation Michael Vetter
2014-12-03 10:39 ` Randolph Maaßen
2014-12-03 12:43 ` J. Roeleveld
2014-12-03 12:50 ` Marc Stürmer
2014-12-04 16:30 ` Michael Vetter
2014-12-04 16:40 ` J. Roeleveld
2014-12-04 16:58 ` Michael Vetter
2014-12-04 17:10 ` Randolph Maaßen
2014-12-04 17:32 ` Michael Vetter
2014-12-04 18:52 ` J. Roeleveld [this message]
2014-12-06 7:38 ` J. Roeleveld
2014-12-04 21:22 ` Marc Stürmer
2014-12-05 15:08 ` [gentoo-user] hibernation James
2014-12-06 7:41 ` J. Roeleveld
2014-12-06 11:15 ` Mick
2014-12-06 13:59 ` Neil Bothwick
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1450AC75-3E80-43CA-835B-3D6629D9E3F8@antarean.org \
--to=joost@antarean.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox