You are not logged in.

#1 2021-08-20 16:14:31

shrvtv
Member
Registered: 2021-07-25
Posts: 18

How to change disk password prompt text while using luks.name?

I have an encrypted drive which decrypts on boot using luks.name hook in bootloader config. I want to change the decryption prompt from "Please enter the passphrase to unlock disk: x" to something more unique. For example in Ubuntu I could modify cryptsetup script in initramfs hooks, but obviously, there is no such script in Arch. However I couldn't find any helpful info in wiki. So, how to do this?

Last edited by shrvtv (2021-08-20 16:17:55)

Offline

#2 2021-08-20 17:25:24

loqs
Member
Registered: 2014-03-06
Posts: 19,007

Re: How to change disk password prompt text while using luks.name?

It looks to be hard coded into the source see https://github.com/systemd/systemd/blob … tup.c#L570

Offline

Board footer

Powered by FluxBB