How to get Gnome dialog window for password to unlock encrypted drive back

Hi I use Rocky 8.10 workstation with Gnome DE.
About a month ago, instead of getting Gnome dialog window for password to unlock encrypted drive, when booting the computer, I got a CLI / Terminal interface warning saying that firewire would be deprecated in future, and I could enter my password in the CLI.
I dont use firewire so I was not concerned about it.
The firewire warning is now gone, but I am still getting the CLI to enter my full disk encryption password.
Is there a way to get the Gnome dialog window for password to unlock encrypted drive back?
Thanks

sudo systemctl set-default graphical.target ?

Hi, I am just a home user of Rocky 8.10 workstation so I dont know what this means (except sudo) so I will look it up and learn about it.
I assume by your “?” you would like me to try it…

I tried:
sudo systemctl set-default graphical.target
and unfortunately still have the issue…

graphical.target was already the default one, but the password prompt comes before it is entered, therefore it is not the problem. It is plymouth and initramfs which seem to be relevant here.
Therefore I would check the following in this order:

  1. Ensure plymouth is installed
sudo dnf install plymouth
  1. Check if rhgb (Red Hat Graphical boot) is one the GRUB_CMDLINE_LINUX in the /etc/default/grubfile. It should look something like this;
GRUB_CMDLINE_LINUX="crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M rd.lvm.lv=rl_localhost-live/root rhgb quiet tpm_tis.interrupts=0"

If it was not already there and you added the rhgb argument, you MUST regenerate the boot config:

sudo grub2-mkconfig -o /boot/grub2/grub.cfg
  1. Backup your initramfs before playing with it. If it gets corrupted, you will not be able to boot:
sudo cp /boot/initramfs-$(uname -r).img /your/backup/directory
  1. Regenerate initramfs with dracut:
sudo dracut --force
  1. If it does not help, create file /etc/dracut.conf.d/10-crypt.conf and enter the following:
add_dracutmodules+=" crypt lvm plymouth "

and than regenerate initramfs with dracut:

sudo dracut --force
1 Like

@hs303 thanks very much for your extensive and helpful reply - I will try this soon…

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.