On Tue, Oct 10, 2017 at 04:51:58PM -0700, Scott Bonds wrote:
> installboot: no OpenBSD partition

That's the cruicial hint ^

If you see any error from installboot, you can run installboot
with the -n and -v options to diagnose further.

While in bsd.rd, you need to specify an absolute path, and add
the -r /mnt option: /mnt/usr/sbin/installboot -n -v -r /mnt sd4

> > Did you run fdisk -iy sd2 ?
> 
> No. I didn't realize I needed to. I was attempting to follow the FDE section
> of the softraid FAQ: http://www.openbsd.org/faq/faq14.html#softraid but just
> substitute a keydisk for the passphrase, but sounds like I guessed
> wrong...sorry for the noise, I'll poke around some more online and see what
> else has been written. Sounds like the keydisk needs to be bootable, and
> maybe the installer doesn't help with that. The bioctl man page doesn't have
> much to say on the subject.

installboot(8) attempts to install boot blocks on each disk which is
part of a softraid volume. For CRYPTO volumes, this includes the keydisk.
Whether or not this is intentional, I cannot tell (jsing@ might know).

So I suppose your problem is that if there's no MBR with an OpenBSD
partition on the keydisk, installing boot blocks to the keydisk fails.

In any case, I don't think there is a bug here.
If you want the documentation fixed, please send a patch to improve it.

Reply via email to