Tuesday, January 23, 2018

Re: Boot problem OpenBSD 6.2 amd64 softraid keydisk

On Mon, Jan 22, 2018 at 11:16:29AM +0100, Stefan Sperling wrote:
> On Mon, Jan 22, 2018 at 10:08:30AM +0100, Raimo Niskanen wrote:
> > Hello misc@!
> >
> > I just wanted to share a problem and a solution that I encountered. Just
> > posting to maybe help someone else in the future, and perhaps a developer
> > feels that improving a particular error message could be important enough.
> >
> > My goal was to create an installation with a fully encrypted hard drive
> > using a keydisk, and at first reboot into the installed system I got this:
> >
> > Booting from hard disk...
> > Using drive 0, partition 3.
> > Loading......
> > probing: pc0 com0 com1 mem[638K 3582M 496M a20=on]
> > disk: hd0+ hd1+ hd2 sr0*
> > >> OpenBSD/amd64 BOOT 3.33
> > unknown KDF type 2
> > open(sr0a:/etc/boot.conf): Operation not permitted
> > boot>
> >
> > The error message "unknown KDF type 2" is the one that maybe could
> > be improved...
>
> This error message has already been improved in -current by sunil@ in r1.3 of
> http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/lib/libsa/softraid.c
> The message now says ""keydisk not found".

Excellent!

--

/ Raimo Niskanen, Erlang/OTP, Ericsson AB

No comments:

Post a Comment