2

My / was originally on an encrypted volume and was transferred to an unencrypted volume by recursively copying every directory, and then grub was reinstalled:

sudo -s cp -ax /mnt/encrypted /mnt/decrypted for f in sys dev proc ; do mount --bind /$f /mnt/decrypted/$f ; done chroot /mnt/decrypted grub-install /mnt/decrypted update-grub 

/etc/fstab was updated accordingly and the original encrypted volume was removed from /etc/crypttab, but after rebooting I'm still asked for a password to decrypt my new /.

Why is that and how can it be removed?

1 Answer 1

3

Removing cryptsetup and regenerating initramfs fixed the problem:

apt-get remove --purge cryptsetup update-initramfs -u -k all 

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.