I think Flashboot will give you a flying start. Look at the scripts that build the pendrive (build-usbkernel.sh and build-usbimage.sh)
https://github.com/openbsd/flashboot Best regards Johan 2011/10/6 Jiri B <[email protected]>: > Hello, > > would be possible to tell kernel via `bsd -a' or with extended > boot.conf configuration capabilities to use a root device defined > with DUID? > > My intend is to boot from an external usb stick and to have root device > in the box configured with softraid and keydisk. > > jirib

