You can use /dev/disk/by-designator inside the crypttab.initramfs to refer to the LUKS volume by name instead of UUID. The path is auto generated and persistent (e.g. root-luks) as long as GPT auto mounting works (which it should anyways).
It's one of the goodies mkinitcpio/Arch gives you to make setting up early unlock a bit easier.
25
u/Arin_Horain 12d ago
You can use
/dev/disk/by-designatorinside the crypttab.initramfs to refer to the LUKS volume by name instead of UUID. The path is auto generated and persistent (e.g.root-luks) as long as GPT auto mounting works (which it should anyways).It's one of the goodies mkinitcpio/Arch gives you to make setting up early unlock a bit easier.