Re: Many LUKS partitions
- From: Salvatore Iovene <salvatore@xxxxxxxxxx>
- Date: Mon, 30 Apr 2007 18:22:48 +0300
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.
Thanks again.
--
Salvatore Iovene
http://www.iovene.com
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Follow-Ups:
- Re: Many LUKS partitions
- From: Salvatore Iovene
- Re: Many LUKS partitions
- References:
- Many LUKS partitions
- From: Salvatore Iovene
- Re: Many LUKS partitions
- From: Andreas Janssen
- Many LUKS partitions
- Prev by Date: Re: new kernel panics
- Next by Date: Re: hda:lost interrupt!!!
- Previous by thread: Re: Many LUKS partitions
- Next by thread: Re: Many LUKS partitions
- Index(es):
Relevant Pages
- Re: workaround for: xterm wont start on AMD K6 with stock 2.6.22-1-486 kernel
... I will try putting this in my fstab after I send this email. ... entry
is the correct Debian solution for sid. ... Both my Sarge and Etch systems mount ...
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe".
... (Debian-User) - Re: Many LUKS partitions
... - make an entry for your stick in your fstab, ... could you explain to
me why the update-initramfs -u is ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
... (Debian-User) - Re: Oops
... last won't work with fstab not having right entry. ... To unsubscribe,
send any mail to ... (freebsd-questions) - Re: After Sarge->Etch update: Computer doesnt boot. Wife unhappy.
... you did not use initrd and now it is expecting to find the initrd ... entry
in your boot loader but you don't have it. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
... (Debian-User) - XP vfat partitions
... My question is howto mount a Xp-vfat partition with 2.6 kernel. ... In my fstab
is following entry: ... To unsubscribe from this list: send the line "unsubscribe
linux-kernel" in ... (Linux-Kernel)