Geom_eli problems

mike at mike at
Wed May 20 01:06:27 UTC 2009

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 
>     root at  i386
>and I'm trying to encrypt my usb memory with geli.
>But it does not work according to the handbook or this homepage
>This works
>geli init -s 4096 -l 256 /dev/da0
>Enter new passphrase:
>Reenter new passphrase:

	Try with the key example from the manpage

          dd if=/dev/random of=/tmp/disk.key bs=64 count=1
           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


More information about the freebsd-questions mailing list