All of lore.kernel.org
 help / color / mirror / Atom feed
* LUKS rootfs & resume from suspend-to-disk - hangs on boot
@ 2015-12-22 21:58 Andrey Utkin
  0 siblings, 0 replies; only message in thread
From: Andrey Utkin @ 2015-12-22 21:58 UTC (permalink / raw)
  To: initramfs-u79uwXL29TY76Z2rM5mHXA

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-12-22 21:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-22 21:58 LUKS rootfs & resume from suspend-to-disk - hangs on boot Andrey Utkin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.