Comment 3 for bug 293836

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Matt-

This should be handled entirely in documentation.

Here are the basic instructions:

Partition and format the USB stick
# fdisk /dev/sdb
# mkfs.ext3 /dev/sdb1

Copy your .ecryptfs to the USB stick
# mount /dev/sdb1 /mnt
# cp -a /home/USERNAME/.ecryptfs/* /mnt
# umount /mnt

Obtain the UUID
# blkid /dev/sdb1

Add to your fstab to mount on boot
UUID=46112c9a-a75d-4122-8975-cde61329w9c /home/USERNAME/.ecryptfs xfs relatime 0 2

I think that's all you need. It would be *great* if you could perhaps take these instructions, test/tweak them, and add them to a new page in the Community Wiki, perhaps:
 * http://help.ubuntu.com/community/EncryptedPrivateDirectoryUsbKey

:-Dustin