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
- 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, ... - rebuild your initrd
using update-initramfs -u ... Just a note: the entry for the ... 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) - 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) - Does noauto really mean noauto in FC3?
... I have disabled 'fstab-sync' per the instructions contained in 'man ... This
entry in 'fstab' worked as expected in FC1. ... If an IDE drive is present and one
of its partitions is listed ... (linux.redhat)