FreeBSD-11.2-RELEASE-amd64 "GEOM_ELI: Wrong key for d10s1d"

David Christensen dpchrist at
Mon Jan 14 02:05:42 UTC 2019

On 1/13/19 2:45 PM, Shamim Shahriar wrote:
> On 13/01/2019 22:32, David Christensen wrote:
>> freebsd-questions:
>> I have installed FreeBSD-11.2-RELEASE-amd64 onto a SanDisk Ultra Fit 
>> 16 GB USB 3.0 flash drive:
>>       devices *da1 *
>> When I boot:
>>       GELI Passphrase            ************
>>       Welcome to FreeBSD        Boot Multi User
>>       Enter passphrase for da0s1d
>> What passphrase is FreeBSD asking for?  The GELI passphrase does not 
>> work (nor does the root password):
>>         GEOM_ELI: Wrong key for *d10s1d *
> Hi David
> It appears that you might have other discs in the system, identified as 
> da0, which is encrypted and that is the passphrase it is asking for. 
> That would also explain why the installer identified your SanDisk as da1 
> (as highlighted above).
> You can check what you have in the system
> gpart show da0
> gpart show da1
> This will show you the partitions of the disks, and maybe help in 
> figuring out what is happening.
> Hope this helps
> Regards

Thanks for the reply. :-)

Correction:  the error message is:

     GEOM_ELI: Wrong key for da0s1d

To reduce confusion, I have wiped the SanDisk Ultra Fit 16 GB USB 3.0 
flash drive, disconnected all internal drives except the optical drive, 
and done a fresh install from CD to the USB flash drive.

After entering the GELI passphrase, the machine boots to the "login: " 

$ freebsd-version; uname -a
FreeBSD beastie 11.2-RELEASE FreeBSD 11.2-RELEASE #0 r335510: Fri Jun 22 
04:32:14 UTC 2018 
root at  amd64

$ gpart show da0
=>      63  31266753  da0  MBR  (15G)
         63         1       - free -  (512B)
         64  31266752    1  freebsd  [active]  (15G)

$ gpart show da1
gpart: No such geom: da1.

So, it appears that I must use CD installation media, not memstick 
media, when I want to install to a USB flash drive (?).


More information about the freebsd-questions mailing list