Subject: Building a diskless kernel.
To: None <port-sparc@NetBSD.ORG>
From: Daniel Silen <sillen@ts.umu.se>
List: port-sparc
Date: 07/21/1995 15:03:36
I have a couple of SS1+ intended to be setup as one server with a lot of=20
disk, and the others diskless.
I and a friend tried to boot one of the diskless machines via NFS from a=20
partition at the server. Everything worked ok, until the kernel was=20
loaded into memory, and tried to mount the root, then it panic'ed.

We tried to rebuild the kernel for the diskless machines (without reading=
=20
all about it, I might add). We made a stripped version, without SCSI=20
support, basically only with support for NFS_client-mounts. It didn't=20
work either (but it was small :-).

Eventually I read about "Diskless Client Support" in SMM (nfs part), and=20
figured out one have to specify mountroot to nfs_mountroot, and swdevt[0]=
=20
to NODEV. But SMM seems to be a bit out of date. None of the files=20
mentioned existed. (The documentation to config(.new) is a bit old too).
I tried to figure out how things is nowadays by searching in the=20
source-tree, but failed.

Has anyone succeded in setting up a kernel for diskless operation?
If so, how did you do it?
Where can I find more acurate documentation about NFS, config(.new) etc?

I run NetBSD1.0. (Is things better with current?)

Thanks in advance!


/Sillen
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Daniel Silen |  sillen@ts.umu.se  | Historiegr 8A-103 | +46 90 196 889
             |  dvldsn@cs.umu.se  |    907 34 Ume=E5    | +46 10 6952451
             | sillen@tc.multi.se |       Sweden      |
            Comp. science stud. @ Ume=E5 University, Sweden
              Sysadm @ TSDF & Email-support:er @ UmDaC
GCS d-- H+ s+:- !g !p au a- w+ v C++ UA++++ P+>++++ L+ 3 N+ E K- W-- M- V -=
po+ Y+ t+ 5 j R G+ tv+ b++ D+ B+ e+++ u++(u*) h+ f r n---- y+