Re: Many LUKS partitions
- From: Salvatore Iovene <salvatore@xxxxxxxxxx>
- Date: Tue, 1 May 2007 00:15:42 +0300
On Mon, 30 Apr 2007 18:22:48 +0300 Salvatore Iovene
<salvatore@xxxxxxxxxx> wrote:
On Mon, 30 Apr 2007 15:14:44 +0200 Andreas Janssen
<andreas.janssen@xxxxxxxxxxx> wrote:
- add the key to the luks-Partitions using cryptsetup luksAddKey
- make an entry for your stick in your fstab, e.g. /media/key
- copy the keyfile to the stick, e.g. to /media/key/keyfile
- change your crypttab to use the keyfile, e.g.
usr-crypt /dev/hda7 /media/key/keyfile luks
- change CRYPTDISKS_MOUNT in /etc/defaults/cryptsetup to include
your USB stick, e.g. CRYPTDISKS_MOUNT="/media/key"
- rebuild your initrd using update-initramfs -u
Hi, thanks a lot, that worked very well. Just a note: the entry for
the usb stick in fstab has to have the following options:
uid=0,gid=0,umask=277.
By the way, could you explain to me why the update-initramfs -u is
needed? Thanks.
--
Salvatore Iovene
http://www.iovene.com
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- References:
- Many LUKS partitions
- From: Salvatore Iovene
- Re: Many LUKS partitions
- From: Andreas Janssen
- Re: Many LUKS partitions
- From: Salvatore Iovene
- Many LUKS partitions
- Prev by Date: Re: webcam model for etch
- Next by Date: Re: a kde applet on gnome
- Previous by thread: Re: Many LUKS partitions
- Next by thread: programming LPT port
- Index(es):
Relevant Pages
|