Add a LUKS key file to initrd/initramfs to bypass second password prompt?

Clash Royale CLAN TAG#URR8PPP
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;
up vote
0
down vote
favorite
For systems using mkinitcpio, the Arch Linux Wiki contains detailed information.
For systems using mkinitrd, I have also found others have previously had success here.
I am using a Debian based OS with Systemd and mkinitramfs, and the only tutorial I have found is here and out of date as crypttab no longer supports the keyscript parameter.
What method can be used to embed a keyfile in initramfs such that the root drive encryption password is not required twice on boot?
For reference, my drive contains a single encrypted partition containing both the root file system and /boot. I know that an unencrypted boot partition gets around this problem, but obviously that doesn't solve it.
luks mkinitcpio crypttab key mkinitrd
add a comment |Â
up vote
0
down vote
favorite
For systems using mkinitcpio, the Arch Linux Wiki contains detailed information.
For systems using mkinitrd, I have also found others have previously had success here.
I am using a Debian based OS with Systemd and mkinitramfs, and the only tutorial I have found is here and out of date as crypttab no longer supports the keyscript parameter.
What method can be used to embed a keyfile in initramfs such that the root drive encryption password is not required twice on boot?
For reference, my drive contains a single encrypted partition containing both the root file system and /boot. I know that an unencrypted boot partition gets around this problem, but obviously that doesn't solve it.
luks mkinitcpio crypttab key mkinitrd
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
For systems using mkinitcpio, the Arch Linux Wiki contains detailed information.
For systems using mkinitrd, I have also found others have previously had success here.
I am using a Debian based OS with Systemd and mkinitramfs, and the only tutorial I have found is here and out of date as crypttab no longer supports the keyscript parameter.
What method can be used to embed a keyfile in initramfs such that the root drive encryption password is not required twice on boot?
For reference, my drive contains a single encrypted partition containing both the root file system and /boot. I know that an unencrypted boot partition gets around this problem, but obviously that doesn't solve it.
luks mkinitcpio crypttab key mkinitrd
For systems using mkinitcpio, the Arch Linux Wiki contains detailed information.
For systems using mkinitrd, I have also found others have previously had success here.
I am using a Debian based OS with Systemd and mkinitramfs, and the only tutorial I have found is here and out of date as crypttab no longer supports the keyscript parameter.
What method can be used to embed a keyfile in initramfs such that the root drive encryption password is not required twice on boot?
For reference, my drive contains a single encrypted partition containing both the root file system and /boot. I know that an unencrypted boot partition gets around this problem, but obviously that doesn't solve it.
luks mkinitcpio crypttab key mkinitrd
edited Jul 29 at 22:32
slmâ¦
232k65479649
232k65479649
asked Jul 29 at 22:23
Sam3000
1013
1013
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f459231%2fadd-a-luks-key-file-to-initrd-initramfs-to-bypass-second-password-prompt%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password