OSInside / kiwi

KIWI - Appliance Builder Next Generation
https://osinside.github.io/kiwi
GNU General Public License v3.0
281 stars 142 forks source link

LUKS Tumbleweed disk image drops to a grub emergency shell after entering the password #2239

Open dcermak opened 1 year ago

dcermak commented 1 year ago

Problem description

The LUKS disk image fails to boot, after entering the LUKS password "linux" it drops into a grub emergency shell instead of booting. This can be observed in openQA: https://openqa.opensuse.org/tests/3050041#step/boot/3 but I have reproduced this locally as well

Steps to reproduce the behavior

OS and Software information

Kethen commented 10 months ago

Not sure if this issue was marked as resolved somewhere but here are my findings

Was building MicroOS Tumbleweed for my laptop, noticed the same behaviour if I specify <type luks_version="luks2" ...>, but it's fine if I go with "luks1" instead

I have no idea where the kiwi image description lives for this particular image, so I'm guessing the breaking change was cryptsetup defaulting to luks2 argon2id, while grub2 packaged with tumbleweed lacks luks2 argon2id support, causing the particular issue

Yast installer on the otherhand seems to still default to luks1 so the issue is not observed over there