Re: DUID base root device for kernel

2011-10-09 Thread Jiri B
Hello, I tried to boot via `bsd -a' and then asked for root device I wrote DUID of accessible disk but no success. root device (default sd0a): fba123e4bd29707a.a use one of: exit em0 iwn0 sd0[a-p] cd0[a-p] sd1[a-p] sd2[a-p] I still do not understand meaning of this commit, sorry I don't know C

Re: DUID base root device for kernel

2011-10-09 Thread Johan Ryberg
You can mount with duid in fstab but I can't find a way to change root device to a duid in the boot manual. You must use a device found in /dev/ http://www.openbsd.org/cgi-bin/man.cgi?query=bootsektion=8arch=i386apropos=0manpath=OpenBSD+Current // Johan 2011/10/9 Jiri B ji...@wolfman.devio.us:

Re: DUID base root device for kernel

2011-10-07 Thread Jiri B
It looks it is already possible to have duid for root device: http://www.openbsd.org/cgi-bin/cvsweb/src/sys/kern/subr_disk.c#rev1.120 I will test during weekend. jirib

Re: DUID base root device for kernel

2011-10-07 Thread Joel Sing
On Thursday 06 October 2011, Jiri B wrote: would be possible to tell kernel via `bsd -a' or with extended boot.conf configuration capabilities to use a root device defined with DUID? Short answer, no. My intend is to boot from an external usb stick and to have root device in the box

Re: DUID base root device for kernel

2011-10-07 Thread Jiri B
On Fri, Oct 07, 2011 at 11:49:17PM +1100, Joel Sing wrote: On Thursday 06 October 2011, Jiri B wrote: would be possible to tell kernel via `bsd -a' or with extended boot.conf configuration capabilities to use a root device defined with DUID? Short answer, no. So what is this commit

DUID base root device for kernel

2011-10-06 Thread Jiri B
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

Re: DUID base root device for kernel

2011-10-06 Thread Johan Ryberg
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 ji...@wolfman.devio.us: Hello, would be possible to tell kernel via `bsd -a' or with

Re: DUID base root device for kernel

2011-10-06 Thread Jiri B
On Thu, Oct 06, 2011 at 10:18:40AM +0200, Johan Ryberg wrote: 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 I think you don't understand me. I