May 21, 2025
Sun 3/60 -- Setting up netboot on a Fedora system
These instructions would be pretty much the same
for any sun3 system. This information was posted back
in 2011.
And here are the instructions in case the above link vanishes:
List: classiccmp
Subject: Re: Looking for SunOS 4.1.* (sun3) cd image
From: Brian Wheeler
Date: 2011-09-05 0:19:03
Message-ID: 1315181946.1766.12.camel () bender
[Download RAW message or body]
On Sun, 2011-09-04 at 20:02 -0400, Dave McGuire wrote:
> On 09/04/2011 07:49 PM, Brian Wheeler wrote:
> > I've written some documentation for myself to netboot and then
> > netinstall from a centos server. If anyone is interested, I can post
> > it. To do the netinstall rsh has to be enabled and the cdrom data has
> > to be located at /usr/etc/install/tar on the server machine.
>
> Oh yes, please do, that could be handy!
>
> -Dave
>
Its a little rough, but it should cover most of the nasty parts.
Brian
--------------------------------------------
SunOS 4.1.1 Network Installation
For my setup, I used these settings:
* the ip for the sun box will be 192.168.0.92
* the mac address for the sun box is 08:00:20:00:4E:BD
* the ip for the server box will be 192.168.0.253
* the server box is Centos 5
* the name of the sun box is (creatively) sun3
* the nfsroot for the sun3 box is server:/raid/shared/sun3
($SUN3HOME)
1) download these directories from www.sun3arc.org somewhere ($SUN3ARC):
BootTapes/Sun3
Misc-Patches
Sun-Patches
precompiled
2) create root directory for the sun3 to nfs boot into. you'll need to be
root so all of the permissions and ownership are set correctly.
cd $SUN3HOME
tar -xzf $SUN3ARC/BootTapes/Sun3/sun3_proto_root.sunos_4_1_1.tar.Z
mkdir usr
cd usr
tar -xzf $SUN3ARC/BootTapes/Sun3/sun3_usr.tar.Z
mkdir kvm
cd kvm
tar -xzf $SUN3ARC/BootTapes/Sun3/sun3_kvm.tar.Z
tar -xzf $SUN3ARC/BootTapes/Sun3/sun3_sys.tar.Z
cd $SUN3HOME/usr
tar -xzf $SUN3ARC/BootTapes/Sun3/sun3_install.tar.Z
tar -xzf $SUN3ARC/BootTapes/Sun3/sun3_manual.tar.Z
tar -xzf $SUN3ARC/BootTapes/Sun3/sun3_text.tar.Z
tar -xzf $SUN3ARC/BootTapes/Sun3/sun3_networking.tar.Z
cd $SUN3HOME
ln -s usr/kvm/stand/vmunix .
cp $SUN3ARC/BootTapes/Sun3/miniroot_sun3 .
cp $SUn3ARC/BootTapes/Sun3/munix* .
cd dev
./MAKEDEV std
3) create a swap file
cd $SUN3HOME
dd if=/dev/zero of=swapfile bs=1048576 count=64
4) setup rarpd
4a) install rarpd
yum install -y rarpd
4b) populate /etc/ethers:
08:00:20:00:4E:BD 192.168.0.92
4c) start rarpd
/sbin/service rarpd start
5) setup tftp
5a) install tftp
yum install -y tftp-server tftp
5b) link to standalone boot. Hex value of 192.168.0.92 is C0A8005C
cd /tftpboot
cp $SUN3HOME/usr/kvm/stand/boot.sun3 .
ln -s boot3.sun C0A8005C
5c) enable tftp by setting 'disable' to 'no' in /etc/xinetd.d/tftp
5d) restart xinetd
/sbin/service xinetd restart
6) give the sun3 a name. Add this line to /etc/hosts:
192.168.0.92 sun3
7) setup bootparamd
7a) install
yum install -y bootparamd
7b) configure by adding this line to /etc/bootparams
sun3 root=192.168.0.253:/raid/shared/sun3 gateway=192.168.0.254:0xffffff00 swap=
192.168.0.253:/raid/shared/sun3/swapfile
8) setup nfs
8a) exprot the root file system and swap by adding these lines to /etc/exports
/raid/shared/sun3 192.168.0.0/24(rw,insecure,no_root_squash)
/raid/shared/sun3/swapfile 192.168.0.0/24(rw,insecure,no_root_squash)
9) start up all of the rpc-style servers
/sbin/service portmap restart
/sbin/service nfs restart
/sbin/service bootparamd restart
**** At this you should be able to boot the sun3 over nfs using "b le()".
**** it will have some failures, but you should have a root prompt.
**** My boot looks like this:
-------------------------
>b le()
Boot: le(0,0,0)
Using IP Address 192.168.0.92 = C0A8005C
Booting from tftp server at 192.168.0.254 = C0A800FE
Downloaded 101800 bytes from tftp server.
Using IP Address 192.168.0.92 = C0A8005C
hostname: sun3.example.com
domainname: (none)
server name '192.168.0.253'
root pathname '/raid/shared/sun3'
root on 192.168.0.253:/raid/shared/sun3 fstype nfs
Boot: vmunix
Size: 893160+189568+202104 bytes
SunOS Release 4.1.1 (GENERIC) #1: Sat Oct 13 06:05:48 PDT 1990
Copyright (c) 1983-1990, Sun Microsystems, Inc.