Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.ececs.uc.edu!news.kei.com!newsfeed.internetmci.com!csn!nntp-xfer-1.csn.net!csn!nntp-xfer-2.csn.net!yuma!purdue!mozo.cc.purdue.edu!hopf.math.purdue.edu!wilker
From: wilker@hopf.math.purdue.edu (Clarence Wilkerson)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Re: Netbooting NetBSD/SPARC from FreeBSD-box
Date: 23 Sep 1996 21:18:06 GMT
Organization: "Purdue University Department of Mathematics"
Lines: 59
Message-ID: <526uqe$5jg@mozo.cc.purdue.edu>
References: <51s4j3$2n0@charm.il.ft.hse.nl> <51ul84$68@pier2.bayarea.net> <3246E1B4.3F54BC7E@FreeBSD.org>
Reply-To: wilker@math.purdue.edu
NNTP-Posting-Host: hopf.math.purdue.edu
Keywords: Sparc Net Boot
To: "Jordan K. Hubbard" <jkh@FreeBSD.org>
Cc: wilker@math
Sparc's don't boot using the bootpd process.
The ROM on these doesn't talk "bootpd".
Instead, it uses the logically similar but still
different process of
1) requesting ip number from a machine running rarpd (
which probably gets its info from a /etc/ethers file )
2) getting a preliminary boot file via tftpd from a
server
3) reading the real kernel with the smarts inherited from
the preliminary boot
4) mounting its root and swap as described
in the /etc/bootparams file of a host. This host needs
rpc.bootparamd .
Here's a sample of the setup to boot a sparc NetBSD off a
sparc Sunos machine:
hopf2 is server host, hipx is diskless client:
These are all files on hopf2
/etc/ethers:
8:0:20:d:5e:90 hipx.cww.home.wl.in
/etc/hosts:
10.1.1.50 hipx.cww.home.wl.in hipx.cww.home hipx.cww hipx
/etc/bootparams:
hipx.cww.home.wl.in root=hopf2:/hopf\
swap=hopf2:/hopf/usr/export/sparc-xterm/swap
where swap is a file:
-rw------T 1 root wheel 33554432 May 9 05:22 /hopf/usr/export
/sparc-xterm/swap
/etc/exports:
/hopf/usr -root=hipx,access=hipx
/hopf -root=hipx,access=hipx
/tftpboot:
wilker@hopf2> ls -la 0A010132*
lrwxrwxrwx 1 root daemon
22 Apr 5 23:02 0A010132 -> boot.sun4c.sunos.4.1.3
lrwxrwxrwx 1 root daemon
22 Apr 5 23:02 0A010132.SUN4C -> boot.sun4c.sunos.4.1.3
wilker@hopf2> ls -la boot.sun4c.sunos.4.1.3
-r--r--r-- 1 root daemon
110336 Oct 17 1993 boot.sun4c.sunos.4.1.3
Hopf2 has
rpc.bootparamd
and
rarpd
started by /etc/rc.local
The nfs stuff on hopf2 is also started.
Clarence Wilkerson