Next Up Previous Contents Index
Installing

1.5 Installing

1.5.1 Booting the MILO Diskette

(If your Alpha system doesn't support MILO, please skip to Section 1.5.2.)

Please Note: If your Alpha system supports MILO, but uses the newer AlphaBIOS instead of the ARC console, please turn to Section 2.5.2 for information on booting MILO.

Before you can boot your MILO diskette, you'll need to add a new boot selection to your ARC console. You can add a new boot selection for your MILO diskette by following these steps:

  1. From the boot menu, select ``Supplementary menu.''

  2. From the supplementary menu, select ``Set up the system.''

  3. From the setup menu, select ``Manage boot selection menu.''

  4. From the boot selections menu, select ``Add a boot selection.''

  5. Select ``Floppy Disk 0.''

  6. Enter ``\linload.exe'' as the osloader directory and name after erasing any default information.

  7. Indicate that the operating system is in the same partition as the osloader by entering ``yes.''

  8. Enter ''\'' as the operating system root directory after erasing any default information.

  9. Give the boot selection a meaningful name. ``MILO'' is a nice name.

  10. Indicate that you do not want to initialize the debugger at boot time by entering ``no.''

  11. From the boot selection menu, select ``Change a boot selection
    option
    .'' Pick the boot selection you just created.

  12. Using the arrow keys, select ``OSLOADFILENAME.'' Enter ``\milo.'' Press [Enter].

  13. Using the arrow keys, select ``OSLOADOPTIONS.'' Erase any information that may be there. Press [Enter]

    At the end of this process, your boot selection should look something like this one (not counting differences in boot selection name and disk identification strings):

       
    LOADIDENTIFIER =Linux
    SYSTEMPARTITION=multi(0)disk(0)fdisk(0)
    OSLOADER=multi(0)disk(0)fdisk(0)\linload.exe
    OSLOADERPARTITION=multi(0)disk(0)fdisk(0)
    OSLOADFILENAME=\milo
    OSLOADOPTIONS=
    

    Please Note:If you would rather have Linux load automatically, you can add boot sda1 Linux (based on the correct partition and hard drive information specific to you machine) to the OSLOADOPTIONS line.

  14. Press [Esc] to leave the ``Change a boot selection option'' menu.

  15. Select ``Setup Menu.'' Select ``Supplementary menu, and save
    changes
    .''

  16. Return to the boot menu.

At this point your Alpha system has been set to boot MILO from diskette.

1.5.2 Booting the Kernel Diskette

Now it's time to get things started. We need to start by booting from the kernel diskette you've created. How this is done depends on your Alpha system.

First you will need to choose ``boot Linux'' and press [Enter].

1.5.2.1 Booting the Kernel Diskette Using MILO

If it supports MILO, insert your MILO diskette, and boot from that.

At the MILO> prompt, insert your kernel diskette, and enter the following boot command:

MILO> boot floppy

MILO should then read the Linux kernel from your boot disk and start running it.

1.5.2.2 Booting the Kernel Diskette Using SRM

You can use SRM to boot your machine if a MILO image does not exist for your specific system. Please ensure that have chosen the appropriate kernel disk image. For example, if you have an an Avanti board, use the SRM-specific avanti-s image rather than the avanti image. If you are using a floppy to boot, the command line should look like this:

boot dva0 -file vmlinux.gz -flags "root=/dev/fd0 loadramdisk=1"

If you are trying to install directly from CD, you should use a command that looks something like this:

boot dka1 -file kernels/avanti-s.gz -flags "root=/dev/scd0"

We recommend using diskettes for the installation whenever possible. Generally this is the safest method for recovery in case the installation fails.

1.5.3 Starting the Installation

After the kernel boots, it prompts for a ramdisk. Remove the kernel diskette, insert the ramdisk diskette, and press [Enter]. When the ramdisk is loaded, you should see the first installation screen.

1.5.4 Issues Specific to Red Hat Linux/Alpha

Before you return to the installation, you should know about some differences between Red Hat Linux/Intel and its Alpha counterpart. Let's review them:

1.5.4.1 Disk Partitioning

Red Hat Linux/Alpha supports two varieties of hard drive partitioning:

Please Note: If any drives on your system have BSD-style disk labels, you will not be able to use Disk Druid to set up partitions. In this case, you will need to use fdisk for partitioning.

1.5.4.2 Creating a MILO Partition

If your system supports MILO, you should allocate a small (no more than 2 MB) partition to it. The partition type must be DOS. This is where you will copy MILO and linload.exe to after the installation completes.

1.5.4.3 XFree86 and TGA

If you have an Alpha with a TGA card and you choose to install XFree86, the installation program prompts you to choose a video card. Choose Unlisted Server, and the installation program will display a list of available servers. Choose the TGA server.

1.5.5 Finishing Up

After the installation is finished and your system is fully configured, you will be asked to reset your computer. This indicates that your system has been successfully installed.

1.5.5.1 Configuring MILO

In order to boot your newly installed system, you'll need to use your MILO diskette. To boot Red Hat Linux/Alpha from MILO, you must use the boot command. The command differs slightly depending on where your root partition is.

For example, if your root partition is the second partition on your first SCSI hard drive, you would boot as follows:

boot sda2 linux

However, if your root partition is the third partition on your second IDE drive, you would use this command:

boot hdb3 linux

Boot your Alpha system (using the appropriate root partition name for your system, of course). Once Red Hat Linux/Alpha has finished booting, login, and issue the following command:

dd if=/dev/fd0 of=/dev/sda1 bs=1440k

This will copy MILO (along with linload.exe) to the small MILO partition you created during installation.

Finally, you must create a boot selection that will look for MILO on your MILO partition.

Please Note: If your Alpha system uses the newer AlphaBIOS instead of the ARC console, please turn to Section 2.5.2 for further information.

Shutdown your Alpha system, and perform the following steps from the ARC console:

  1. From the boot menu, select ``Supplementary menu.''

  2. From the supplementary menu, select ``Set up the system.''

  3. From the setup menus, select ``Manage boot selection menu.''

  4. From the boot selections menu, select ``Add a boot selection.''

  5. Select the line that describes your MILO partition, if shown. If it's not there, select ``New System Partition.''

  6. Enter the device attributes (ie, SCSI/IDE, bus number, etc.) that describe your MILO partition.

  7. Enter ``\linload.exe'' as the osloader directory and name after erasing any default information.

  8. Indicate that the operating system is in the same partition as the osloader by entering ``yes.''

  9. Enter ``\'' as the operating system root directory after erasing any default information.

  10. Give the boot selection a meaningful name. ``Linux'' is a nice name.

  11. Indicate that you do not want to initialize the debugger at boot time by entering ``no.''

  12. From the boot selection menu, select ``Change a boot selection
    option
    .'' Pick the boot selection you just created.

  13. Using the arrow keys, select ``OSLOADFILENAME,'' and enter ``\milo.'' Press [Enter].

  14. Using the arrow keys, select ``OSLOADOPTIONS,'' and erase any information that may be there. Alternatively, if you would like to have MILO automatically boot your Red Hat Linux/Alpha system, you can enter the boot command that you used to boot Red Hat Linux/Alpha from the MILO floppy. In either case, Press [Enter] when done.

  15. Press [Esc] to leave the ``Change a boot selection option'' menu.

  16. Select ``Setup Menu.'' Select ``Supplementary menu, and save
    changes
    .''

  17. Return to the boot menu.

Here's a sample boot selection:

LOADIDENTIFIER =Linux
SYSTEMPARTITION=scsi(0)disk(0)rdisk(0)partition(1)
OSLOADER=scsi(0)disk(0)rdisk(0)partition(1)\linload.exe
OSLOADERPARTITION=scsi(0)disk(0)rdisk(0)partition(1)   
OSLOADFILENAME=\milo
OSLOADOPTIONS=boot sda2 linux

Note that in this case we are using the OSLOADOPTIONS line to automatically direct MILO to boot our kernel.

At this point, reboot your system, the boot selection you just created. Once the login: prompt appears, log in as root, and continue with the post-installation tasks outlined in the Red Hat Linux Installation Guide.


Next Up Previous Contents Index