luksAddKey successful but not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


cat /etc/crypttab
luks /dev/sda2 /root/keyfile luks


This is probably operator error but I'm not sure where to look. Any help appreciated!

Leam



--
Mind on a Mission
_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt

[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux