diff options
author | Stefan Sperling <stsp@cvs.openbsd.org> | 2013-10-20 13:25:22 +0000 |
---|---|---|
committer | Stefan Sperling <stsp@cvs.openbsd.org> | 2013-10-20 13:25:22 +0000 |
commit | 4f1aa8321d9150707370a6c40391a5628001177c (patch) | |
tree | 2c1d1929e6fe8663886192867ef17cfaeb1eb242 /sys/arch/i386/stand/cdboot | |
parent | 61bd4a4131e18bb24f2ad10a92eb864d8c2b205c (diff) |
Add i386/amd64 boot(8) support for keydisk-based softraid crypto volumes.
So far, only passphrase-based crypto volumes were bootable. Full disk
encryption with keydisks required a non-crypto partition to load the kernel.
The bootloader now scans all BIOS-visible disks for RAID partitions and
automatically associates keydisk partitions with their crypto volume.
Attempting to boot from a volume without its keydisk currently results
in a passphrase prompt (this might be changed in the future).
There is no need to re-create existing volumes. Moving the root partition
onto the crypto disk and running installboot(8) is all that's needed.
help & ok jsing
Diffstat (limited to 'sys/arch/i386/stand/cdboot')
-rw-r--r-- | sys/arch/i386/stand/cdboot/conf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/stand/cdboot/conf.c b/sys/arch/i386/stand/cdboot/conf.c index 23c28be2f06..2930af1a2b8 100644 --- a/sys/arch/i386/stand/cdboot/conf.c +++ b/sys/arch/i386/stand/cdboot/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.20 2012/10/31 14:32:54 jsing Exp $ */ +/* $OpenBSD: conf.c,v 1.21 2013/10/20 13:25:21 stsp Exp $ */ /* * Copyright (c) 2004 Tom Cosgrove @@ -44,7 +44,7 @@ #include <dev/cons.h> #include "debug.h" -const char version[] = "3.19"; +const char version[] = "3.20"; int debug = 1; #undef _TEST |