From Gentoo Wiki
Jump to:navigation Jump to:search
Before creating a discussion or leaving a comment, please read about using talk pages. To create a new discussion, click here. Comments on an existing discussion should be signed using ~~~~:
== Discussion title ==

{{Talk|date = 2024-05-13}}

A comment [[User:Larry|Larry]] 13:52, 13 May 2024 (UTC)
: A reply [[User:Sally|Sally]] 08:56, 28 May 2024 (UTC)
:: Your reply ~~~~ in cmdline

Talk status
This discussion is still ongoing.

When dracut decrypts a LUKS-encrypted volume it expects /etc/crypttab to contain its name [1]. However, this file is not used by OpenRC [2] and duplicating configs just for dracut can be wasteful.

A short solution would be to add to dracut.conf:

kernel_cmdline="<crypto_LUKS UUID>=root root=/dev/mapper/root"

This way, UUID is only mentioned once. Contrary to [3] this works (I use it). However, is documented for systemd [4], but not for dracut. Can I add this as a small "LUKS" section for OpenRC people?

[1] (comment #11)
[2] (post #2)

UncleTed (talk) 14:30, 3 January 2024 (UTC)