Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jan 2019 17:55:36 -0800
From:      David Christensen <dpchrist@holgerdanske.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD-11.2-RELEASE-amd64 "GEOM_ELI: Wrong key for d10s1d"
Message-ID:  <58bfed10-9068-0686-e373-060f2d9c1a5d@holgerdanske.com>
In-Reply-To: <92beb8ff-5237-fae1-5e8a-55d33864eb11@gmail.com>
References:  <912d1c3e-8b74-5d69-d824-3656d530ae6e@holgerdanske.com> <92beb8ff-5237-fae1-5e8a-55d33864eb11@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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: " 
prompt:

$ freebsd-version; uname -a
11.2-RELEASE
FreeBSD beastie 11.2-RELEASE FreeBSD 11.2-RELEASE #0 r335510: Fri Jun 22 
04:32:14 UTC 2018 
root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  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 (?).


David



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?58bfed10-9068-0686-e373-060f2d9c1a5d>