![](https://seccdn.libravatar.org/avatar/9a2082377734916c01e23e4cf1ee9c05.jpg?s=120&d=mm&r=g)
On 2017-01-04 20:06, Andrei Borzenkov wrote:
04.01.2017 19:54, Andrei Borzenkov пишет:
04.01.2017 19:08, Andrei Borzenkov пишет: ...
It could be unrelated issue, I remember bug reports about missing password prompts. It could also be that installer did not add necessary modules to initrd. This needs investigation.
do you remember what configuration worked for you? raid -> luks -> lvm -> btrfs?
Yes, I believe so. Actually I became curious ... I think I'll try with Leap 42.2 now. :)
Well, I get "Failed to start systemd-cryptsetup@luks.service - no such file or directory" so it indeed looks like missing dracut modules.
This is combination of installer buglet (it does not create /etc/crypttab in this case) and (upstream) dracut bug that completely fails if device is not listed in /etc/crypttab in initrd. Workaround is to mount root (I did it from dracut shell, or live Linux would do), create /etc/crypttab with correct device and re-create initrd.
To be more specific, I did
- manually create partitions, RAID1 on these partition, LUKS on this RAID, pvcreate on LUKS, vgcreate, lvcreate. @Carlos :) - I had just root, no separate /boot nor swap to save time.
- started installer, went into expert partitioner, rescanned disks, edited LV to mount it on root
after that installation proceeded normally, including bootloader install, I was greeted with grub2 passphrase request and then initrd failed at initqueue step. I then rebooted, added "rd.break=initqueue", manually did luksOpen, lvm_scan, mount (including sys, dev and proc of course) and chroot.
I am not interested enough to pursue it further :) if you are, you may consider at least filing bug report against YaST regarding missing /etc/crypttab.
dracut part looks a bit more demanding, although I think I know how it can be fixed.
whow, thanks for all your effort, but i don't think i want to go through all of this at the moment ;) i'll just choose some setup that's supported for now :) -- Daniel Selinger, CEO Sourcy Software & Services GmbH Feldgasse 97, 3400 Kierling, Austria W: https://sourcy.io E: d.selinger@sourcy.io -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org