Skip to content

add info about initramfs #3

@karlkashofer

Description

@karlkashofer

Hi !

I implemented decrypt_keyctl on my debian server with encrypted root and several other encrypted disks.
I am asked for the passphrase in the initramfs, but as its not mounting the other disks while in initrd, i get asked for the passphrase again after booting commences.

This can be avoided by asking to decrypt all disks while in initramfs, by adding "initramfs" to the crypttab parameters:

md1_crypt UUID=xx cryptvols: luks,keyscript=decrypt_keyctl,initramfs
raid6 UUID=xx cryptvols luks,keyscript=decrypt_keyctl,initramfs
scratch UUID=xx cryptvols luks,keyscript=decrypt_keyctl,initramfs

Then all disks are opened with the cached passphrase while in initramfs.

Could you add this info to readme.md ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions