So when i boot my device (Luks2 (unlock with TPM2 + Pin)) on systemd-boot after some wait while the system ask the pin to use the key it taken from the TPM, the system seem to “go” into emergency mode after this (i will call it timeout)
I searched how to prevent this emergency mode, and i come across this archwiki, i followed the URL to systemd, and applied the recommendation : sudo systemctl mask rescue.target rescue.service emergency.target emergency.service (also masked the rescue after more research), and relaunched mkinitcpio -P.
Yet it still happen.
So my question is this one “does someone know how to prevent this emergency mode” in the initramfs (since we are in preboot) ?
My goal is purely beauty of the boot not security increase, as root is disabled in emergency mode and it will ask the encryption pin even there.
what is exactly the system that prompt the pin / password of Luks in the bootprocess ? (so i can try to find a way to increase the timeout (if i cannot disable it).
you are right, i jumped to the gun to disable what i seen, will check for a timeout, and if i cannot find one, do you think it’s possible to “shutdown” the computer at the end of it.
i think in my memory i had a linux that did that if i did not enter the luks password fast enough in the past.