Set-up: Get the decstation running an:
  xterm -fn " "-adobe-courier-*-r-*-*-*-350-*-*-*-*-*-*" 

Hi! Welcome to day two of Linux classes! This is (slide 1)
Linux Installation, or, What is a nice person like you doing in an
Operating System like this?

Since I don't have a keyboard over here, we're using some revolutionary
voice recognition technology so that I can control the computer over there.
Really. Pay no attention to the man behind the curtain.

Before we get into installation, I'd like to quickly finish some questions 
from yesterday. I've compiled a list of most hardware supported by Linux,
and it's available in (slide 2) /afs/sipb/project/iap/linux/support.txt.
The command to print that is on the screen now.

The distribution that we'll be installing the the Slackware distribution,
probably the most common of all of them. There are also other distributions,
such as the Yggdrasil Plug-and-Play linux distributions. The Slackware
distribution is installable several ways, from floppies, from a DOS partition,
from a CD-ROM, from a tape, or over the network.

No matter what installation medium you use, to install Linux you need a boot
floppy and a root floppy. If you buy a CD, you'll have instuctions on how
to make floppies from CD, so I'll explain how to create a boot floppy from
athena. To start, you need two formatted floppies.

(slide 3) After you log in on athena, type 'add linux' (type add linux)
Now, change directories to /mit/linux/slackware. (type 'cd 
/mit/linux/slacware; ls') This directory contains versions of the Slackware
distribution. Choose the latest distribution. (type 'cd Slackware.2.1.0')
There are lots of usefull files here that you may want to take a look at.
Now, go into the bootdsks.144 directory (or the bootdsks.12 if you are using
5.25 inch disks). (type 'cd bootdsks.144')

From here, you want to choose the boot disk that's appropriate to your system.
The file WHICH.ONE can be helpful here. For most people, the scsinet bootdisk
will work. (If for some reason you need a special boot disk, come to SIPB
and we can make you one.) Next, we'll move the file somewhere we can work
with it. (type 'cp scsinet.gz /tmp') Now, we have to uncompress it. (type 'cd /tmp; gunzip scsinet.gz')

Now, we'll use a program called 'dd' to write this file to disk. Put your
first floppy disk (which you should label as your boot disk) in the drive.
Now, type 'dd if=/tmp/scsinet (or whatever boot disk you're using) 
of=/dev/fd0a (on DecStations, /dev/rdiskette on Suns, or /dev/fd0 on
Linux, /dev/rfd0h on RS6000). (type 'dd if=/tmp/scsinet of=/dev/floppy')

Making a root disk is almost the same. Go back to the Slackware
directory, and go into the rootdsks.144 directory (do so.) The most
common root disk used is color144.gz, but if you are installing onto a
DOS filesystem instead of repartitioning, you'll use umsds144.gz. Copy
the file to /tmp, as you did before, gunzip, and dd it to your other
floppy.

Now that you have your disks, we'll get started with installing.
(switch projection to Linux box) If you already have DOS on your system, and
want to keep it, you may have to shrink your DOS partition. This can be
done with a program called FIPS (Boot FIPS.) FIPS can be found on
sunsite.unc.edu:/pub/Linux/system/Install. (Demo FIPS)

Next you'll reboot your machine with the boot disk in the drive.
(Follow instructions, explain that they probably won't have to specify
anything at the prompt.) Log in as root. Now you'll run fdisk.
If you have IDE drives, the drive names will be /dev/hda, /dev/hdb, etc.
If you have SCSI drives, the drive names will be /dev/sda, /dev/sdb, etc.
At the prompt, type 'fdisk <drive>' where <drive> is the drive you're 
installing to. In this example, we'll look at /dev/hda.
Explain:
p - print
n - new
d - delete (be careful!)
t - change type

Use extended partition with 4 parts, make 3 and 4 swap and AFS. (Current
recommendation.) Explain in more detail.

Before running setup, if installing over the network, you need to:
  cat >/etc/hosts
  127.0.0.1 <foo>.mit.edu <foo> localhost
  18.<B.C.D> <foo>.mit.edu <foo>
  ^D
  hostname -S <foo>
  /etc/portmap

That's a bit fast, this is all listed in "Getting Started with Linux
on MITnet" (dvips /afs/sipb/project/doc/current/linux-net-install.dvi) 
The Slackware setup program is next. (I don't need notes for this.)

Set a root passwd.

Pass off to Erik.


