Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 May 2009 21:05:44 -0400
From:      mike@sentex.net
To:        Bernt Hansson <bernt@bah.homeip.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Geom_eli problems
Message-ID:  <2hl6151da28m4e9ur1h6l7rn5mckg0fut3@4ax.com>
In-Reply-To: <4A12A466.3020202@bah.homeip.net>
References:  <4A12A466.3020202@bah.homeip.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 19 May 2009 14:21:58 +0200, in sentex.lists.freebsd.questions
you wrote:

>Hello list.
>
>I'm running this;
>
>FreeBSD 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009=
=20
>     root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>
>and I'm trying to encrypt my usb memory with geli.
>
>But it does not work according to the handbook or this homepage
>http://cb.vu/unixtoolbox.xhtml#cryptpart
>
>This works
>
>geli init -s 4096 -l 256 /dev/da0
>Enter new passphrase:
>Reenter new passphrase:


Hi,
	Try with the key example from the manpage

          dd if=3D/dev/random of=3D/tmp/disk.key bs=3D64 count=3D1
           geli init -s 4096 -K /tmp/disk.key /dev/da0
           Enter new passphrase:
           Reenter new passphrase:
           # geli attach -k /tmp/disk.key /dev/da0
           Enter passphrase:
           # newfs /dev/da0.eli
           # mount /dev/da0.eli /mnt
           ...
           # umount /mnt
           # geli detach da0.eli


	---Mike



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2hl6151da28m4e9ur1h6l7rn5mckg0fut3>