System info
Boot stack: dracut + installkernel + grub (with secureboot shim file)
/etc/fstab
/boot/EFI/Gentoo/grub.cfg
blkid
/etc/default/grub
etc/dracut.conf
grub-mkconfig (GRUB) 2.12
dracut 106
installkernel 60
Background
Issues occurred after updating @world (and nvme firmware via fwupd) but don't believe these are related. Issue persists after reinstalling (which I needed due to some idiocy with /var/db/pkg). An older install on a different machine works fine and does not have the following behavior (but unable to trace why that works).
Description
After decyrpting the system after booting, the console hangs for a few minutes before going to the initramfs debug shell, throwing an error indicating /dev/mapper/root cannot be found. This is due to the mapper device actually being /dev/mapper/luks-blah-blah-blah but GRUB insists on adding the former to my grub.cfg. I use UUIDs in my dracut.conf, fstab, and tried to manually set the GRUB_CMDLINE_LINUX with the correct root=UUID... but this only gets appended after the root=/dev/mapper/root cmdline in the grub.cfg. I can continue booting after a quick dmsetup rename luks-blah-blah root so I know this isn't a different issue (graphics).
I suspect this is due to some weird behavior with how grub-probe is getting the device name, maybe related to thinking my partition is an lvm device rather than luks? I noticed the grub-probe errors between my working and borked system are different. I don't know if this is useful but it is interesting.
# Non-working system
>>> grub-probe /
grub-probe: error: disk `lvm/root' not found.
# Working system
>>> grub-probe /
grub-probe: error: disk `hostdisk//dev/dm-0' not found.