Pre-reqs:
- Access to a Linux machine (physical or vm), with at least 8gb of ram (Docker is very memory hungry).
- Docker is installed on linux machine. On Ubuntu
sudo apt-get install docker.io
. - SGI Machine capable of running 6.5.30 (Steps are the same for 6.5.22).
- Both machines connected on the same network
- Lots of Paitences
Docker image we are using for reference https://hub.docker.com/r/dexter1/irix-install/
- Before start:
- Download irix 6.5.30 installer https://archive.org/details/IRIX6530 this is a couple of GB so worth downloading before hand.
- Download the two foundation disks https://archive.org/details/sgi_IRIX_6.5_Foundation_1 & https://archive.org/details/sgi_IRIX_6.5_Foundation_2
- Download the NFS disk https://archive.org/details/sgi_ONC3-NFS_Version_3_for_IRIX_6.2__6.3__6.4_and_6.5
- Initial SGI Setup:
- Power on machine
- Hit ‘ESC to get into maintenance mode
- Press ‘5’ to go to ‘Enter Command Monitor’
- At the command line enter
printenv
- Note down the value of ‘eaddr’ for example ’08:00:69:AA:BB:CC’
- Using the following command set your SGI machines ip address
setenv netaddr 192.168.0.2
this will set the machines ip address to 192.168.0.2. - Type
exit
to return back to the maintenance menu.
- Linux setup:
- Create a new working directory for the files to live on your machines for example ~/Documents/irix
- Copy the ‘Irix 6.5.30_cdimages.zip’ in your new working directory in my case ~/Documents/irix
- Unzip the disk images
unzip Irix 6.5.30_cdimages.zip
, it should give you the following files.Archive: Irix 6.5.30_cdimages.zip
creating: Irix 6.5.30_cdimages/
inflating: Irix 6.5.30_cdimages/Applications.image
inflating: Irix 6.5.30_cdimages/Complementary_Applications.image
inflating: Irix 6.5.30_cdimages/Instalation_Tools_and_Overlays1.image
inflating: Irix 6.5.30_cdimages/Overlays2.image
inflating: Irix 6.5.30_cdimages/Overlays3.image
- Make the following directories ‘apps’, ‘comp_apps’, ‘installer’, ‘overlay2’ ‘overlay3, found1, found2, nfs’ using
mkdir apps comp_apps installer overlay2 overlay3 found1 found2 nfs
theses will be your mount points for your disks - Mount the disks:
mount Irix\ 6.5.30_cdimages/Applications.image ./apps -o loop -t efs
mount Irix\ 6.5.30_cdimages/Complementary_Applications.image ./comp_apps -o loop -t efs
mount Irix\ 6.5.30_cdimages/Instalation_Tools_and_Overlays1.image ./installer -o loop -t efs
mount Irix\ 6.5.30_cdimages/Overlays2.image ./overlay2 -o loop -t efs
mount Irix\ 6.5.30_cdimages/Overlays3.image ./overlay3 -o loop -t efs
mount IRIX-6.5-Foundation1.iso found1/ -o loop
mount IRIX-6.5-Foundation2.iso found2/ -o loop
mount ONC3-NFS Version 3 for IRIX 6.2, 6.3, 6.4 and 6.5-v2.img nfs/ -o loop
- Create a new file called ‘bootptab’
- Get your Linux machines ip address using for example
ip addr
in my case it is ‘192.168.0.42’. - Edit ‘bootptab’ with the contents,
Replace ‘0800690AABBCC’ with your SGI machines ‘eaddr’ we got in step 1.5 making sure to remove the colons.
Replace ‘192.168.0.42’ with your Linux machines ip addressiris:ha=0800690AABBCC:sa=192.168.0.42:ds=192.168.0.42:rp=/DIST
- Now drop to a root shell using
su
orsudo
. - There is a bug in newer Linux kernels, to work around use.
sudo sysctl -w net.ipv4.ip_local_port_range="2048 32767"
sudo sysctl -w net.ipv4.ip_no_pmtu_disc=1
- Execute docker with the following command.
Replace ‘192.168.0.2’ with your SGI machines ‘netaddr’ we set in step 1.6.
Replace ‘/home/user/Document/irix’ with your current working directory which you can get usingpwd
.docker run --network host \ --add-host iris:192.168.0.2 \ --volume /home/user/Document/irix/:/DIST:ro \ -P \ -it dexter1/irix-install
- Irix Installation:
- From the maintenance screen press 2 “Install System Software”.
- In the “Install System Software” screen select 2 “Remote Directory”.
- Enter the ip address of your Linux system which you got in step 2.7 for example ‘192.168.0.42’.
- Enter the directory of the disk you want to install for example ‘/installer/dist’
- Click ‘install’ and you will be presented with ‘Obtaining installation tools from 192.168.0.42/installer/dist’
5a. If all is good you will get a screen that says “Copying installation tools to disk”
5b. Get a cup of tea.
5c. You may be prompted for machine name & network address (use the one we set in step 1.6).
5d. You will be dropped at the “Inst 4.1 Main Menu”. - Enter 13 for “admin”
- Enter 11 for “mkfs”
- “y” (enter)
- “yes” (enter) *This will format the disk.
- Enter 21 for “return” this will take you back to the non admin menu.
- Enter 1 for “from” and enter your linux machines address “192.168.0.42:/DIST/installer/dist”
- Enter “done”.
- Select “1” for maintenance stream.
- Enter “done”
- From the “Inst 4.1 Main Menu” select option 2 for “open”.
15a. add a new distribution “192.168.0.42:/DIST/overlay2/dist”
15b. add a new distribution “192.168.0.42:/DIST/overlay3/dist”
15c. add a new distribution “192.168.0.42:/DIST/found1/dist”
15d. add a new distribution “192.168.0.42:/DIST/found2/dist”
15f. add a new distribution “192.168.0.42:/DIST/nfs/dist” - Resolve any conflicts within the “keep conflicting” menu.
- Enter 5 or ‘go’ and this will trigger the new install.
- ‘r’ to restart.
- Wait……. pre install stuff is running.
Thanks for the clearly documented info. I will be trying when I get some time…
Oh dear, first snag. My Fedora 35 system doesn’t seem to know about efs:
[root@owl irix]# mount Irix\ 6.5.30_cdimages/Applications.image ./apps -o loop -t efs
mount: /home/nick/Downloads/irix/apps: unknown filesystem type ‘efs’.
Do you happen to know what package this might be in, or how ? I couldn’t see anything obvious. Thanks.
I found an alternative on Fedora 35 to my failing mount of EFS images: efs2tar