Successful test of encrypted usb drive
mike
mike.cloaked at gmail.com
Thu Apr 3 21:19:07 UTC 2008
Bruno Wolff III <bruno <at> wolff.to> writes:
> dd if=/dev/urandom of=/dev/sdc1
> cryptsetup luksFormat /dev/sdc1
> cryptsetup luksOpen /dev/sdc1 luks-usb
> mkfs -t ext3 /dev/mapper/luks-usb
> cryptsetup luksClose /dev/mapper/luks-usb
I tried this tonight and creating the encrypted file system on the
stick worked fine... but after unplugging and plugging back in it did
not automount or request the luks passphrase
- so I had to do the following:
(there was a pre-existing /mnt/usb mount point)
So
cryptsetup luksOpen /dev/sdc1 luks-usb
Enter the luks passphrase when prompted and then
mount -t ext3 /dev/mapper/luks-usb /mnt/usb
Now files can be copied into /mnt/usb/ just fine.
To close I had to do:
umount /mnt/usb
cryptsetup luksClose /dev/mapper/luks-usb
All of this was in rawhide but presumably the stick will also mount the same
way in F8.
More information about the fedora-test-list
mailing list