Before I really get kicked: I don't think those refences are in the config, but there certainly are references to i386 diskless booting in some older online docs, like this one:
http://www.onlamp.com/pub/a/bsd/2004/04/29/Big_Scary_Daemons.html I tried something similar, because I wanted to see if I could mount an NFS partition from my Soekris, running OpenBSD, but I couldn't get it to work. I also couldn't get NFS support to compile properly, so I left it and dived into the "miniroot" stuff. This can serve as an alternative to mount / on NFS, except that it has quite stringent size limitations. By the way, the fact that PXE booting is also often referred to as "diskless booting" (which technically it is), doesn't make life easier for someone who is new to both topics, as they are both quite different. Finally, from the document above: "OpenBSD provides a kernel configuration specifically for i386 diskless operations. It's called DISKLESS." That config presumably contained all support that's needed for a Sun-style diskless boot, but it seems to have been obsoleted for i386. And from diskless(8): "The procedures for AMD64 and i386 clients vary somewhat to the stages detailed above. See pxeboot(8) for more detailed information." They seem to vary more than "somewhat".. Bill On Mon, 2006-12-11 at 06:59 +0100, Bill Maas wrote: > I tried that too a while ago, without success. If I remember it well, > support for diskless booting was dropped for i386 at some point, though > the config still contains references to it here and there. But someone > kick me if I'm wrong.. > > Bill > > On Sun, 2006-12-10 at 22:09 -0600, Jacob Yocom-Piatt wrote: > > the diskless(8) manpage is quite informative but it omits any discussion of > > the > > necessary kernel config for running diskless. the closest thing i could > > find was > > > > http://marc.theaimsgroup.com/?l=openbsd-misc&m=107368329021519&w=2 > > > > the goal is to get a soekris 4801 running diskless and i tried taking the > > flashdist 4801 config for 4.0 and making a single modification. the only > > change > > made was > > > > #config bsd root on wd0a > > config bsd root on nfs swap on nfs > > > > and i got an error during the make > > > > # make > > mkdir -p /usr/src/sys/arch/i386/compile/NET4801/lib/kern > > making sure the kern library is up to date... > > `libkern.o' is up to date. > > making sure the compat library is up to date... > > `libcompat.a' is up to date. > > sh /usr/src/sys/arch/i386/compile/NET4801/../../../../conf/newvers.sh > > cc -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes > > -Wno-uninitialized > > -Wno-format -Wno-main -Wstack-larger-than-2047 -march=i486 > > -fno-builtin-printf > > -fno-builtin-log -O2 -pipe -nostdinc -I. > > -I/usr/src/sys/arch/i386/compile/NET4801/../../../../arch > > -I/usr/src/sys/arch/i386/compile/NET4801/../../../.. -DDDB -DDIAGNOSTIC > > -DKTRACE > > -DCRYPTO -DFFS -DMFS -DTCP_SACK -DTCP_SIGNATURE -DFDESC -DFIFO -DKERNFS > > -DPROCFS > > -DINET -DALTQ -DIPSEC -DBOOT_CONFIG -DI586_CPU -DUSER_PCICONF -DPTRACE > > -DPCCOMCONSOLE -DCONSPEED="0x4b00" -DPCIVERBOSE -D_KERNEL -Di386 -c vers.c > > rm -f bsd > > ld -Ttext 0xD0200120 -e start -N -S -x -o bsd ${SYSTEM_OBJ} vers.o > > swapbsd.o(.data+0x20): undefined reference to `nfs_mountroot' > > *** Error code 1 > > > > Stop in /usr/src/sys/arch/i386/compile/NET4801 (line 344 of Makefile). > > > > suggestions as to the correct config setting would be appreciated. was there > > ever a DISKLESS config in the source tree? > > > > cheers, > > jake > > > > -- Good that there are standards, and enough of them