*BSD News Article 69707


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!metro!metro!asstdc.scgt.oz.au!nsw.news.telstra.net!act.news.telstra.net!imci3!newsfeed.internetmci.com!portal.gmu.edu!hearst.acc.Virginia.EDU!news-server.ncren.net!concert!relay.ga.unc.edu!newton.uncg.edu!not-for-mail
From: rjadams@prin.uncg.edu (Robert Adams)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Re: Trying to boot sun 3/50 off of a solaris box
Date: 29 May 1996 08:28:09 GMT
Organization: The University of North Carolina at Greensboro
Lines: 41
Message-ID: <4oh1qp$7au@newton.uncg.edu>
References: <4oecg2$s7c@newton.uncg.edu> <4ogr5b$6ap@newton.uncg.edu>
NNTP-Posting-Host: irc.uncg.edu
X-Newsreader: TIN [UNIX 1.3 BETA-950824-color PL0]

Robert Adams (rjadams@prin.uncg.edu) wrote:
: : I wish to boot a diskless sun 3/50 (netbsd 1.1) off of a solaris 2.5 box
: : This doesnt seem to be working..
: okay, due to a kindly suggestion from Andrew Gillham, i got lots further..
: I got the bootloader from sunos 4.1.1 (from the xkernel distributions)
: now NetBSD boots!
:  
: almost.. (it gets as far as:)
: root on 192.168.1.1:/export/morden/root
: swap on 192.168.1.1:/export/morden/swap
: exec /sbin/init: error 13
: init: not found
: panic no init

problem solved.  you must export rhe root fs with root permissions,

to recap: in order to make a sun 3/50 boot off of a solaris 2.5 machine
you need to:

1) get the xkernel sources, and use the sunos boot loader from it.
2) compile rpc.bootparamd from the xkernel sources (under solaris you 
   need to, change "linux/nfs.h" in the .x file to be <nfs/nfs.h>
   and comment the ioctl line out of the resulting rpc.bootparamd
   to get it to compile.)
3) make sure the rootfs for your sun is expored to the client with root access.

(and be sure to remember to do MAKEDEV in the /dev dir.. i forgot to do that 
and it confused me.. its always the simple things that will get you
fater complex problems are solved. :^)

Hope this will help  anyone else out the who has the same problems.

I do beleive there is a bug somewhere tho.. as the netbsd code will neither use
the solaris bootparamd or the rarpd to get its boot info, this probably should 
be looked into,


Robert
--
Robert Adams
Robert_Adams@uncg.edu