Trying to boot sun 3/50 off of a solaris box

Trying to boot sun 3/50 off of a solaris box

Post by Robert Ada » Wed, 29 May 1996 04:00:00



Hello...

Here is what I am trying to do:
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..

i have on the solaris machine /tftpboot/C0A80102 which is the netbsd loader
program, and /export/morden/root (which is base.tar.gz + etc.tar.gz + sec)
and finally /export/morden/swap which is a 16M file
/etc/bootparams on the server is like this:

192.168.1.2     root=192.168.1.1:/export/morden/root \  
            swap=192.168.1.1:/export/morden/swap

/etc/ethers is set up properly, and all the daemons fire up nicely.
and /export is shared to morden (what I named the 3/50)

I turn the 3/50 on, and it gets it's ipaddress fine
(in.rarpd -da on the server shows two sucessful requests for the IP)

it then sucessfully tftp's tht proper netboot image, and executes it.
the i get:

NetBSD netboot [$Revision 1.2 $]
Requesting internet address for 8:0:20:1:FC:8E
\
^ is a twirlie thing, which sits there and twirls, and thats it.
rarpd doesnt see any more reuqests.

am i doing something wrong?  (other than actually trying to USE a 3/50 :^)

any help greatly appriciated.

Robert
--
Robert Adams

 
 
 

Trying to boot sun 3/50 off of a solaris box

Post by Robert Ada » Thu, 30 May 1996 04:00:00


: Here is what I am trying to do:
: 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

(in case it matters, I'm using the netbsd generic kernel, from netbsd 1.1)
yes, all the standard checks apply, there is an /export/morden/root/sbin/init
and it is set executable.

any ideas anyone?  I may have a corrupted copy, so im gonna  re FTP it tonight,
but i think its eomthing else..  the root filesyss -IS- supposed to be
a directory structure, and not some silly file on the server machine like
miniroot is.. i woudl =not= think so, but stranger things have happened..

as always.. any help appriciated..

Robert
--
Robert Adams


 
 
 

Trying to boot sun 3/50 off of a solaris box

Post by Robert Ada » Thu, 30 May 1996 04:00:00


: : 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

 
 
 

1. Where's Xkernel for Linux box--> SUN 3/50 box??

You may get the latest v2.0d xkernel linux distribution from
trcsun3.eas.asu.edu:/pub/ross/hidden/Xkernel/.

--
====================================================================
Andy McClements   | 393-395 City Road   |    Tel: 0171 833 1875
Resource Manager  | London              |    Fax: 0171 833 1169

====================================================================

2. Multiple IP's with Kernel 2.4

3. Booting Diskless Sun 3/50 from Solaris 2.3 Machine

4. blanking out arguments to daemons

5. sun 3/50 on linux box: Xsun fails

6. How to create subdomains?

7. NetBSD on Sun 3/50 diskless booting from 3/60 using SunOS 4.1.1

8. "sz" problem, _please_ read

9. Booting diskless Sun 3/50's from RS/6000's

10. Help! Booting Sun 3/50 from new drive

11. Sun 3/50 can't be NFS mounted by non-Sun Unix host

12. Trying to boot Solaris 2.5.1 x86 (du10) off a Jaz drive

13. Trying to boot off of Yggdrasil plug-n-play boot disk