TPM2 PCR Barrier (Initialization) blocking boot
Hi everyone,
SOLUTION: Uninstall tpm2-abrmd. Not sure if this is going to affect anything long term but I managed to re-enroll my LUKS keys into the TPM without this package so I think for now it's fine.
I have TPM2 setup on my Arch install that I use to unlock my LUKS encrypted root, using a 4-digit PIN rather than my full LUKS passphrase.
I've today ran an update that included a systemd update (I saw the thread about this breaking systemd-boot, however I don't actually use systemd-boot so I was seemingly unaffected, I just have an EFI stub I boot directly).
The OS mostly boots fine and seems to initialize everything in the console, except for this one startup message:
A start job is running for TPM2 PCR Barrier (Initialization) (1min / no limit)
The timer just ticks up indefinitely and the OS goes nowhere towards booting any further. Everything else seems to have booted fine except this, and GDM never shows up.
Anyone else ran into this? I'm thinking of booting a live disk and just redoing the TPM setup but wondering if there's a quicker fix before I do!
Edited 11 Nov 2022. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 21 · 97% up
- Kind
- Text
- ID
- yshlbf
9 comments
I'm not using TPM2 for LUKS (I just enter my full passphrase on every boot), but I was affected by a similar error. My solution was to chroot into my system from a live disk and
maskthesystemd-pcrphase.service,systemd-pcrphase-initrd.service,systemd-pcrphase-sysinit.serviceunits. Although I guess in your case this wouldn't work, since it'd likely break the TPM2 setup.See also the Arch bug report: https://bugs.archlinux.org/task/76527 and the corresponding systemd bug report: https://github.com/systemd/systemd/issues/25352
Yeah that might cause issues with TPM! I think the worst that'll happen is that I'll have to enter my passphrase manually though so as long as it works for now I'll give it a try, and report back. Thanks!
Had the same issue. I found post on manjaro's forum and removing tpm2-abrmd (from chroot) fixed issue for me. Maybe it will help you also
Looks like that's fixed it for me (and without having to resort to disabling the TPM setup!) That's fantastic, thanks a lot. Solved!
does your tpm support sha1 PCRs only?
you can check that with tpm2_pcrread.