From 18885fd50094b0765f1b13974491db73e810a291 Mon Sep 17 00:00:00 2001 From: gwr Date: Sat, 30 Jul 1994 05:22:12 +0000 Subject: [PATCH] New text - describes the binary snapshot. --- etc/etc.sun3/README | 104 +++++++++++++--------------------------- etc/etc.sun3/install.sh | 3 +- 2 files changed, 36 insertions(+), 71 deletions(-) diff --git a/etc/etc.sun3/README b/etc/etc.sun3/README index e62ea5cf24bd..7932477164a5 100644 --- a/etc/etc.sun3/README +++ b/etc/etc.sun3/README @@ -1,82 +1,46 @@ -# $Id: README,v 1.2 1994/07/18 14:51:24 gwr Exp $ +# $Id: README,v 1.3 1994/07/30 05:22:12 gwr Exp $ -*- text -*- +NetBSD/Sun3 Binary Snapshot -NOTE: THESE INSTRUCTIONS MAY CHANGE WITH EACH SNAPSHOT. +This FTP directory contains a binary snapshot of NetBSD/Sun3. +The NetBSD/sun3 port runs on Sun3 desk-top machines including: -How to set up your NFS server so your Sun3 can boot NetBSD from it: + Sun3/60 with console on ttya or B+W screen + Sun3/50 with console on ttya (only!) -1. Get the Ethernet address of the client. (It is printed on - the console when you power-up the machine.) Add an entry to - the /etc/ethers file so rarpd(8) will know about the client. +Features: -2. Assign an IP address for the machine. Add it to /etc/hosts - (or the DNS or YP database on the server) + Boots with root on NFS (le0) or SCSI (sd0). + Currently still forces single-user mode - + (type "exit" to go into multi-user state) + Runs SunOS binaries (see sparc sun shared lib notes) -3. Find a copy of the SunOS diskless boot program and copy it into - your /tftpboot directory; then make a link... - cd /tftpboot - cp -p /usr/kvm/stand/boot.sun3 . - ln -s boot.sun3 C0E914C3.SUN3 - where the link basename is the client IP address in hex. +There's a lot left to do... (see doc/sun3/TODO). -4. Add the client to your bootparams database. In /etc/bootparams: - client root=server:/export/client/root \ - swap=server:/export/client/swap +Before using the files in this directory, you should start by +unpacking doc.tar.gz and reading all the files it contains. +Suggested reading order is: + doc/sun3/README + doc/sun3/INSTALL + doc/sun3/SUP + doc/sun3/ENVIRONMENT + doc/sun3/BUILDING + doc/sun3/TODO -5. Create the directory hierarchies on your NFS server. First, put - the *.tar.gz files someplace where they can be read. Then: +In particular, note that most of the *.tar.gz files are actually just +copied from the Amiga snapshot (yes, same binary format) and those +that are different are replaced by unpacking zupdate.tar.gz LAST. - # Once per server: - cd /export - mkdir netbsd.sun3 - cd netbsd.sun3 - TARDIR=/somewhere # (where to find *.tar.gz) - sh install.sh # (unpacks *.tar.gz here) + Note that you MUST install zupdate.tar.gz LAST! - # Once per client: - cd /export - mkdir client client/root - dd if=/dev/zero of=client/swap bs=8k count=1024 - cd client/root - mkdir bin sbin - (cd ../../netbsd.sun3 ; tar cf - dev etc var) | tar xvf - - (cd ../../netbsd.sun3/bin ; ln * /export/client/root/bin) - (cd ../../netbsd.sun3/sbin ; ln * /export/client/root/sbin) - (cd dev ; sh MAKEDEV) - cp -p ../../netbsd.sun3/netbsd.dl60 netbsd - ln -s netbsd vmunix +The script "install.sh" can help you install the files correctly. -6. Customize the following files in /export/client/root: - cp etc/fstab.nfs etc/fstab - cp /etc/hosts etc/hosts - echo client > etc/myname - echo client > etc/hostname.le0 +This port was created by Adam Glass +(thanks Adam!). Since Adam is low on free time, the port is now +being maintained by Gordon Ross . -7. Export the above. On sunos, /etc/exports needs: - /export/netbsd.sun3/usr -ro - /export/client -rw=client,root=client - -Booting a Sun3/60 client: - -Tell the PROM to boot from Ethernet, i.e. - - > b le() - -To make the above permanent do: -Under SunOS: "eeprom bootdev=le(0,0,0)" -In the PROM: "q???" (see PROM manual) - -The kernel is currently "hot-wired" to do a breakpoint into DDB -and force a single-user shell. To continue from DDB do: - -db> cont - -Then, to go multi user, do: - - # mount -u / - # exit - -Please let me know of any errors in these instructions. -Good luck! - - +If you have any questions or comments about this port please +send mail to the list: +rather than to any of us personally. +Enjoy! +-gwr diff --git a/etc/etc.sun3/install.sh b/etc/etc.sun3/install.sh index d6afa7fe55c6..ee0382046eee 100644 --- a/etc/etc.sun3/install.sh +++ b/etc/etc.sun3/install.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: install.sh,v 1.1 1994/07/13 20:45:36 gwr Exp $ +# $Id: install.sh,v 1.2 1994/07/30 05:22:14 gwr Exp $ umask 0 [ "$TARDIR" ] || { echo "$0: set TARDIR first" ; exit 1; } @@ -20,6 +20,7 @@ usr.libexec.tar.gz usr.misc.tar.gz usr.sbin.tar.gz usr.share.tar.gz +zupdate.tar.gz END_LIST cp -p $TARDIR/netbsd.* .