You are not logged in.

#1 2012-11-03 17:22:14

doupod
Member
Registered: 2012-09-06
Posts: 76

Encrypt - How to modify the encrypt hook ?

Hi,

I'm running Arch on a LVM on LUKS partition scheme.

I use a key file to unlock the LUKS containers and I don't have any passphrases.

So, I'd like to modify the encrypt hook to not ask for a passphrase if it doesn't find any key file.

1) Do you have any ideas for a plausible error to return (text to write on screen) such as "Boot failure" or so ?

2) How can I stop the boot in the encrypt hook ? Is there a way to return a fatal error or something like that ?

Thanks.

Offline

Board footer

Powered by FluxBB