divzeroweb

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

irix-sgi-o2.md (4898B)


      1 ### Installing IRIX 6.5 to an SGI O2 from the network
      2 
      3 Here are some notes that I kept while installing the latest IRIX 6.5 to
      4 an O2 machine with all available updates from SGI till the end of life
      5 in 2013.  Most of it can be found from other sources too, but this is my
      6 take on the subject.  The good ones are the `INSTALL.sgi` file from the
      7 OpenBSD releases and a couple of others listed at the end of the page.
      8 
      9 Before we begin, we have gathered all available install sets:
     10 
     11 Mandatory:
     12 
     13  - IRIX 6.5 Foundation 1
     14  - IRIX 6.5 Foundation 2
     15  - IRIX 6.5.30 Installation Tools & Overlays 1
     16 
     17 Optional:
     18 
     19  - IRIX 6.5.30 Overlays 2
     20  - IRIX 6.5.30 Overlays 3
     21  - IRIX 6.5 Applications
     22  - IRIX 6.5 Complementary Applications
     23  - IRIX 6.5 Developement Foundation
     24  - IRIX 6.5 Developement Libraries
     25  - ONC/NFS v3 for IRIX
     26 
     27 I am using my OpenBSD 5.4 laptop to boot the installer and serve the
     28 installation files.  The two machines are connected directly with a
     29 UTP Ethernet cable.
     30 
     31 We boot the machine and click the `Enter Command Monitor` button to drop
     32 us in the command line interface of the BIOS.  We execute at the
     33 prompt:
     34 
     35     SGI> printenv
     36 
     37 This way we learn the MAC address of the machine.
     38 Now we set the address of our wired interface accordingly:
     39 
     40     $ ifconfig em0 inet 192.168.0.1
     41 
     42 We also add an entry for the SGI machine in `/etc/{ethers,hosts}`.
     43 
     44 /etc/ethers:
     45 
     46     de:ad:ba:be:de:ad voodoo
     47 
     48 /etc/hosts:
     49 
     50     192.168.0.2 voodoo
     51 
     52 Next, we modify our DHCP server configuration to give the machine a
     53 fixed address.
     54 
     55 /etc/dhcpd.conf:
     56 
     57     subnet 192.168.0.1 netmask 255.255.255.0 {
     58         host voodoo {
     59             hardware ethernet de:ad:ba:be:de:ad;
     60             fixed-address 192.168.0.2;
     61         }
     62     }
     63 
     64 We have put all our sets in `/tftpboot/irix`:
     65 
     66     $ du -sh /tftpboot/irix/*
     67     558M    /tftpboot/irix/apps
     68     285M    /tftpboot/irix/dev
     69     369M    /tftpboot/irix/devlibs
     70     528M    /tftpboot/irix/foundation1
     71     238M    /tftpboot/irix/foundation2
     72     369M    /tftpboot/irix/moreapps
     73     58.1M   /tftpboot/irix/oncnfs
     74     411M    /tftpboot/irix/overlay1
     75     393M    /tftpboot/irix/overlay2
     76     572M    /tftpboot/irix/overlay3
     77 
     78 Now start the TFTP and DHCP services:
     79 
     80     $ /etc/rc.d/dhcpd -f start
     81     $ /etc/rc.d/tftpd -f start
     82 
     83 And at the machine prompt we boot from the network location using TFTP:
     84 
     85     SGI> boot()irix/overlay1/stand/sashARCS
     86 
     87 After a while we reach the installer prompt.  Now we need a way to access
     88 the install sets over the network and SGI was using RSH.  As of OpenBSD
     89 5.6 there is no rsh service; it has been removed with this
     90 [commit message](http://marc.info/?l=openbsd-cvs&m=139783679810653&w=2). :)
     91 However, we can still build it and use it like this:
     92 
     93     $ curl -o rshd.c "http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/libexec/rshd/Attic/rshd.c?rev=1.56"
     94     $ make rshd
     95     $ useradd -U -d /tftpboot sgi
     96     $ echo "192.168.0.2 sgi" | tee ~sgi/.rhosts
     97     $ ./rshd
     98 
     99 Back to the installer now, test the RSH connectivity:
    100 
    101     Inst> sh
    102     voodoo# rsh sgi@192.168.0.1 /bin/sh
    103     ls
    104     irix
    105     exit
    106     voodoo# exit
    107 
    108 Add the remote software package sources to the installer by pointing to
    109 the `dist` directory of each set:
    110 
    111     Inst> open sgi@192.168.0.1:irix/foundation1/dist
    112     Inst> open sgi@192.168.0.1:irix/foundation2/dist
    113     Inst> open sgi@192.168.0.1:irix/overlay1/dist
    114     Inst> open sgi@192.168.0.1:irix/overlay2/dist
    115     Inst> open sgi@192.168.0.1:irix/overlay3/dist
    116     Inst> open sgi@192.168.0.1:irix/dev/dist/dist6.5
    117     Inst> open sgi@192.168.0.1:irix/devlibs/dist
    118     Inst> open sgi@192.168.0.1:irix/apps/dist
    119     Inst> open sgi@192.168.0.1:irix/moreapps/dist
    120     Inst> open sgi@192.168.0.1:irix/oncnfs/dist6.5
    121     ...
    122     Inst> keep *
    123     Inst> install standard
    124     Inst> install prereqs
    125     Inst> conflicts
    126     Inst> go
    127     ...
    128     Inst> quit
    129 
    130 Here we've put everything, but we should be able to do a successful
    131 installation with only the first two sets.  After the system is up and
    132 running with network working we can still use the same install sets
    133 through say NFS or HTTP.  Also there is the free package repository from
    134 SGI you can use online; visit:
    135 
    136     http://freeware.sgi.com/index-by-alpha.html
    137 
    138 To install, for example, the sudo package, copy the link at the right
    139 hand side of the entry and use in the installer:
    140 
    141     $ inst
    142     Inst> open http://freeware.sgi.com/Dist/fw_sudo-1.6.6-sgipl1.tardist
    143     Inst> go
    144     ...
    145     Inst> quit
    146 
    147 Other software that maintain IRIX support:
    148 
    149  - [ScummVM](http://www.scummvm.org/)
    150  - [ResidualVM](http://www.residualvm.org/)
    151 
    152 
    153 #### Links
    154 
    155  - [Nekochan Net](http://www.nekochan.net/)
    156  - [OpenBSD installation notes](http://ftp.openbsd.org/pub/OpenBSD/snapshots/sgi/INSTALL.sgi)
    157  - [Obsolete](http://software.majix.org/irix/install-network.shtml)
    158  - [Andrew Hazelden's Blog](http://www.andrewhazelden.com/blog/2010/07/installing-irix-6-5-on-an-sgi-o2/)
    159 
    160 
    161 Happy tinkering!
    162 
    163 lostd@