Hi
I have a LUKS encrypted drive containing the root system excluding /boot and /boot/efi.
Right after booting into Debian 12 for the first time it asks for the passphrase like it should do after the GRUB menu and initramfs has loaded. But after installing a DE, KDE Plasma, it first asks for a passphrase before the GRUB menu shows up and then after initramfs has loaded. The first time it asks it doesn't matter what I type there, correct or the wrong passphrase, it will proceed to the GRUB menu.
My boot partition is not encrypted. There is only 1 entry in /etc/crypttab. Is there something wrong in the GRUB config? In it I have set GRUB_ENABLE_CRYPTODISK=y and GRUB_CMDLINE_LINUX_DEFAULT="quiet,rd.luks.uuid=<uuid of it>". But by my understanding not having those lines in the GRUB config it shouldn't know the drive is encrypted since crypttab is on the encrypted drive.
I have a LUKS encrypted drive containing the root system excluding /boot and /boot/efi.
$ lsblk...|-nvme0n1p5 259:5 0 512M 0 part /boot/efi|-nvme0n1p6 259:6 0 200M 0 part /boot`-nvme0n1p7 259:7 0 351.2G 0 part `-cryptroot 254:0 0 351.2G 0 crypt /home/.snapshots /var /usr/local /tmp /root /home /opt /.snapshots /
Right after booting into Debian 12 for the first time it asks for the passphrase like it should do after the GRUB menu and initramfs has loaded. But after installing a DE, KDE Plasma, it first asks for a passphrase before the GRUB menu shows up and then after initramfs has loaded. The first time it asks it doesn't matter what I type there, correct or the wrong passphrase, it will proceed to the GRUB menu.
My boot partition is not encrypted. There is only 1 entry in /etc/crypttab. Is there something wrong in the GRUB config? In it I have set GRUB_ENABLE_CRYPTODISK=y and GRUB_CMDLINE_LINUX_DEFAULT="quiet,rd.luks.uuid=<uuid of it>". But by my understanding not having those lines in the GRUB config it shouldn't know the drive is encrypted since crypttab is on the encrypted drive.
Statistics: Posted by simon_kungen — 2024-08-24 18:03 — Replies 3 — Views 80