> update-initramfs: Generating /boot/initrd.img-4.18.0-3-amd64 > cryptsetup: ERROR: Couldn't resolve device rootfs > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
this is due rootfs / rootfs rw 0 0 line in /etc/mtab remove it and the problem no more.