Main | Goals | Status | FAQs | HowTos | Software | Help | Links | Projects | E-mail
Wednesday, July 15, 1998 The Hard Hat 5.1 (Manhattan) version 5.1 Pre-release
for SGI Indy(tm)
You'd think we were kidding, but we're not. This is an almost complete port of Red Hat's Manhattan (5.1) distribution. The only significant thing it is missing is an X server, but that is under serious development now.
The hardware supported is generally any SGI Indy(tm).
These are instructions on how to get the unofficial port of the Hard Hat 5.1 (Manhattan) for SGI Indy's version 5.1 pre-release 1 running on your Indy/Challenge S. This is neither a product of Red Hat nor of SGI.
Stuff you'll need:
You are strongly encouraged to report problems and feedback back to Alex deVries.
- an SGI Indy. At this point, I'd strongly recommend having a separate disk for Linux (so we refer to it as /dev/sdb).
- have your Linux disk partitioned from within IRIX.
- IRIX on the machine in order to install the boot image. Yes, we're working on this. No, the IRIX is not absolutely necessary, you can always boot via the network.
- another host to bootp/tftp/NFS root from. For this example I'll assume that you're using a Red Hat Linux i386 system, although other configurations will be possible.
- the entire install tree; the easiest way is to get the hardhat-sgi-5.1.tar.gz file from the SGI/Linux ftp server or some of the mirrors worldwide. The file is 270 MB, so consider using server closest to you. A CD of this is expected soon.
- a lot of patience.
Alright. Here's what you need to do to get this all running:
Server side
On your i386, setup the following:
- Setup tftp
You need to have the following lines configured in your /etc/inetd.conf:tftp dgram udp wait root /usr/sbin/tcpd in.tftpd \ /usr/src/sgi/installfs/ bootps dgram udp wait root /usr/sbin/bootpd /etc/bootptabI'm using /usr/src/sgi/installfs for all my file placement. You can choose something else if you want. After changing that, restart inetd with something like /etc/rc.d/init.d/inetd restart.
- Setup bootp
You need to setup your /etc/bootptab file to contain:alex3:hd=/usr/src/sgi/installfs:\ :rp=/usr/src/sgi/installfs:\ :ht=ethernet:\ :ha=080069088717:\ :ip=140.244.9.208:\ :bf=vmlinux:\ :sm=255.255.255.0:\ :to=7200:Here, alex3 is the name of the SGI host, 080069088717 is the mac address of the SGI which you'll have to get from IRIX, and 140.244.9.208 is the address of the SGI/Linux box. Modify to taste.
- Setup root NFS permissions
Ensure that in your /etc/exports you have something like:/usr/src/sgi/installfs 140.244.9.208(no_root_squash,rw)
- Copy all the files
Take all the installation files from ftp://oss.sgi.com:/pub/linux/mips/redhat/hardhat-sgi-5.1.tar.gz and put them in /usr/src/sgi/installfs. Yes, you'll need to preserve permissions. (See also more information about mirrors on the Linux on SGI software page to save bandwidth where possible.)Configure your disks
With IRIX tools, create an EFS partition on your Linux disk. Use command fx to do that. I recommend that you create the default "root" layout on the disk (provided you have the whole second disk for Linux). At this point, a swap partition won't be recognized. Yes, we're working on it. The installer does include fdisk, although it is untested.Start the install
Alright. This is the fun part. Assuming all your bootp/tftp/nfs root stuff is working properly, you should be able to just go into the command monitor (boot manager) and go:boot bootp():/vmlinuxYou should see the kernel load, and install should run. It might happen that you need to run bootp from different machine than where you have the nfs root filesystem. You can do that by booting vmlinux from the bootp while specifying different root likeboot bootp():/vmlinux nfsroot=1.2.3.4:/export/sgi/installfsThe problems with either bootp or tftp can be traced using the tcpdump(8) program on the server machine or on machine that is on the same hub.The actual install
Just go through the dialog boxes. A few notes:
- There's a dialog box that asks you if you want to use swap; just say no. There's swap problems right now. If it asks you if you're sure you want to continue without swap, say okay.
Configure your kernel
Boot in IRIX, then copy over vmlinux which is in /usr/src/sgi/installfs/vmlinux to the / of your IRIX filesystem. Then, from within the boot manager, you should be able to boot with:boot vmlinux root=/dev/sdb1Presto!Last, but not least
Let us know if it worked!
Updating the installation
After you have installed your Hard Hat, you might want to spend another minute to install recommended updates. These fix minor problems that were found after the big tar.gz was released.You can update your system by doing:
rpm -Uvh ftp://oss.sgi.com/pub/redhat/updates/hardhat-5.1/portmap-4.0-12.mipseb.rpm rpm -Uvh ftp://oss.sgi.com/pub/redhat/updates/hardhat-5.1/rpm-2.5.2-3.mipseb.rpm rpm -Uvh ftp://oss.sgi.com/pub/redhat/updates/hardhat-5.1/rpm-devel-2.5.2-3.mipseb.rpmwhere you might of course use address of your closest SGI/Linux mirror. There might be some more updates coming later, so please check the list of them.RPM has been updated to have a correct rpmrc so it will install .noarch.rpm files without having to use the --ignorearch flag. Portmap has been installed in order to run at an earlier stage on bootup so that NFS server loads properly.
If you are successful in installing and running your Indy, you might also consider checking the RPM database of packages available and also the list of packages that still need to be done.
Saving keystrokes when booting Linux
Tip from Leon VerrallInstead of typing
boot bootp():vmlinux nfsroot=/scratch/linux/installfs etc. etc.everytime to boot, on an SGI machine use:setenv -p linux "a_very_long_command_its_a_pain_to_keep_typing"and boot the machine with$linuxat the console prompt.
Running Linux on Challenge S
Notes from Richard HartensveldHook-up a terminal to the serial port, link /dev/console to /dev/ttyS1 on your NFS root. Don't forget to change setup-1.9.1-2.noarch.rpm to add some securetty's so that you can log in over the network as root.
Main | Goals | Status | FAQs | HowTos | Software | Help | Links | Projects | E-mail
This server runs on an SGI system with free software.
Copyright © 1997-1998 Silicon Graphics, Inc. All Rights Reserved. Linux is a trademark of Linus Torvalds