Date: Sun, 17 May 2009 15:18:23 +0200 From: "army.of.root" <army.of.root@googlemail.com> To: Felix Stolba <alleepsilonkleinereins@gmail.com> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: GELI Passphrase at boottime Message-ID: <4A100E9F.1020807@googlemail.com> In-Reply-To: <4A1003EE.5010700@googlemail.com> References: <4A1003EE.5010700@googlemail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Felix Stolba wrote: > Hello, > > I guess this problem has persisted since 6.0 or probably earlier, at > least this is where I encountered it first. > The geli passphrase prompt (at boottime) doesn't detect keyboard input > correctly, sometimes it > will detect a key pressed, sometimes it won't etc. > > I know that disabling kbdmux helped with some people, here it doesn't > change geli's behaviour. > Also, having different keyboard mapping is out of the question. > So, I helped myself with a little script in rc.conf: > > #!/bin/sh > test -e /dev/ad0s2.eli > if [ $? -ne 0 ] then > geli attach /dev/ad0s2 > fi > > Doing this plus removing the boot flag for the geli device did the > trick, all input is detected when asked for passphrase. > After being attached, the devices get checked for errors, fragmentation > etc. and are mounted correctly as listed in /etc/fstab. > > Maybe this can help s/o with similiar problems. > > Felix Hi, there is already a way to attach geli disks via the rc.conf: geli_devices="ad4" geli_ad4_flags="-k /boot/keys/ad4.key" regards
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A100E9F.1020807>