initrd
configuration to unlock existing LUKS device
#756
Labels
question
Not a bug or issue, but a question asking for help or information
I have an existing Nixos installation with LUKS full disk encryption and the disk partitions managed by Disko. The LUKS crypt was secured with fido2 (and a backup password) and
initrd
was set to use fido2 via:I need to switch the system to boot via the backup password but am having trouble updating
initrd
. I'm using a nixos boot disk, manually unlocking the crypt, mounting everything in/mnt
, and runningnixos-install
.When I boot the machine it goes right to attempting to mount the partitions inside the encrypted LUKS device without decrypting the LUKS device.
I tried setting
initrd.luks.devices.CRYPT.device
as described here but this conflicts with Disko's generated config.I noticed that the settings option should allow me to specify the device via the disko config. So I tried setting:
Unfortunately, this didn't help when I rebooted.
I'm not sure if it matters but I'm still using the deprecated
table
type for my disko config. I'm hesitant to change that before getting the system to boot.The text was updated successfully, but these errors were encountered: