"libgcrypt.so not found" error at boot
Hi guys,
I'm running an ubuntu based OS on an encrypted external hdd drive and recently ran "apt-get autoremove" which has damaged my ability to boot the drive.
The kernel boots to the passphrase login point but then gives an error that reads something like "error loading shared library - /sbin/cryptsetup/libgcrypt.so.11 file/directory does not exist". It does let me enter the passphrase but gives an error when I submit it - "crypsetup failed: options or bad password"
So I've mounted the drive in my normal ubuntu 11.04 environment and copied the libgcrypt.so.11 from "/lib/i386-linux-gnu/libgcrypt.so.11" to:
/media/"boot partition volume identifier"/tmp/sbin
/media/"bpvi"/tmp/lib
/media/"bpvi"/tmp/lib/cryptsetup
/media/"bpvi"/tmp/usr/lib
the same error still occurs.
Any ideas? I have some vital and sensitive information on the disk so urgent help would be greatly appreciated.
Thanks in advance