GELI on USB

Ali Mashtizadeh mashtizadeh at gmail.com
Wed Dec 5 09:54:25 UTC 2012


I think I found a possible bug in 9.1 where I configured an encrypted
root partition on a USB key and I have trouble entering the password
from what seems like a race.

1. GELI first prints to ask for my password on the root, but
immediately is interrupted with a message saying that the root failed
to mount with error 19.

 As shown here: http://www.mashtizadeh.com/usbnotwaiting.jpg

When I type the file system path some characters are missing. It
appears that geli and the prompt for root are both reading the USB
keyboard input. When setting kern.geom.eli.visible_passphrase=1 then
all characters are printed on the screen, but the prompt seems to
receive bad input.

Is there a way to prevent the root mount failing immediately? I set
the boot flag and it seems this works properly on some hardware.

-- 
Ali Mashtizadeh
علی مشتی زاده


More information about the freebsd-hackers mailing list