Полезная информация

Next Up Previous Contents Index

D.5 Installing

Installing

D.5.1 Booting the MILO Diskette

Booting the MILO Diskette

(If you Alpha system doesn't support MILO, please skip to Section D.5.2.)

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 boot selections menu, select ``Add a boot selection''.

  4. Select ``Floppy Disk 0''.

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

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

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

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

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

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

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

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

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

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

  15. Return to the boot menu.

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=

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

D.5.2 Booting the Kernel Diskette

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. 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:

boot floppy

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

On the other hand, if you cannot use MILO, and must boot using the SRM console, enter the appropriate boot command for your Alpha system, making sure to add the following arguments to be passed to the kernel:

"load_ramdisk=1 prompt_ramdisk=1"

D.5.3 Starting the Installation

Starting the Installation

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

D.5.4 Issues Specific to Red Hat Linux/Alpha

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:

D.5.4.1 Disk Partitioning

Disk Partitioning

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

D.5.4.2 Creating a MILO Partition

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.

D.5.4.3 XFree86 and TGA

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.

You can now turn back to Section 3.3 to complete the installation.

D.5.5 Finishing Up

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.

D.5.5.1 Configuring MILO

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:vmlinux.gz root=/dev/sda2

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

	boot hdb3:vmlinux.gz root=/dev/hdb3

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 need to create a boot selection that will look for MILO on your MILO partition. 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 boot selections menu, select ``Add a boot selection''.

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

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

  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. ``Linux'' 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'', and enter ``\milo''. Press [Enter].

  13. 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.

  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.

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:vmlinux.gz root=/dev/sda2

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 in Chapter 6.


Next Up Previous Contents Index