On 2014/06/19 13:26, Benjamin Baier wrote: > On 06/19/14 09:13, blueco...@telting.org wrote: > >I am trying to get OpenBSD to boot it's root drive over NFS. > > > >What is the OpenBSD's normal interface for passing parameters for > >startup? Is it a parameter string similar to Linux? I see that OpenBSD > >uses BOOTARGS. I'm not sure if that's the normal OpenBSD interface. Is > >there any documentation? So far all I have found is arguments for using > >physical disks and entering single user mode. Surely other parameters can > >be passed. > > > >P.S. If no documentation exists any help locating the code where > >BOOTARGS is processed would be appreciated. > > reading diskless(8) and bootparams(5) is a good way to start.
+1. Typically bootparams / rpc.bootparamd are used for diskless. You can however "boot -a" on some architectures to have the kernel ask which root device to use. > I don't know what you want to achieve indeed - best way to get advice about how to do something is to describe your situation (including hardware types! booting varies a lot depending on machine) and saw what you want to do.