[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cryptsetup and how to create luks partiton?



Rui Miguel Bernardo wrote:
> Hi,

Hi,

> A -> | <- is missing between askpass and cryptsetup commands:

added, thanks for spotting it.

> How I created the luks partiton:
> 
> mkfs.ext2 -L home-rw /dev/hda1
> cryptsetup luksFormat /dev/hda1
> cryptsetup luksOpen /dev/hda1 home-rw
> mkfs.ext2 -L home-rw /dev/mapper/home-rw
> cryptsetup luksClose /dev/mapper/home-rw

the first mkfs.ext2 is pretty useless, as you'll overwrite it with
luksformat afterwards anyway. apart from that, everything looks ok. if
it still doesn't work, it's just a bug i've not yet had the time to look
at properly.

also note that this feature is kind of experimental (thus only present
in git), and not yet tested enough. also, there will have to be a
persistent=luks or something parameter, otherwise it really sucks for
people to have to enter their luks passphrases eventhough they don't
want to use persistency on these devices.

Regards,
Daniel

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/


Reply to: