Hello
,
I have configured an encrypted disk. When FreeBSD asks me the password during the boot process FreeBSD always return a wrong key error. If I mount the disk myself (after boot), it's OK. This is not a keyboard mapping problem (I have tried to enter the password with default mapping and with my mapping).
To use Geli, I have followed the handbook. Here is my configuration.
When I mount the devices myself, I use (and it works):
Maybe the problem is in rc.conf because my device is not /dev/xxx but /dev/raid/xxx. I don't know.
Can somebody help me?

I have configured an encrypted disk. When FreeBSD asks me the password during the boot process FreeBSD always return a wrong key error. If I mount the disk myself (after boot), it's OK. This is not a keyboard mapping problem (I have tried to enter the password with default mapping and with my mapping).
To use Geli, I have followed the handbook. Here is my configuration.
Code:
[CMD]# cat /etc/fstab | grep eli[/CMD]
/dev/raid/r0s4e.eli /secret ufs rw 2 2
Code:
[CMD]# ls /boot/geli/disk.key [/CMD]
/boot/geli/disk.key
Code:
[CMD]# cat /etc/rc.conf | grep geli[/CMD]
geli_devices="r0s4e"
geli_r0s4e_flags="-p -k /boot/geli/disk.key"
# geli attach -k /boot/geli/disk.key /dev/raid/r0s4e
# mount /dev/raid/r0s4e.eli /secret
Maybe the problem is in rc.conf because my device is not /dev/xxx but /dev/raid/xxx. I don't know.
Can somebody help me?