User Tools

Site Tools


network_install_ubuntu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

network_install_ubuntu [2019/01/29 00:38] (current)
raion Imported from MW install
Line 1: Line 1:
 +=====Network Install Ubuntu=====
 +This guide is based on an older [[http://​www.ifora.org/​sgi/​|guide]],​ but with more modern tools.
  
 +====Requirements====
 +  *Ubuntu 16.04.5 LTS Server (either physical computer or VM bridged to the same network as the SGI computer you want to install IRIX on)
 +  *IRIX 6.5 installation media (Tarballs. Using disc images should also be possible, see the older guide)
 +
 +====Configuration====
 +Installing needed software packages. Screen might already be installed by default.
 +
 +<​code>​sudo apt-get install build-essential tftpd rsh-redone-server mksh screen</​code>​
 +
 +Replace 192.168.0.2 with the IP you are planning to use with the SGI computer for installation.
 +
 +<​code>​sudo echo 192.168.0.2 client >> /​etc/​hosts</​code>​
 +
 +These following settings do not persist after reboot. Use sysctl.conf if you need the settings to persist after reboot.
 +
 +<​code>​sudo echo 1 > /​proc/​sys/​net/​ipv4/​ip_no_pmtu_disc</​code>​
 +<​code>​sudo echo 2048 32767 > /​proc/​sys/​net/​ipv4/​ip_local_port_range</​code>​
 +
 +Add users:
 +
 +<​code>​ sudo adduser sgi
 +sudo su - sgi
 +echo client root > .rhosts</​code>​
 +
 +Add password to the user when asked. It is important to not leave the password blank.
 +
 +While still logged on as user sgi, move installation media files to /home/sgi. I used wget to download the files from a local FTP server. I extracted the files to folders using following naming conventions:​
 +
 +  *o1, o2, ... for overlays
 +  *ap for applications
 +  *f1, f2 for foundations
 +
 +Now you can return back to the main user by hitting CTRL-D.
 +
 +Change sgi user's shell to mksh (needed for RSH to work):
 +
 +<​code>​sudo chsh -s /bin/mksh sgi</​code>​
 +
 +Create configuration for TFTP server: <​code>​sudo nano /​etc/​xinetd.d/​tftp</​code>​
 +
 +<​code>​
 +service tftp
 +{
 +    protocol = udp
 +    port = 69
 +    socket_type = dgram
 +    wait = yes
 +    user = sgi
 +    server = /​usr/​sbin/​in.tftpd
 +    server_args = -s /home/sgi
 +    disable = no
 +}</​code>​
 +
 +Create configuration for RSH server:
 +
 +<​code>​sudo nano /​etc/​xinetd.d/​rsh</​code>​
 +
 +<​code>​
 +service shell
 +{
 +    socket_type = stream
 +    protocol = tcp
 +    wait = no
 +    user = root
 +    log_on_success += USERID
 +    log_on_failure += USERID
 +    server = /​usr/​sbin/​in.rshd
 +    disable = no
 +}</​code>​
 +
 +Create configuration for rlogind:
 +
 +<​code>​sudo nano /​etc/​xinetd.d/​rlogind</​code>​
 +
 +<​code>​
 +service login
 +{
 +    socket_type = stream
 +    protocol = tcp
 +    wait = no
 +    user = root
 +    log_on_success += USERID
 +    log_on_failure += USERID
 +    server = /​usr/​sbin/​in.rlogind
 +    disable = no
 +}</​code>​
 +
 +<​code>​sudo service xinetd restart</​code>​
 +
 +Set up rsh for passwordless login:
 +
 +<​code>​sudo echo client root > /​etc/​hosts.equiv</​code>​
 +
 +There exists a simplified BOOTP daemon for the purpose of installing IRIX. The package can be downloaded [[http://​www.ifora.org/​sgi/​bootp.tar.gz|here]]. The daemon will be run as root and in screen (optional). Remember to read the README file provided by the bootp tar.gz package and edit the source code accordingly before running make.
 +
 +<​code>​
 +sudo su
 +cd
 +screen
 +wget http://​www.ifora.org/​sgi/​bootp.tar.gz
 +tar -zxf bootp.tar.gz
 +cd bootp
 +nano bootpd.c # edit configuration before compiling
 +make
 +./bootpd |tee bootpd.out</​code>​
 +
 +Press Ctrl+a and then d to detach the screen and leave the bootpd running in background.
 +
 +====Installation====
 +  *Boot into PROM by hitting ESC multiple times while turning on the computer.
 +  *Enter Command Monitor and configure the IP address of the client: <​code>​setenv netaddr 192.168.0.2</​code>​
 +  *Boot into the disk partitioning software and partition your disk (the path is relative to /home/sgi in the server, first overlay contains the partitioner):​ <​code>​boot -f bootp():/​o1/​stand/​fx.ARCS</​code>​
 +  *After finishing with partitioning,​ return to the PROM main menu.
 +  *Select '​Install System Software'​
 +  *Select '​Remote Directory'​
 +  *Enter the IP of the Linux server (eg. 192.168.0.1)
 +  *Enter /o1/dist as directory
 +  *Click '​Install'​
 +
 +If all went well, you should now be at Inst console. To erase the hard drive and format it with XFS:
 +  *Enter 13 to select Admin menu
 +  *Enter 11 to select mkfs
 +  *Confirm with '​y'​ and when done enter '​..'​ to return to main Inst menu
 +
 +To begin installation,​ run:
 +<​code>​open sgi@192.168.0.1:​o1/​dist</​code>​
 +
 +Answer all the prompts and when asked for more distributions add them as follows:
 +<​code>​sgi@192.168.0.1:​o2/​dist
 +...</​code>​
 +After adding every distribution that you want to install, run:
 +<​code>​done
 +keep *
 +install standard
 +install prereqs</​code>​
 +
 +Before continuing, check if there are any conflicts and if there are solve them:
 +<​code>​conflicts</​code>​
 +After solving conflicts, begin installation with selected distributions:​
 +<​code>​go</​code>​
 +When the installation returns to the inst console, enter '​quit'​ and after requickstarting of ELF files is finished enter '​y'​ to reboot into the newly installed system.
network_install_ubuntu.txt ยท Last modified: 2019/01/29 00:38 by raion