Help! I've nearly broken my desk banging my head against this problem. I am using Red Hat 5.9 base install and trying to set the LUKS volume to come on-line on boot.
The volume can be manually mounted. However, when I try to create the key file it becomes a 0 length file and does not work when the system boots.
cryptsetup luksAddKey /dev/sda2 keyfile
Enter any LUKS passphrase:
Verify passphrase:
key slot 0 unlocked.
Command successful.
ls -lart keyfile
-rw------- 1 root root 0 May 22 08:42 keyfile
cryptsetup luksAddKey /dev/sda2 keyfile
Enter any LUKS passphrase:
Verify passphrase:
key slot 0 unlocked.
Command successful.
ls -lart keyfile
-rw------- 1 root root 0 May 22 08:42 keyfile
cat /etc/crypttab
luks /dev/sda2 /root/keyfile luks
luks /dev/sda2 /root/keyfile luks
This is probably operator error but I'm not sure where to look. Any help appreciated!
Leam
Leam
_______________________________________________ dm-crypt mailing list dm-crypt@xxxxxxxx http://www.saout.de/mailman/listinfo/dm-crypt