| Red Hat Docs > Red Hat Manuals > Archived Red Hat Linux Manuals > |
SRM InstallationsThe biggest issue with SRM is that SRM only recognizes BSD-style disk labels when booting. Therefore, you will need to perform a expert installation in order to use BSD-style disk labels from within fdisk . To do this, you'll need to use expert installation mode. You should consult the Official Red Hat Linux Installation Guide and/or the Official Red Hat Linux Reference Guide , since they provide more thorough overviews of disk partitioning and the considerations that must be kept in mind for partitioning, given the role of the machine. You should also be familiar with how the SRM console lists the devices present in your system. The SRM console references devices based on their type. Here is a list of common devices, and how they are referenced in the SRM console: Table 1-7. Common Devices and How They are Referenced in the SRM Console
Pre-Installation InformationTo make the Red Hat Linux/Alpha installation go smoothly, you'll need some information before you begin:
To see the list of devices that the SRM console can see, type in the following command:
A list of the devices that the SRM console is capable of seeing will appear. You must chose one of these devices from which to boot Red Hat Linux, during the installation process and every time you wish to boot your machine. In some cases, however, you may have a SCSI adapter, IDE disks, or networking hardware that is compatible with Red Hat Linux, but is either not OEM Digital or Compaq hardware, or is otherwise undetectable by the SRM console. This may not impede your running Red Hat Linux on your Alpha machine, but you are always required to boot from a device that the SRM console recognizes. SRM VariablesThe SRM console has several variables which store their values in NVRAM, therefore keeping them between reboots. To see the value of SRM console variables, type in the command:
Replace VAR with the name of the SRM console variable. To make listing variables easier, you can append an asterisk (*) at any point at the end of a variable name to show all variables that match the text typed so far. For example, the following command will show a list of all SRM console variables that begin with the letter "b":
A special case of the show command is the show dev command (as previously mentioned), which lists all the devices that the SRM console can locate. You can explicitly list all the devices of a particular type that SRM can see on your machine using the command:
The previous command will show all SRM devices that begin with "dk" (i.e., all SCSI disks). To set an SRM console variable, use the command:
In the above command, VAR is the name of the SRM console variable, and VALUE is the value it should be set to. Integer values do not have to be in quotes; however, it is recommended that you enclose all string values in quotes. And, while single-word string values don't need to be in quotes, it's easier to ALWAYS put string variable values in quotes. To clear a SRM console variable, use the following command:
In the above command, VAR is the name of the SRM console variable, and the empty quotes ("") denote a blank value. Some integer values cannot be cleared, but can be set to 0. Also note that some SRM console variables are integer in value, but boolean in nature. Several SRM console variables are worth mentioning:
SRM Disk ImagesSome things have changed for the better since the 5.x releases of Red Hat Linux. Now there is a single, generic kernel for all Alpha machines. This simplifies Alpha installation immensely. The recommended method for booting into the Red Hat Linux installation process is to use a floppy disk to load the kernel and to load the installer directly from the CD-ROM. All Alpha installations will need the kernel disk, created from the image file /images/generic.img on CD 1. However, if you plan to do an NFS installation, you will also need to use the RAM disk image from /images/ramdisk.img , also on CD 1. Instructions for creating disk images are located in the section called Writing an Image File to a Diskette . SRM can boot directly from the Red Hat Linux CD that is shipped in the boxed set, as the CD does have a valid aboot block. Booting the InstallerNow that you've created the kernel disk, you will need to boot into the Red Hat Linux installer. The boot command in the SRM console has a simple format and looks like this:
In the SRM console, the first floppy disk device is denoted as dva0. The generic kernel, contained on the boot disk you created, is called vmlinux.gz , and the CD-ROM, containing the Red Hat Linux installation program and files, is your CD device (dka500, in our example). Therefore, the boot command to boot into the installer is as follows:
If you have an IDE CD-ROM, you will need to know where in the IDE bus it is installed. It will be one of the following devices, based on its position on the IDE busses of your machine: Table 1-8. Location of an IDE CD-ROM on an IDE Bus
If your IDE CD-ROM is the first device on the second IDE bus, the boot command to launch the installer would be:
SRM Disk PartitioningOnce you get to the fdisk program, press "b" for BSD-style disk labeling. BSD-style disk labeling is different in certain ways from the standard fdisk partitioning used in ARC/AlphaBIOS installations and on Intel installations:
You will want to create at least three partitions (or more if you chose to put /usr in a separate partition, etc.)
Follow the guidelines in the Official Red Hat Linux Installation Guide and in the section called Disk Partitioning for tips and techniques on how to divide your drive into partitions. SRM Installation ProcessInstall Red Hat Linux/Alpha as described in the Official Red Hat Linux Installation Guide . Post-Installation Boot SetupOnce the installation has been completed, the machine should be capable of booting directly from the SRM console. You should then be able to boot in SRM directly from the hard drive, using the command:
<boot device> is the SRM device on which you installed the aboot secondary boot loader. <boot file> is the uncompressed kernel file that you installed (as described in the section called Pre-Installation Information ). You will need to preface this with the number of the partition you have the kernel on (e.g., `3' for the third partition on the boot device, `2' for the second partition, etc.) and include the full path to the kernel. <boot flags> are the root device (device mounted as / ) and any other kernel flags that you need to pass. For example, if you installed aboot on the first SCSI device on the second SCSI bus (device dkb0), the root of your Linux filesystem is the third partition of your first SCSI drive ( /dev/sda3 ), and you installed version 2.2.12-20 of the Linux kernel on a uni-processor machine, then the boot command to boot your Alpha is:
SRM AutobootThe SRM console has the ability to autoboot. It is controlled by the value of the AUTO_ACTION SRM console variable. AUTO_ACTION can be set to `halt' or `boot' to reflect the default power-on function of the Alpha machine when booted into the SRM console.
Troubleshooting an SRM InstallationIf you encounter problems installing Red Hat Linux/Alpha from SRM, answer the following questions:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||