geli keyfiles won't load automatically at boot time

Dewayne Geraghty dewayne.geraghty at heuristicsystems.com.au
Tue Mar 6 22:08:03 UTC 2012


> -----Original Message-----
> From: owner-freebsd-stable at freebsd.org 
> [mailto:owner-freebsd-stable at freebsd.org] On Behalf Of 
> xenophon\+freebsd
> Sent: Wednesday, 7 March 2012 5:03 AM
> To: freebsd-stable at freebsd.org
> Subject: geli keyfiles won't load automatically at boot time
> 
> Whether I boot from an unencrypted UFS partition or from a 
> CD, I cannot get the boot loader to load my geli keyfiles 
> automatically.  I always have to interrupt the boot process 
> and issue "load_geli" commands for each provider and its 
> corresponding keyfile.  Other settings in /boot/loader.conf 
> get read and applied correctly - kernel modules, root file 
> system specification, boot hints, etc.  Here are the relevant 
> lines from /boot/loader.conf:
> 
> geom_eli_load="YES"
> geli_ada0p2_keyfile0_load="YES"
> geli_ada0p2_keyfile0_type="ada0p2:geli_keyfile0"
> geli_ada0p2_keyfile0_file="/boot/keys/ada0p2.key"

Suggest that you try 
geli_ada0p2_keyfile0_name="/boot/keys/ada0p2.key"

Etc.
Regards, Dewayne.



More information about the freebsd-stable mailing list