On Fri, 2009-10-09 at 19:48 +0200, Thomas Bächler wrote:
Hussam Al-Tayeb schrieb:
Hi, I'm having a problem with disk encryption using luks. I have my /home disk (on a separate disk 'sdb') encrypted using luks.
I have this in /etc/cryptsetup home /dev/sdb1 ASK
and this in /etc/fstab /dev/mapper/home /home ext4 defaults,user_xattr 0 1
Suddenly today, it won't accept the passphrase on boot. I'm sure that I'm entering it correctly. It took me 32 tries the first time and many more the second reboot after kernel 2.6.31.3 update.
I don't really know what's happening right now. However, you should comment out that crypttab line, mark /home as noauto in fstab, boot your system and try unlocking there manually. That way, it will be much easier to investigate the problem.
Ok, I did that. and manually run 'cryptsetup luksOpen /dev/sdb1 home' It literally took over 97 tries before it worked. How do I investigate what's happening? cryptsetup -v doesn't give extra output?