initramfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrey Utkin <andrey.od.utkin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: LUKS rootfs & resume from suspend-to-disk - hangs on boot
Date: Tue, 22 Dec 2015 23:58:01 +0200	[thread overview]
Message-ID: <5679C769.3050903@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1156 bytes --]

Hi, I have my rootfs and swap partition LUKS-encrypted. Now I cannot
make resume from swap to work. I can only get working my LUKS rootfs
alone, without resume.
The working way, I give options

rd.luks.uuid=(rootfs-uuid)
rd.luks.key=/key:UUID=(boot uuid)
root=/dev/mapper/luks-(rootfs-uuid)

But if I remove rd.luks.uuid (specifying to open all LUKS devices), or
if I put another rd.luks.uuid parameter for my swap partition, no matter
if I specify rd.luks.key with luksdev part twice, or anyhow, it hangs on
boot. What's supposed way to accomplish this?

Note that on the same USB stick where I have /boot, I have another
partition encrypted with another key. Maybe this is what makes it hang?

I can provide any logs required, but I've tried many configurations and
nothing works, so I am asking how it is supposed to work at all, so that
I report the bug and logs against correct configuration.

Thanks in advance.

-- 
OpenPGP usage is appreciated (it also helps your letter to bypass spam
filters). To email me with encryption easily, go
https://encrypt.to/0xC6FCDB11
I also use Jabber and appreciate you to use it, too.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

                 reply	other threads:[~2015-12-22 21:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=5679C769.3050903@gmail.com \
    --to=andrey.od.utkin-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).