You are not logged in.

#1 2023-12-04 20:50:28

860lacov
Member
Registered: 2020-05-02
Posts: 497

Is it possible to change password prompt for encrypted drive?

Is it possible to change password prompt for encrypted drive?

I have my drive encrypted with cryptluks. I use systemd boot.
During the startup, there is a prompt, "Please enter the password for Samsung nvme..."

Is it possible (and how) to change this prompt to something else?

Offline

#2 2023-12-11 18:50:38

ua4000
Member
Registered: 2015-10-14
Posts: 558

Re: Is it possible to change password prompt for encrypted drive?

Why do you want to change this line ? Is there a typo, or do you want to hide something ?

Also please be more specific, "cryptluks" does not exists.
Do you use LUKS, Plain dm-crypt, encrypted boot partition, encrypt hook, systemd-cryptsetup-generator ...

Offline

#3 2023-12-11 18:55:26

Soultrigger
Member
From: Brazil
Registered: 2021-11-04
Posts: 111

Re: Is it possible to change password prompt for encrypted drive?

Look if plymouth helps, it hides the system boot with a graphical interface and usually just shows a box to input password.

Offline

#4 2024-01-03 19:57:49

860lacov
Member
Registered: 2020-05-02
Posts: 497

Re: Is it possible to change password prompt for encrypted drive?

ua4000 wrote:

Why do you want to change this line ? Is there a typo, or do you want to hide something ?

Also please be more specific, "cryptluks" does not exists.
Do you use LUKS, Plain dm-crypt, encrypted boot partition, encrypt hook, systemd-cryptsetup-generator ...

Now it asks me for a password for nvme hard disk..
I wonder if I could change it just for a better look.

I use systemd boot.
So I have unencrypted efi partition, and encrypted system partition.
My encryption was pretty much default (cryptsetup luksFormat device) with changes in iteration time and hash.
I use sd-encrypt hook

Plymouth helps but I didn't want to use additional software.

Offline

#5 2024-01-05 10:48:30

nl6720
The Evil Wiki Admin
Registered: 2016-07-02
Posts: 714

Re: Is it possible to change password prompt for encrypted drive?

860lacov wrote:

I use sd-encrypt hook

By default it uses "Please enter passphrase for disk encrypted-device-identifier (dm-name): ".
The encrypted-device-identifier probably uses the drive model for you (you can find it with lsblk -o +MODEL). If you set a PARTLABEL for the encrypted partition, then the password prompt will show that one instead.

Offline

Board footer

Powered by FluxBB