Subject: Sparc port avail.. part 2.
To: None <port-sparc@sun-lamp.CS.Berkeley.EDU>
From: Theo Deraadt <deraadt@fsa.ca>
List: port-sparc
Date: 02/04/1994 07:49:52
I've made a few more files available in the sparc ftp directory, and
improved the instructions a little bit.
here's a copy for now. this file is sun-lamp:pub/NetBSD/sparc/README.
----
Initial test versions of a NetBSD/sparc binaries install are available
at
sun-lamp.cs.berkeley.edu:pub/NetBSD/sparc
The NetBSD/sparc port runs on sun4c class machines, ie. the
SS 1, 1+, 2, IPC, IPX, SLC, and ELC. it does not include the
server-series machines, or the SS10-series machines.
There are a number of very large .tar.gz files in there (which
I might split up... I've not decided yet).
For those who just want to take an initial look there is a starting
"netbsd" kernel binary. This is the TDR2 kernel in the src tree -- it
uses sd0 as it's root device by default. If you are not sure about
the entire process of installing, you can fetch the kernel and play
around with it a bit beforehands.
Until there are better instructions written, here's a rough idea:
1. format and partition the disk using sunos. yup, NetBSD/sparc uses
sunos disk labels. i am running a quantum 105 with these partition
sizes:
a: 28140 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 133)
b: 16170 28140 unused 0 0 # (Cyl. 134 - 210)
c: 204540 0 unused 0 0 # (Cyl. 0 - 973)
g: 160230 44310 4.2BSD 1024 8192 16 # (Cyl. 211 - 973)
Filesystem 512-blocks Used Avail Capacity Mounted on
/dev/sd0a 26090 18342 5138 78% /
/dev/sd0g 149444 118072 16426 88% /usr
gecko:/usr/src 1549722 349195 1045554 25% /usr/src
gecko:/usr/src/obj.sparc 1549722 349195 1045554 25% /usr/obj
komodo:/usr/local 269346 244084 -1672 101% /usr/local
newt:/newt.usera/staff 1128328 858302 157192 85% /home/staff
newt:/newt.usera/other 1128328 858302 157192 85% /home/other
2. newfs it using sunos. yup, the filesystem format is identical.
UFS hasn't changed much over the years.
3. put a SunOS /boot program in the root partition, and use
"installboot" to cause it to work. the "installboot" man page
says to do something like this: say you are running SunOS, and
the drive you are installing NetBSD/sparc on is currently at
/dev/sd1. You have made the filesystems on that drive already.
# mount /dev/sd1a /mnt
# cd /usr/mdec
# ./installboot -vlt /mnt/boot bootsd /dev/rsd1a
4. copy the provided kernel onto that disk.
5. untar the provided .tar.gz files onto the disk. the XXX.tar.gz
files are rooted at /, and the usr.XXX.tar.gz files are rooted
at /usr. you'd be best off doing a "tar tvf" on them first to
see what the paths in them are.
the etc.tar.gz and var.tar.gz archives were created in a hurry,
and may be somewhat broken.
6. ensure that you have created a world-writable /tmp directory
on the root filesystem. i didn't my first time. duh.
8. swap your scsi id's and try a reboot. initially I'd suggest
you boot "-bs", then try multiuser after that.
please let me know of any errors in these instructions or in the
archives. if so i'll correct them.
good luck.
------------------------------------------------------------------------------