Irix 6.5.X specific autoinstall information

(Currently "X" is 9 - 6.5.3 has been deleted off autoinst.acs to reclaim space)

    Before you begin:

  1. Save /var/flexlm/license.dat if one exists. Restore it afterward.
  2. Do an 'nvram' on the machine and save or print the results.
  3. If you plan to attach a CD drive to the machine (not all CD drives work withall models of SGIs), you may want to do a 'hinv' now before attaching the CD drive to check the SCSI id
  4. Locate the Irix 6.5.X Installation Tools and Overlays (1 of 2) cd
  5. Decide if wish to repartition the disk.
  6. Add "machine.domain.uci.edu root" to autoinst:~dcs/.rhosts autoinst:~sgi-inst/.rhosts so that the upgrading sgi can rsh to autoinst.

    Starting the process:

  7. Start the machine and
  8. interrupt the booting process by clicking on " Stop For Maintenance" and
  9. IF you wish to repartition, choose "Enter Command Monitor" from initial menu. To boot "fx":

    boot stand/fx, OR:

    • hinv --> to get the ctrl# and unit# of the cd drive
    • boot -f dksc(ctrl#,unit#,8)sashARCS dksc(ctrl#,unit#,7)stand/fx.ARCS
      (for e.g. Indigo, Indigo2, Indy, Onyx, Challenge and O2)
    • OR boot -f dksc(ctlr,unit,8)sash64 dksc(ctlr,unit,7)stand/fx.64
      (for e.g Power Challenge, Power Onyx, Power Indigo2, Indigo2 10000, Origin, Onyx2, and OCTANE)
    • OR if the above fails try:
      • boot -f cdrom(ctlr,unit,8)sash64 cdrom(ctlr,unit,7)stand/fx.64
        (replace 'dksc' with 'cdrom')
      • OR for older machines, if all the preceding fails, try booting in two stages:
        boot -f dksc(ctlr,unit,8)sashARCS
        boot -f dksc(ctlr,unit,7)stand/fx.ARCS
    • choose "[re]partition" option once you are in "fx"
    • choose "[ro]otdrive" option
    • choose "[re]size" option to increase swap size if desired
    • OR choose "[e]xpert" option to have other partition schemes
    • ...
    • exit
    • click on "Done" to get back out to the initial menu
  10. Choose "Install System Software" from initial menu.
  11. Insert CDROM and Click on "Local CDROM." You should have the "Inst>" prompt after a while.
  12. Within inst:
    (if you repartition in step4 above, miniroot will ask if you want to mkfs the
    system disk: answer "yes" to wipe out everything, then no need to go
    "admin, mkfs" like below).
    • Inst> admin
    • Admin> mkfs (may want to do sh first before wiping out the disk)
      Need to wipe out the system disk BEFORE the installation or it
      will run out of disk space in the middle. Be extra careful that
      you are wiping out the right disk: /root should have the
      right ctrl# and unit# of the system disk
    • Admin> sh
  13. Be sure to fill in the correct IP address and broadcast, in the lines below
    • ifconfig ec0 128.200.x.y netmask 255.255.255.0 broadcast 128.200.x.255
    • route add default 128.200.x.1
    • rsh 128.200.34.23 -l sgi-inst 'cat /auto_install/Irix/6.5.Xselection' > /tmp/selection
      ("selection.vrlab" and "selection.flexlmserver" are also available)
      • previously this was the 'dcs' account rather than 'sgi-inst'
  14. Exit from the shell back to inst:
    • exit
    • Admin> ..
  15. Within inst:
    • Note: I (jds) found that it might lose the routing info, so you may have to go back in and do the route add default ....
    • inst> open sgi-inst@autoinst.acs.uci.edu:/auto_install/Irix/uci-dist_6.5.X
    • inst> open sgi-inst@autoinst.acs.uci.edu:/auto_install/Irix/uci-dist_6.5
      • previously this was the 'dcs' account rather than 'sgi-inst'
    • Inst> list (only does "list" if it does NOT ask you to choose a stream).
      Choose [1], the default, the "maintenance" stream
    • Inst>
    • Inst> admin
    • Admin> load /tmp/selection
    • Admin> ..
    • Inst> go
  16. Quit inst (This step is important since the system builds a kernel when inst is done. Takes a while to complete):
    • Inst> quit
  17. When prompted "Ready to restart the system. Restart? {(y)es, (n)o, (sh)ell, (h)elp}:"
    Choose "(y)es" to boot to multi-user mode.
    Log in as root, password is blank at this point.

    Shutdown (/etc/halt) and restart again. Stop for Maintenance.

    Enter "Command Monitor" to type "single" to boot to single-user.

  18. Configure the network minimally:
    • ifconfig ec0 128.200.x.y netmask 255.255.255.0 broadcast 128.200.x.255
    • ifconfig lo0 127.0.0.1
    • route add default 128.200.x.1
    • echo "128.200.34.23 autoinst.acs.uci.edu autoinst.acs autoinst" >> /etc/hosts
  19. Finally, run the "hokey" configuration script:
    • ftp to autoinst.acs.uci.edu
    • Log in as anonymous.
    • cd /pub/hokey
    • lcd /tmp
    • ls
    • Grab the script appropriate for your OS version. Call it OSVER, even though it'll really be something like osf1-4.0, or irix-6, or redhat-4.2, or sunos-5.
    • exit the ftp session
  20. Run it: /bin/sh /tmp/OSVER (EG: /bin/sh /tmp/sun4-5)
  21. Reboot the machine: /etc/halt, then restart.
  22. In multi-user mode, do a "run-after". This time only you can ignore the differences found by "run-after".
  23. For Security reason, remember to remove the entry that you added to the autoinst:~dcs/.rhosts autoinst:~sgi-inst/.rhosts, or remove the whole file if you created it.

Caveats:

  • So far, 6.5 installation has not had problems with missing /etc/fstab yet, but it's a good idea to check for its existence at this point.
  • Do "swap -l" in multiuser mode. You should see /dev/swap. If not, you may have to manually create some links:
    ln -s /hw/disk/swap /dev/swap
    ln -s /hw/rdisk/swap /dev/rswap


    NIS master - For a system that is an NIS master, there are the following extra steps to do:

  • cd /NIS (assuming you're putting all the nis text files here)
  • touch capability clearance mac bootparams ethers aliases
  • run "ypinit -m"
  • the above command will create /var/ns/domains/[nis domain name]/nsswitch.conf. Edit this file to add the following lines:
    auto.master: nisserv
    auto.[any other automount maps called by auto.master]: nisserv
    one line with the above format for each of any other non-standard maps


    http://www.nacs.uci.edu/support/dcs/automation/irix6.5.html
    modified 11/30/98 mtv
    modified 02/04/99 jds: changed 'dcs' account to 'sgi-inst'
    minor changes 03/17/99 steveywc
    modified 04/15/99 jds: added some intro steps
    modified 10/26/2000 mtv: revised "boot fx" and selection files