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!

partition layout
sda1 vfat 256M   EFI system partition
sda2 ext4 512M   boot partition
sda3 LUKS 460G   encrypted root
--   sda3_crypt  root partition, unlocks with passphrase
sda4 LUKS 465G   encrypted home
--   sda4_crypt  home partition, unlocks with passphrase
sda5 LUKS 4G     encrypted swap
--   sda5_crypt  swap partition, unlocks with keyfile

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 - Swaps

Not once does it ask me for the password to decrypt my home partition, it just waits until it fails.

  • DeltaWingDragonOP
    link
    fedilink
    arrow-up
    3
    ·
    20 hours ago

    Fresh new installation, but I can mount the home partition manually and continue booting.

    • TootSweet@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      18 hours ago

      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.

      • DeltaWingDragonOP
        link
        fedilink
        arrow-up
        1
        ·
        36 minutes ago

        That’s the first thing I tried! No effect at all. Even when I enter a wrong password, nothing happens. It doesn’t echo, but I think it wouldn’t echo anyways.

        Also, there’s not enough text that comes after decrypting the root for anything to get lost in the scrollback buffer.