Installing Linux

Topics


Installing An OS

The steps involved in installing an OS are:

In order to make this all happen, you need to be able to boot your system up under a system that can read the media that contains the installation copy of your operating system. This is typically easy these days, because most system BIOS's will boot from the CD-ROM, a floppy or a hard drive. In fact, this is so common that most suppliers of OS's send you their installations on a CD; you put the CD in, you start the system, it boots by reading some stuff from the CD, and then it goes through the installation process. Voila!

The bad news is that some systems won't boot from a CD. When this happens, you need to create a bootable floppy for you OS. You boot up with the floppy and it has a program that reads the CD and gets everything else going. Since Red Hat doesn't ship a bootable floppy with their installation sets, you need to create one. This process is described in create_install_set.

Go to your soon-to-be-Linux system and put the CD in the CD-ROM drive and the floppy in the floppy drive and start the system. You will eventually see a boot: prompt. Hit the Enter key and the system will boot from the floppy and then start the installation procedure.

The Red Hat Linux Install Procedure

  1. Know your hardware

    For the systems in EPS 259,

  2. Plan the installation
  3. Boot with the CD-ROM as the boot device or use the floppy. Note the CD-ROMs on the systems in EPS 259 will not allow booting, so you will have to use the floppy.
  4. You will see boot:

Answers to Questions

Rather than going through the install procedure in laborious detail, read about it in the Install Manual. Here are some details that you may find useful. In general, the default choices are correct for most things.

Language, Keyboard and Mouse

Select the language you prefer and the default keyboard type. Select a generic 2-button PS/2. Note for a two button mouse, choose Emulate 3 Buttons at bottom.

Type of Installation

The type of installation is unique to Red Hat. You can pick workstation, but it will not install some stuff that you want. You also don't want server, since it installs a lot of stuff you don't want. So choose custom.

Caution!! If you choose a Server install, it assumes you want the machine to be Linux only, which can be a real disappointment if you have a Windows installation you want to keep because it will be gone when you're done.

Disk Partitioning Disks

It will let you choose Continue to automatically partition or Custom. Choose Custom. If you choose custom, it will show you two choices for the partitioning, fdisk or Disk Druid. Choose Disk Druid.

If there are existing partitions, you may need to start by deleting all existing partitions. You can't use the mouse, so use the TAB key and arrow keys to move around.

How To Boot

Network Configuration

Firewall Configuration

Choose the Medium security level and for now, allow only incoming SSH. The default is Medium, and that is a good choice. Low leaves your system open to a number of hacks, and High sets protections so tight that you can't do much of anything.

Language Support

You decide, but extra languages take up space.

Time Zone Configuration

Where and when do you want to be today?? (America/Boise)

Authentication Configuration

Enable shadow passwords and MD5. Do not choose NIS, LDAP or Kerberos.

Account Configuration

Software to Install

You will have to choose the software to install. The big problem is the shortage of space, so you want to pick the ones you will need. As you pick packages, the total amount committed shows at the top and you have to stay under the amount of space available on /usr and /. You can't determine exactly how it is distributed, so its a guessing game. Try to get the following packages.

If they won't all fit (you find this out several screens later and you have to backup, get rid of News, then NFS, then Samba and then DOS/Windows Connectivity. If it won't fit, you should take a look at the disk configuration and see what can be done. As a last resort, get rid of Kernel Development and then Development. If worse comes to worse, we can add some of these things back later.

Prepare to wait for this to complete. It might be measured in hours.

Creating a Boot Disk

Video Card

Enter your video card type. For the systems in EPS 259, they are S3 Trio 64 devices with 4 MB of memory.

Monitor

The simplest thing is to choose Unprobed monitor as your monitor type. You can also choose generic and set the refresh rates.

Installing X

You're Done!!

Startup and Shutdown