Skip to contentSkip to conversation

LUKS rootfs & resume from suspend-to-disk - hangs on boot

DISCUSSION Andrey Utkin 1 participant 1 message Dec 22, 2015

lore
Share & tools
lore
#0 lore raw

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.

Signature · 4 lines
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.