On 2023-09-01 12:17, Carlos E. R. wrote:
On 2023-08-31 17:56, Carlos E. R. wrote:
On 2023-08-31 06:53, Andrei Borzenkov wrote:
On Thu, Aug 31, 2023 at 12:58 AM Carlos E. R. <> wrote:
dracut ignores swap on LUKS device with key file as resume device but has no problems adding the same LUKS device if it has x-initrd.mount option. This is inconsistent.
I got two quick replies.
https://github.com/dracutdevs/dracut/issues/2128 https://github.com/dracutdevs/dracut/issues/2425
And the suggestion to try adding `add_dracutmodules+=" resume "`, which worked :-)
Laicolasse:~ # cat /etc/dracut.conf.d/99-root-key.conf install_items+=" /.root.key " add_dracutmodules+=" resume " Laicolasse:~ #
Happy camper here :-)
I will try to add the information to the wiki page.
Well, not yet! I get the prompt from grub for the password, goes through the motions to restore, but at some point, it powers off instead! I have to press the power button, enter the password a second time, and now it fully restores. I'm not sure it happens every time, but for sure happened twice. Nothing is displayed on the screen, and nothing can be in the logs, system is not "running" while this is going on. -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.5 (Laicolasse))