freebsd-dev/sys/boot/forth
Devin Teske ba22fa80f2 Add "GELI Passphrase:" prompt to boot loader.
Summary:
Add "GELI Passphrase:" prompt to boot loader.

A new loader.conf(5) option of geom_eli_passphrase_prompt="YES" will now
allow you to enter your geli(8) root-mount credentials prior to invoking
the kernel.

See check-password.4th(8) for details.

Differential Revision:	https://reviews.freebsd.org/D2105
Reviewed by:	(your name[s] here)
MFC after:	3 days
X-MFC-to:	stable/10
Relnotes:	yes

Test Plan:
Drop a head copy of check-password.4th into /boot and then apply the patch
(only the patch to /boot/check-password.4th is required; no other changes are
required but you do have to have a HEAD copy of check-password.4th to
apply the patch).

NB: The rest of your /boot files can be up to 2 years old but no older.
NB: The test won't work unless your kernel has the following change

https://svnweb.freebsd.org/base?view=revision&revision=273489

Now, put into /boot/loader.conf:

geom_eli_passphrase_prompt="YES"

and reboot.

You should be prompted for a GELI passphrase before the menu (if enabled),
just after loading loader.conf(5).

NB: It doesn't matter if you're using GELI or not. However if you are using
GELI and a sufficiently new enough release (has SVN r273489) and you entered
the proper passphrase to mount your GELI encrypted root device(s), you should
notice that the boot process did not stop (you went from loader all the way to login).

Reviewers: cperciva, allanjude, scottl, kmoore

Subscribers: jkh, imp

Differential Revision: https://reviews.freebsd.org/D2105
2015-04-01 02:01:34 +00:00
..
beastie.4th Solve dreaded "dictionary full" issue by segregating words into new 2015-04-01 01:54:28 +00:00
beastie.4th.8 Disable the beastie menu for EFI console which doesn't support ANSI codes 2014-04-27 22:18:33 +00:00
brand-fbsd.4th Move beastie to logo-*.4th; brands to brand-*.4th 2015-04-01 01:14:19 +00:00
brand.4th Move beastie to logo-*.4th; brands to brand-*.4th 2015-04-01 01:14:19 +00:00
brand.4th.8 mdoc: improvements to SEE ALSO. 2014-12-27 07:07:37 +00:00
check-password.4th Add "GELI Passphrase:" prompt to boot loader. 2015-04-01 02:01:34 +00:00
check-password.4th.8 Add "GELI Passphrase:" prompt to boot loader. 2015-04-01 02:01:34 +00:00
color.4th
color.4th.8
delay.4th Solve dreaded "dictionary full" issue by segregating words into new 2015-04-01 01:54:28 +00:00
delay.4th.8 mdoc: improvements to SEE ALSO. 2014-12-27 07:07:37 +00:00
frames.4th Solve dreaded "dictionary full" issue by segregating words into new 2015-04-01 01:54:28 +00:00
loader.4th Solve dreaded "dictionary full" issue by segregating words into new 2015-04-01 01:54:28 +00:00
loader.4th.8
loader.conf Add "GELI Passphrase:" prompt to boot loader. 2015-04-01 02:01:34 +00:00
loader.conf.5 Disable the beastie menu for EFI console which doesn't support ANSI codes 2014-04-27 22:18:33 +00:00
loader.rc
logo-beastie.4th Move beastie to logo-*.4th; brands to brand-*.4th 2015-04-01 01:14:19 +00:00
logo-beastiebw.4th Move beastie to logo-*.4th; brands to brand-*.4th 2015-04-01 01:14:19 +00:00
logo-fbsdbw.4th Move beastie to logo-*.4th; brands to brand-*.4th 2015-04-01 01:14:19 +00:00
logo-orb.4th Move beastie to logo-*.4th; brands to brand-*.4th 2015-04-01 01:14:19 +00:00
logo-orbbw.4th Move beastie to logo-*.4th; brands to brand-*.4th 2015-04-01 01:14:19 +00:00
menu-commands.4th Solve dreaded "dictionary full" issue by segregating words into new 2015-04-01 01:54:28 +00:00
menu.4th Solve dreaded "dictionary full" issue by segregating words into new 2015-04-01 01:54:28 +00:00
menu.4th.8 mdoc: improvements to SEE ALSO. 2014-12-27 07:07:37 +00:00
menu.rc
menusets.4th Solve dreaded "dictionary full" issue by segregating words into new 2015-04-01 01:54:28 +00:00
menusets.4th.8 mdoc: improvements to SEE ALSO. 2014-12-27 07:07:37 +00:00
pcibios.4th Comments. No functional change(s). 2015-03-31 22:32:35 +00:00
pnp.4th Comments. No functional change(s). 2015-03-31 22:32:35 +00:00
screen.4th Add remainder of supported ANSI escape sequences. 2015-04-01 01:17:36 +00:00
shortcuts.4th
support.4th Solve dreaded "dictionary full" issue by segregating words into new 2015-04-01 01:54:28 +00:00
version.4th Solve dreaded "dictionary full" issue by segregating words into new 2015-04-01 01:54:28 +00:00
version.4th.8 mdoc: improvements to SEE ALSO. 2014-12-27 07:07:37 +00:00