Subject: Problems getting Classic to net boot
To: None <port-sparc@NetBSD.ORG>
From: William O Ferry <WOFerry+@CMU.EDU>
List: port-sparc
Date: 09/22/1997 03:02:47
    I have a SPARCclassic that has been running Sloaris, and now that
I've moved my drives around it's time I put NetBSD on this machine. 
Unfortunately, with moving the drives I managed to hose the Sloaris
install I had before getting a NetBSD install up on the new drive.  So
I've set up all of the things necessary for the diskless(8) boot on my
i386 NetBSD box, but something isn't working...  =(

    I grabbed the tarfiles, and populated base and etc into the mount
directory, and copied the sparc usr/mdec/boot to the correct name in
/tftpboot (this is all on the i386, obviously).  When I do a boot net
netbsd -s on the sparc, it says:

The file just loaded is intended for a different CPU type.

    The classic is (afaict) a sun4m.  The pages I've seen suggest
stripping and using dd to remove the first 32 bytes.  The dd trick
didn't work, and I don't have another big-endian NetBSD box to do the
stripping on (Solaris and SunOS 4.1.3 boxes I have access to aren't able
to strip the boot file).

    Suggestions?  I really don't know what's going wrong here.  I'd
appreciate any help.  Thanks in advance.

                                                          Will Ferry

-----------------------------------------------------------------------
 William O Ferry  <woferry@CMU.EDU> | finger: woferry@Warp.RES.CMU.EDU
 http://light.res.cmu.edu/~woferry/ | talk:   finger for online status
-----------------------------------------------------------------------