From Gentoo Wiki
Jump to:navigation Jump to:search
This is a Talk page - please see the documentation about using talk pages. Add newer comments below older ones, sign comments using four tildes (~~~~), and indent successive comments with colons (:). Add new sections at the bottom of the page, under a heading (== ==). Please remember to mark sections as "open for discussion" using {{talk|open}}, so they will show up in the list of open discussions. 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)