init premount script error from dropbear

Solution 1:

If there is a leftover dropbear script in /etc/initramfs-tools/scripts/init-premount/ you can try to remove it, followed by running sudo update-initramfs, and see if that helps.