Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Sep 2012 23:22:54 +0200
From:      Martin Laabs <mailinglists@martinlaabs.de>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Kernel asks only for the first GELI passphrase
Message-ID:  <5066152E.5050709@martinlaabs.de>

next in thread | raw e-mail | index | archive | help
Hello,

I have two partitions encrypted with GELI: ada0s2 and ada0s3. The loader 
(located at an unencrypted part of the harddisk) loads the kernel and the 
kernel asks me for the passphrase for ada0s2 to attach it afterwards.
However - my root file system is not at ada0s2.elia but on ada0s3.elia. 
Since the kernel did no attach ada0s3 (but the ada0s2 partition) it is also 
unable to mount the root filesystem which is somewhat bad.
So - is there a way (i.e. a loader.conf entry) how I can tell the loader 
which partition I wanna have attached with a passphrase?
I tried to look at the code from the loader but did not find the source 
file where the attaching is done.

Thank you,
  Martin




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5066152E.5050709>