(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:
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.
At this point your Alpha system has been set to boot MILO from 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].
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.
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.
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.
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:
Red Hat Linux/Alpha supports two varieties of hard drive partitioning:
To do this during the installation, you must access the second virtual terminal on [Alt]-[F2]. You will then want to run the following command to start a more normalized shell than the installation itself provides:
chroot /mnt bash
Once you have the bash# prompt, you can use swriteboot to install aboot to the unallocated space you've left at the beginning of the disk:
swriteboot /dev/sda /boot/bootlx -f3
The -f3 switch is used to force swriteboot to ignore the conflict with the third disklabel, c, the ``whole disk'' label you have created.
boot dva0 -fi avanti-s.gz -flags "root=/dev/sda2"
Once you reach the initial login prompt, log in as root and run the following command:
/sbin/swriteboot /dev/sda /boot/bootlx -f3
For booting from the first SCSI hard disk, second partition (where the Linux root filesystem resides):
boot dka0 -fi 2/vmlinux.gz -fl "root=/dev/sda2"
The 2 in 2/vmlinux.gz and /dev/sda2 are representative of the second disklabel on the disk. The -fi and -fl options stand for file and flags respectively.
You can also choose a slightly different path that involves an extra prompt:
boot dka0
Once you get the aboot> prompt you can use similar kernel and root specifications to the ones used with the -fi and fl options mentioned above:
aboot> 2/vmlinux.gz root=/dev/sda2
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.
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.
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.
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.
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:
However, if your root partition is the third partition on your second IDE
drive, you would use this command:
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:
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:
Here's a sample boot selection:
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.
boot sda2 linux
boot hdb3 linux
dd if=/dev/fd0 of=/dev/sda1 bs=1440k
option.'' Pick the boot selection you just created.
changes.''
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