Thanks for the guide, I followed it including regenerating the initramfs, but when rebooting and entering the password on boot, it says
"cryptsetup: unknown fstype, bad password or options?"
when entering the right password.
The following works with no problem after the system boots
Code:
/sbin/cryptsetup luksOpen /dev/sda7 cryptswap1
But the code in /usr/share/initramfs-tools/scripts/local-top/cryptroot goes inside the if block at #314
Code:
if [ -z "$FSTYPE" ] || [ "$FSTYPE" = "unknown" ]; then
message "cryptsetup: unknown fstype, bad password or options?"
udev_settle
$cryptremove
continue
fi
and shows the above message.
Apparently the script isn't recognizing the encrypted filesystem, but I have no idea why.
I am on ubuntu 12.04 (Linux aularon-laptop 3.2.0-27-generic #43-Ubuntu SMP Fri Jul 6 14:25:57 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux).
If there's anything I can try to troubleshoot the problem/solve it?