This document describes the process for installing the operating system software and other externally developed software on our parallel cluster.
This procedure is a simplified version of the one documented by Bruce Perens et al in Installing Debian Linux 2.0 for x86. You may wish to read this document before (or during) this install process. If something goes wrong during your installation, this is a good place to look for help.
There are several different ways to install Debian/GNU Linux. For example, you can install from a CD-ROM, or floppy diskettes. since our machines don't have CD-ROM drives, we'll use floppies.
To install Debian/GNU Linux from 1.44 Mbytes floppies, you'll need a stack of 8 diskettes. They're labeled "resc1440.bin", "drv1440.bin", and "base14-1.bin" through "base14-6.bin". You should find 4 sets of these in the lab.
You'll also need a blank floppy to be used to create a "Boot Floppy" for your system. You should find one of these with a number (0-9) or letter (A-F) in the lower left corner, corresponding to the node-address for your machine. This should stay with your node at all times.
Until you actually get a Linux kernel installed on your hard disk drive, you'll need to use a boot floppy to start your system and invoke the base Debian installation software.
This is done using the so-called "rescue" disk labeled resc1440.bin. This disk was created from a binary file of the same name, which I downloaded from www.debian.org, and is intended for use on a 1.44Mbyte floppy.
If you need to restart your computer at any time before it's ready to boot from the hard drive, you'll need to use this rescue floppy.
Within a minute, you should see a screen which begins with "Welcome to Debian/GNU Linux 2.1!". At the bottom is a "boot:" prompt.
The system will begin to boot from the diskette in the floppy drive.
Within a minute you should see a monochrome screen asking you "Select Color or Monochrome Display".
You should see color.
You'll be using a program called "cfdisk" to partition the hard disk. The program is easy to use, but a little confusing at first.
Your goal is to partition the hard disk into three partitions:
The user interface for cfdisk is fairly simple but a little confusing at first. The up and down arrows apply to the top part of the screen and allow you to switch between partitions, and the left and right arrows apply to the bottom of the screen and allow you to switch between options for that partition.
Respond to the prompts to create a "Primary" partition of "500" Mbytes at the "Beginning" of the disk. You have just created the Linux partition.
Respond to the prompts to create a "Primary" partition of "128" Mbytes at the "Beginning" of the disk. You have just created the swap partition.
Enter "82" to make this a Linux Swap partition.
Type Enter key.
Wait until disk is completed.
Remove disk.
Type Enter key.
Wait until disk is completed.
Remove disk.
Type Enter key.
Wait until disk is completed.
Remove disk.
Type Enter key.
Wait until disk is completed.
Remove disk.
Type Enter key.
Wait until disk is completed.
Remove disk.
Type Enter key.
Wait until disk is completed.
Remove disk.
In this step you will configure a few things about your newly installed kernel, mostly having to do with what time zone you're in and how your clock is set.
The machine will warm-up and "calibrate" the floppy disk drive. Make note of the "deviation" for your floppy drive. We'll use this as a configuration parameter later.
Finally, we're ready to test the installation.
You should see the system do an orderly shutdown process, and then restart, and come up again.
Try to watch what's going on. After the system goes through the normal hardware setup processes, you should see it start to boot Linux from the hard drive, and then begin loading a number of device drivers.
When the boot process is complete, you should be prompted for a series of questions about the new root password for your machine. (!)
Next, you will be asked if you want to create a user account.
Please create the user "pvm", with the password "pvm123".
By now, the base Debian/Linux Kernel is installed and configured, and you've created a user. Finally, you should test the Boot Floppy you created before you move on to Part II.
Do not use the Reset button to reboot if Linux is already running. You may corrupt your hard drive.
Since the Boot Floppy is in the floppy disk drive, the system will try to reboot from there.
shutdown -h now
to do an orderly shutdown and halt the linux system instead of rebooting.
Congratulations! You've completed the installation of the Debian GNU/Linux kernel.
Next, we'll install the rest of the operating system software via a connection to the Internet.
Copyright © 1999,
Ray Ontko
(rayo@ontko.com).
If you're curious about why I copyright, see
Peter Suber's
Why
Copyright Web Documents?.