On 26/01/2021 09.11, J Leslie Turriff wrote:
On 2021-01-25 01:54:05 Radosław Wyrzykowski wrote:
|On sobota, 23 stycznia 2021 01:42:32 CET Carlos E. R. wrote:
...
|Do you remember to rerun dracut after you mess with /etc/crypttab? Apparently |some script assembles a crypttab used by the initramfs at that time and if you |don't regenerate it, your changes won't be reflected at boot time.
Why would I remember to do that, when there is no mention of dracut in either crypttab or cryptsetup man files? I had never even heard of dracut until you asked. (And, in the dracut man file there is no mention of crypttab at all, either.)
On openSUSE you may run the old "mkinitrd", which in fact runs dracut with the proper options. Well, it is one of those administrivia and admin must know ;-) Dracut man page doesn't mention initrd, because after all, there are hundreds of configuration files it worries about, depending on each distribution setup. cryptab file might contain a reference to this. If the encrypted disk is "/", then the initrd or initramfs must know how to open it. That's why. In my case, my initrd file is dated "Jan 17 04:08". My machine booted on "Jan 23 22:24:40", so no, I did not run mkinitrd. -- Cheers / Saludos, Carlos E. R. (from 15.2 x86_64 at Telcontar)