Add a text before pasphrase boot request

I would like to add a text above the passphrase request to decrypt the disk on startup. At startup I first have to enter the passphrase, then GRUB appears, I’m interested in adding some text in the first “screen”.
Any suggestion?

sim

I’ve never done anything of the sort and I wouldn’t be able to help you either way, but it would probably be helpful to post some details about your system.
What model is your pc? What program did you use to encrypt your disk? What is the program that runs that screen at boot?

Thank you for the reply,
I’m sorry for omited informetion. I have a HP Envy x360 2-in-1 Laptop 15-ew0xxx with EndeavourOS (Gnome 45.5). This is my disk configuration:

# fdisk -l
Disk /dev/nvme0n1: 953,87 GiB, 1024209543168 bytes, 2000409264 sectors
Disk model: SAMSUNG MZVLQ1T0HBLB-00BH1              
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 16384 bytes / 131072 bytes
Disklabel type: gpt
Disk identifier: FB2868BF-9ADF-419C-ACFC-7D*****B1C1E

Dispositivo         Start       Fine    Settori   Size Tipo
/dev/nvme0n1p1       2048     206847     204800   100M EFI System
/dev/nvme0n1p2     206848     239615      32768    16M Microsoft reserved
/dev/nvme0n1p3     239616  522690559  522450944 249,1G Microsoft basic data
/dev/nvme0n1p4  522690560  524287999    1597440   780M Windows recovery environment
/dev/nvme0n1p5  524288000  528482303    4194304     2G EFI System
/dev/nvme0n1p6  528482304 1577058303 1048576000   500G Linux filesystem
/dev/nvme0n1p7 1577058304 1581252607    4194304     2G EFI System


Disk /dev/mapper/luks-b9c87837-05f4-4f84-**********062a99b: 500 GiB, 536868814848 bytes, 1048571904 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytesencrypt your disk? What is the program that runs that screen at boot?
I/O size (minimum/optimal): 16384 bytes / 131072 bytes
[...]

My boot partition is 5 or 7 (I’m not sure) and partition 6 is my root (on Btrfs with snapshots) with a luks encription.
This is the first screen that I see when boot my pc (in this case I intentionaly type a wrong passphrase):


After that (and correct passphrase) Grub menu is load.
I would add a text before “Enter passphrase for…”. I think that is a script (or somthing like it) that start before grub to decrypt the disk.
I hope to provide all information
sim

Ah sei italiano lol
Probabilmente devi vedere se ci sono delle impostazioni di configurazione di GRUB che ti consentono di cambiare quel prompt. Io uso systemdboot, quindi non saprei aiutarti. Dai un’occhiata su Archwiki magari.


EN

You probably have to check whether there are any settings in GRUB’s config that allow you to change that prompt. I use systemdboot, so I cannot help you. Try to look it up on Archwiki though.