divzeroweb

2f30.org website
git clone git://git.2f30.org/divzeroweb.git
Log | Files | Refs | README | LICENSE

commit 328fc7bda620bcb774a2aa32f87172170c8818bc
parent 113458691d3b65118941dd2108cd205e8b307211
Author: lostd <lostd@2f30.org>
Date:   Thu Feb 19 12:36:20 +0200

IRIX install notes

Diffstat:
Makefile | 5+++--
guides.md | 1+
guides/irix-sgi-o2.md | 163+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 167 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile @@ -1,7 +1,7 @@ NAME = divzero TARG = /var/www/$(NAME) BASE = "/" -#BASE = "$(PWD)/" # uncomment for devel only +BASE = "$(PWD)/" # uncomment for devel only MENUPAGES = home.html lectures.html guides.html radio.html lists.html PAGES = $(MENUPAGES) \ @@ -16,7 +16,8 @@ PAGES = $(MENUPAGES) \ guides/trunk.html \ guides/ipsec.html \ guides/netbsd-linode.html \ - guides/rpi-tv.html + guides/rpi-tv.html \ + guides/irix-sgi-o2.html EXTRA = css divzerokey.png favicon.ico index.html \ lectures/resources diff --git a/guides.md b/guides.md @@ -9,3 +9,4 @@ Just some notes on various useful tasks. * [ipsec](guides/ipsec.html): Securing services with IPsec tunnels * [netbsd-linode](guides/netbsd-linode.html): Installing NetBSD on Linode * [rpi-tv](guides/rpi-tv.html): Raspberry Pi console media center with TV remote on Arch Linux + * [irix-sgi-o2](guides/irix-sgi-o2.html): Installing IRIX 6.5 to an SGI O2 from the network diff --git a/guides/irix-sgi-o2.md b/guides/irix-sgi-o2.md @@ -0,0 +1,163 @@ +### Installing IRIX 6.5 to an SGI O2 from the network + +Here are some notes that I kept while installing the latest IRIX 6.5 to +an O2 machine with all available updates from SGI till the end of life +in 2013. Most of it can be found from other sources too, but this is my +take on the subject. The good ones are the `INSTALL.sgi` file from the +OpenBSD releases and a couple of others listed at the end of the page. + +Before we begin, we have gathered all available install sets: + +Mandatory: + + - IRIX 6.5 Foundation 1 + - IRIX 6.5 Foundation 2 + - IRIX 6.5.30 Installation Tools & Overlays 1 + +Optional: + + - IRIX 6.5.30 Overlays 2 + - IRIX 6.5.30 Overlays 3 + - IRIX 6.5 Applications + - IRIX 6.5 Complementary Applications + - IRIX 6.5 Developement Foundation + - IRIX 6.5 Developement Libraries + - ONC/NFS v3 for IRIX + +I am using my OpenBSD 5.4 laptop to boot the installer and serve the +installation files. The two machines are connected directly with a +UTP Ethernet cable. + +We boot the machine and click the `Enter Command Monitor` button to drop +us in the command line interface of the BIOS. We execute at the +prompt: + + SGI> printenv + +This way we learn the MAC address of the machine. +Now we set the address of our wired interface accordingly: + + $ ifconfig em0 inet 192.168.0.1 + +We also add an entry for the SGI machine in `/etc/{ethers,hosts}`. + +/etc/ethers: + + de:ad:ba:be:de:ad voodoo + +/etc/hosts: + + 192.168.0.2 voodoo + +Next, we modify our DHCP server configuration to give the machine a +fixed address. + +/etc/dhcpd.conf: + + subnet 192.168.0.1 netmask 255.255.255.0 { + host voodoo { + hardware ethernet de:ad:ba:be:de:ad; + fixed-address 192.168.0.2; + } + } + +We have put all our sets in `/tftpboot/irix`: + + $ du -sh /tftpboot/irix/* + 558M /tftpboot/irix/apps + 285M /tftpboot/irix/dev + 369M /tftpboot/irix/devlibs + 528M /tftpboot/irix/foundation1 + 238M /tftpboot/irix/foundation2 + 369M /tftpboot/irix/moreapps + 58.1M /tftpboot/irix/oncnfs + 411M /tftpboot/irix/overlay1 + 393M /tftpboot/irix/overlay2 + 572M /tftpboot/irix/overlay3 + +Now start the TFTP and DHCP services: + + $ /etc/rc.d/dhcpd -f start + $ /etc/rc.d/tftpd -f start + +And at the machine prompt we boot from the network location using TFTP: + + SGI> boot()irix/overlay1/stand/sashARCS + +After a while we reach the installer prompt. Now we need a way to access +the install sets over the network and SGI was using RSH. As of OpenBSD +5.6 there is no rsh service; it has been removed with this +[commit message](http://marc.info/?l=openbsd-cvs&m=139783679810653&w=2). :) +However, we can still build it and use it like this: + + $ curl -o rshd.c "http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/libexec/rshd/Attic/rshd.c?rev=1.56" + $ make rshd + $ useradd -U -d /tftpboot sgi + $ echo "192.168.0.2 sgi" | tee ~sgi/.rhosts + $ ./rshd + +Back to the installer now, test the RSH connectivity: + + Inst> sh + voodoo# rsh sgi@192.168.0.1 /bin/sh + ls + irix + exit + voodoo# exit + +Add the remote software package sources to the installer by pointing to +the `dist` directory of each set: + + Inst> open sgi@192.168.0.1:irix/foundation1/dist + Inst> open sgi@192.168.0.1:irix/foundation2/dist + Inst> open sgi@192.168.0.1:irix/overlay1/dist + Inst> open sgi@192.168.0.1:irix/overlay2/dist + Inst> open sgi@192.168.0.1:irix/overlay3/dist + Inst> open sgi@192.168.0.1:irix/dev/dist/dist6.5 + Inst> open sgi@192.168.0.1:irix/devlibs/dist + Inst> open sgi@192.168.0.1:irix/apps/dist + Inst> open sgi@192.168.0.1:irix/moreapps/dist + Inst> open sgi@192.168.0.1:irix/oncnfs/dist6.5 + ... + Inst> keep * + Inst> install standard + Inst> install prereqs + Inst> conflicts + Inst> go + ... + Inst> quit + +Here we've put everything, but we should be able to do a successful +installation with only the first two sets. After the system is up and +running with network working we can still use the same install sets +through say NFS or HTTP. Also there is the free package repository from +SGI you can use online; visit: + + http://freeware.sgi.com/index-by-alpha.html + +To install, for example, the sudo package, copy the link at the right +hand side of the entry and use in the installer: + + $ inst + Inst> open http://freeware.sgi.com/Dist/fw_sudo-1.6.6-sgipl1.tardist + Inst> go + ... + Inst> quit + +Other software that maintain IRIX support: + + - [ScummVM](http://www.scummvm.org/) + - [ResidualVM](http://www.residualvm.org/) + + +#### Links + + - [Nekochan Net](http://www.nekochan.net/) + - [OpenBSD installation notes](http://ftp.openbsd.org/pub/OpenBSD/snapshots/sgi/INSTALL.sgi) + - [Obsolete](http://software.majix.org/irix/install-network.shtml) + - [Andrew Hazelden's Blog](http://www.andrewhazelden.com/blog/2010/07/installing-irix-6-5-on-an-sgi-o2/) + + +Happy tinkering! + +lostd@