Encrypted home partition doesn't decrypt on boot
Encrypted home partition doesn't decrypt on boot
cross-posted from: https://sh.itjust.works/post/32235573
I just installed a Debian 13 Trixie system on my laptop. I have 5 GPT partitions on 1 terabyte SSD and NO LVM!
GRUB works fine, it loads the kernel, then I enter the password to decrypt my root partition. It decrypts correctly, then hangs for 1 minute 30 seconds.
After that, I get this error:
[ TIME ] Timed out waiting for device dev-mapper-sda4_crypt.device - /dev/mapper/sda4_crypt. [DEPEND] Dependency failed for home.mount - /home/ [DEPEND] Dependency failed for local-fs.target - Local File Systems. [DEPEND] Dependency failed for systemd-fsck@dev-mapper-sda4_crypt.service - File System Check on /dev/mapper/sda4_crypt. [ TIME ] Timed out waiting for device dev-mapper-sda5_crypt.device - /dev/mapper/sda5_crypt. [DEPEND] Dependency failed for dev-mapper-sda5_crypt.swap - /dev/mapper/sda5_crypt. [DEPEND] Dependency failed for swap.target - SwapsNot once does it ask me for the password to decrypt my home partition, it just waits until it fails.
Fresh, new installation, or did home partition mounting work at one time?
Fresh new installation, but I can mount the home partition manually and continue booting.
Maybe try entering the password during that 1.5 minutes?
My thought process is that maybe it does print a prompt, but it does so while the boot process messages are going, and so the prompt just kindof gets lost somewhere in the scrollback buffer. But since it is (or rather if it is) waiting for input, it might work fine if you just enter the password and hit enter.
If as you type, it doesn't echo what you're typing, I'd say that's at least a bit of evidence that my hunch is right.
If that doesn't do it for you, maybe share what distro you're using, as well as the contents of your /etc/crypttab.