Re: cryptsetup luksAddKey == Can't open device:

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

 



Lance W. Haverkamp wrote:

It works fine as long as I type in a password at boot.  I'm trying to
use a keyfile on a USB flash drive.

Every time I try to enter:

# cryptsetup luksAddKey [anything here like /media/sda1] keyfile

I always get:

Can't open device: /media/sda1 (or whatever)

That device is the luks device.  The keyfile should reside on the USB stick.

cryptsetup luksAddKey /dev/hda2 /path/to/file/on/usb/stick

Dick


---------------------------------------------------------------------
dm-crypt mailing list - http://www.saout.de/misc/dm-crypt/
To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx
For additional commands, e-mail: dm-crypt-help@xxxxxxxx


[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