Installation Guide January 2000 ECG513/0100, revision 1.2.10 Compaq Computer Corporation Contents: EXTENDED TABLE OF CONTENTS........ 2 INTRODUCTION ....................................... 7 OVERVIEW OF INSTALLATION .............. 8 COMPAQ ALPHASERVER DS10............. 9 COMPAQ ALPHASERVER DS20........... 23 COMPAQ ALPHASERVER DS20E ........ 36 COMPAQ ALPHASERVER ES40 ........... 49 COMPAQ ALPHASTATION XP1000 ...... 64 APPENDIX A .......................................... 77 APPENDIX B ....................
Linux Installation and Configuration Guide for AlphaServer 2 Extended Table of Contents EXTENDED TABLE OF CONTENTS...................................................................2 INTRODUCTION ..................................................................................................7 Management Summary .......................................................................................................................... 7 Document Structure ...................................................
Linux Installation and Configuration Guide for AlphaServer 3 Software Installation ........................................................................................................................... 26 Disk Partitioning............................................................................................................................. 26 Post-Installation..................................................................................................................................
Linux Installation and Configuration Guide for AlphaServer 4 Pre-Installation ................................................................................................................................... 56 Creating The BOOT and RAMDISK Floppies ................................................................................. 56 Firmware Inspection and Upgrade ...................................................................................................
Linux Installation and Configuration Guide for AlphaServer 5 Reusing a previously installed hard drive ............................................................................................ 80 TLZ07 and TLZ09 Errata.................................................................................................................... 80 GLOSSARY........................................................................................................
Linux Installation and Configuration Guide for AlphaServer 6 Notice The information in this publication is subject to change without notice and is provided “AS IS” WITHOUT WARRANTY OF ANY KIND. THE ENTIRE RISK ARISING OUT OF THE USE OF THIS INFORMATION REMAINS WITH RECIPIENT.
Linux Installation and Configuration Guide for AlphaServer Introduction The purpose of this guide is to discuss the basics of installation and configuration of the Linux operating system on the Compaq AlphaServer DS10, DS20, DS20E, ES40 and AlphaStation XP1000 computers. Numerous references to external sources and materials are used in this guide, and Compaq recommends that you refer to these sources where additional detail is needed. You can find an extensive list of these in Appendix A of this document.
Linux Installation and Configuration Guide for AlphaServer Overview of Installation The process of installing Linux on your Compaq AlphaServer or AlphaStation follows these general steps: 1. Creation of BOOT and RAMDISK floppies. 2. Firmware revision inspection and upgrade. 3. SRM configuration for installation. 4. Linux software installation and configuration. 5. SRM reconfiguration for booting the installed software. 6. Post installation configuration.
Linux Installation and Configuration Guide for AlphaServer 9 Compaq AlphaServer DS10 Hardware Options Tested Saleable Hardware Options Tested saleable hardware options for the DS10 is outlined in Table 1. All of the systems used come equipped with standard bus-interface devices for which drivers already exist for Linux. All bus-interface devices detailed use the PCI bus. Detailed information on each particular businterface device can be founds in a subsection of the appropriate software.
Linux Installation and Configuration Guide for AlphaServer 10 For Alpha Systems Supported Options List: http://www.digital.com/alphaserver/products/options.html Red Hat Version 6.0 Distribution Pre-Installation Creating The BOOT Floppy Before you can begin to install the Linux software on your AlphaServer or AlphaStation, you will need to create a BOOT floppy. This floppy contains the information required to initiate the installation of Linux.
Linux Installation and Configuration Guide for AlphaServer 11 $ cd /var/tmp/Linux $ ftp ftp.digital.com login: ftp Password: user@ ftp> bin ftp> cd /pub/DEC/Linux-Alpha/Images/ ftp> get generic-up-2.2.12.img ftp> quit 2. Insert a blank, formatted floppy into the computer, and copy the BOOT kernel to it: $ dd if=generic-up-2.2.12.img of=/dev/fd0 With this floppy in hand, you are now prepared to begin the installation process on your AlphaServer or AlphaStation.
Linux Installation and Configuration Guide for AlphaServer dka100.1.0.3000.0 dka200.2.0.3000.0 dka300.3.0.3000.0 dqa0.0.0.13.0 dva0.0.0.0.0 eia0.0.0.2004.0 eib0.0.0.2005.0 eic0.0.0.2006.0 eid0.0.0.2007.0 ewa0.0.0.9.0 ewb0.0.0.11.0 ewc0.0.0.3002.0 pka0.7.0.3000.0 pkb0.7.0.3001.
Linux Installation and Configuration Guide for AlphaServer 13 When configuring "Timezones", do not select "Hardware clock set to GMT", nor "Startup through ARC console". Instead select "EST" for the timezone, or the value that is appropriate for your location. Disk Partitioning The process of partitioning your boot disk for Linux on your AlphaServer can be somewhat involved. This section provides an example of how perform the partitioning process using fdisk.
Linux Installation and Configuration Guide for AlphaServer 11. Type “p” to print the partition table and verify no partitions exist 12. Type “n” to add a new BSD partition – the boot partition in this case 13. Type “a” for partition a. 14. First cylinder: Type “1”. 15. Last cylinder: Type “2”. 16. Type “n” to add a new BSD partition – the / (root) partition in this case. 17. Type “b” for partition b. 18. First cylinder: Type “3”. 19. Last cylinder: Type “28”. 20.
Linux Installation and Configuration Guide for AlphaServer 15 45. Tab to DONE and press ENTER. For further information on creating partitions please refer to the Installation Guide provided by the software distribution vendor. Post-Installation System Resource Manager Configuration After the software has been loaded to the disk, the system will attempt to reboot. Before it begins the bootup process, press the front panel reset button.
Linux Installation and Configuration Guide for AlphaServer 16 SuSE Version 6.1 Distribution Pre-Installation Creating The BOOT and RAMDISK Floppies Before you can begin to install the Linux software on your AlphaServer, you will need to create a BOOT floppy and RAMDISK. These floppies contain the information required to initiate the installation of Linux. The process varies depending upon what software distribution you are using.
Linux Installation and Configuration Guide for AlphaServer 17 2. Insert a blank, formatted floppy into the computer, and copy the BOOT kernel to it: $ dd if=/cdrom/disks/aboot of=/dev/fd0 3. Insert a blank, formatted floppy into the computer, and copy the RAMDISK to it: $ dd if=/cdrom/disks/install of=/dev/fd0 With those two floppies in hand, and the CD-ROM removed from the computer, you are now prepared to begin the installation process on your AlphaServer.
Linux Installation and Configuration Guide for AlphaServer eid0.0.0.2007.0 ewa0.0.0.9.0 ewb0.0.0.11.0 ewc0.0.0.3002.0 pka0.7.0.3000.0 pkb0.7.0.3001.0 18 EID0 EWA0 EWB0 EWC0 PKA0 PKB0 00-50-8B-6F-38-85 08-00-2B-86-1F-64 08-00-2B-86-1F-63 00-06-2B-00-0A-5C SCSI Bus ID 7 SCSI Bus ID 7 In the output above, the first line shows that DKA0 is a hard disk, DQA0 is a CD-ROM, and DVA0 is a floppy drive.
Linux Installation and Configuration Guide for AlphaServer 19 window titled "Partition Hard Drives". At this point, press the ALT+F2 keys, which will change the display to show a shell-command prompt. At this prompt, type the command "fdisk" followed by the enter key. The process of partitioning your boot disk for Linux on your AlphaServer can be somewhat involved. This section provides an example of how perform the partitioning process using fdisk.
Linux Installation and Configuration Guide for AlphaServer 12. Type “n” to add a new BSD partition – the boot partition in this case 13. Type “a” for partition a. 14. First cylinder: Type “1”. 15. Last cylinder: Type “2”. 16. Type “n” to add a new BSD partition – the / (root) partition in this case. 17. Type “b” for partition b. 18. First cylinder: Type “3”. 19. Last cylinder: Type “28”. 20. Type “n” to add a new BSD partition – the swap partition in this case. 21. Type “c” for partition c. 22.
Linux Installation and Configuration Guide for AlphaServer 21 For further information on creating partitions please refer to the Installation Guide provided by the software distribution vendor. At this point, the partitions have been created, and the system must be rebooted. You can reboot by either pressing the RESET or POWER buttons on the front of the AlphaServer system. Once the system returns to the SRM prompt, follow the preceeding instructions to return to the "Partition Hard Drives" window.
Linux Installation and Configuration Guide for AlphaServer 22 number (I.e. mkswap /dev/sda3 or mkswap /dev/hda3.) This is required to work around a problem of the swap. 3. Mount the floppy disk to copy the kernel from the floppy to the /boot/ directory on the system disk. Type: mount /dev/fd0 /floppy 4. Now go to the /boot directory. Type: cd /boot 5. Copy the kernel. Type: cp /floppy/vmlinux.gz . 6. Unmount the floppy. Type: umount /dev/fd0 7. Type: shutdown -h now The system may or may not hang here.
Linux Installation and Configuration Guide for AlphaServer 23 Compaq AlphaServer DS20 Hardware Options Tested Saleable Hardware Options Tested saleable hardware options for the DS20 is outlined in Table 1. All of the systems used come equipped with standard bus-interface devices for which drivers already exist for Linux. All bus-interface devices detailed use the PCI bus. Detailed information on each particular businterface device can be founds in a subsection of the appropriate software.
Linux Installation and Configuration Guide for AlphaServer 24 Red Hat Version 6.0 Distribution Pre-Installation Creating The BOOT Floppy Before you can begin to install the Linux software on your AlphaServer or AlphaStation, you will need to create a BOOT floppy. This floppy contains the information required to initiate the installation of Linux. The process varies depending upon what software distribution you are using.
Linux Installation and Configuration Guide for AlphaServer 25 Password: user@ ftp> bin ftp> cd /pub/DEC/Linux-Alpha/Images/ ftp> get generic-smp-2.2.12.img ftp> quit 2. Insert a blank, formatted floppy into the computer, and copy the BOOT kernel to it: $ dd if=generic-smp-2.2.12.img of=/dev/fd0 With this floppy in hand, you are now prepared to begin the installation process on your AlphaServer or AlphaStation.
Linux Installation and Configuration Guide for AlphaServer 26 Also useful for inspecting the computer configuration is the "show config" command, as shown here: P00>>>show config | more 3. Configure the system SRM parameters to boot from your installation device. A table providing cross-referenced device names is located in Appendix C, for your convenience. Example commands for configuring to boot from the floppy device are shown here: P00>>>set bootdef_dev dva0 P00>>>set boot_file vmlinux.
Linux Installation and Configuration Guide for AlphaServer c: d: 4272048 3871032 229152 4501200 27 swap ext2 # (Cyl. # (Cyl. 29 - 550) 551 - 1023) We strongly recommend the following multi-partition layout: A boot partition – A boot partition is used to reserved the first 2 cylinders (1-2) to write the bootloader in order to boot the disk from SRM. A root partition – The root partition is where the / (root directory) resides. Always starts at cylinder 3.
Linux Installation and Configuration Guide for AlphaServer 22. First cylinder: Type “29”. 23. Last cylinder: Type “550”. 28 24. Type “n” to add a new BSD partition – the /usr partition in this case. 25. Type “d” for partition d. 26. First cylinder: Type “551”. 27. Last cylinder: Type “1023” ; last cylinder - one. Do NOT accept the program generated default of "1024" here, because of possible disk corruption. 28. Type “p” to print the partition table.
Linux Installation and Configuration Guide for AlphaServer 29 P00>>>set boot_file 2/boot/vmlinux.gz P00>>>set bootdef_dev dka0 P00>>>set boot_osflags "root=/dev/sda2" P00>>>boot dva0 -fi vmlinux.gz Note - When the system boots, you may see a series of warnings similar to the following: system.map - incorrect version This warning indicates that the kernel version that you installed (i.e. the latest version that you copied from Compaq's ftp site) was not built at the same time as the rest of the kernel.
Linux Installation and Configuration Guide for AlphaServer 30 4. Copy the file "\disks\install" from the CD-ROM to the \Linux directory on the PC. 5. Insert a blank, formatted floppy into the PC. 6. Run the following command from the DOS command shell: C:\Linux> rawrite Enter source file name: aboot Enter destination drive: a Label this floppy "AlphaServer Linux BOOT Floppy". 7.
Linux Installation and Configuration Guide for AlphaServer 31 Power up your system.
Linux Installation and Configuration Guide for AlphaServer 32 Software Installation SuSE’s installation program is flexible. While it allows for autodetection of devices and autoload of device drivers, it allows you to override the automatically configured parameters. Compaq’s testing this Solutions Guide was performed using SuSE Version 6.1. The software installation process requires that the system be rebooted at two critical places in the process.
Linux Installation and Configuration Guide for AlphaServer 4. If there is partition information already configured for the disk, you will need to delete it using the “d” option. Please be sure that you want to zero out this drive. All data will be lost on the drive doing this. 5. Type “b” to edit the BSD disklabel. 6. If you completed the last step correctly, you should see the following: “/tmp/sda contains no disklabel. Do you want to create a disklabel? (y/n)” – Answer Y. 7. Type “m” for more help. 8.
Linux Installation and Configuration Guide for AlphaServer 34 35. Enter “8” for ext2 type. 36. Type “t” to change the partitions filesystem id. 37. Type “c” for partition c – swap partitions use a “swap” code. 38. Enter “1” for swap type. 39. Type “t” to change the partitions filesystem id. 40. Type “d” for partition d – /usr partitions use a “ext2” code. 41. Enter “8” for ext2 type. 42. Type “p” to print the partition table – Please verify all your settings. 43.
Linux Installation and Configuration Guide for AlphaServer 35 system.map - incorrect version This warning indicates that the kernel version that you installed (i.e. the latest version that you copied from Compaq's ftp site) was not built at the same time as the rest of the kernel. This will not impact your use of Linux in any way. This warning can be eliminated by installing the kernel sources, all currently recommended patches and rebuilding the kernel.
Linux Installation and Configuration Guide for AlphaServer 36 Compaq AlphaServer DS20E Hardware Options Tested Saleable Hardware Options Tested saleable hardware options for the DS20E is outlined in Table 1. All of the systems used come equipped with standard bus-interface devices for which drivers already exist for Linux. All bus-interface devices detailed use the PCI bus. Detailed information on each particular businterface device can be founds in a subsection of the appropriate software.
Linux Installation and Configuration Guide for AlphaServer 37 Red Hat Version 6.0 Distribution Pre-Installation Creating The BOOT Floppy Before you can begin to install the Linux software on your AlphaServer or AlphaStation, you will need to create a BOOT floppy. This floppy contains the information required to initiate the installation of Linux. The process varies depending upon what software distribution you are using.
Linux Installation and Configuration Guide for AlphaServer 38 Password: user@ ftp> bin ftp> cd /pub/DEC/Linux-Alpha/Images/ ftp> get generic-smp-2.2.12.img ftp> quit 2. Insert a blank, formatted floppy into the computer, and copy the BOOT kernel to it: $ dd if=generic-smp-2.2.12.img of=/dev/fd0 With this floppy in hand, you are now prepared to begin the installation process on your AlphaServer or AlphaStation.
Linux Installation and Configuration Guide for AlphaServer 39 In the output above, the first line shows that DKA0 is a hard disk, DQA0 is a CD-ROM, and DVA0 is a floppy drive. Also useful for inspecting the computer configuration is the "show config" command, as shown here: P00>>>show config | more 3. Configure the system SRM parameters to boot from your installation device. A table providing cross-referenced device names is located in Appendix C, for your convenience.
Linux Installation and Configuration Guide for AlphaServer b: c: d: 212784 4272048 3871032 16368 229152 4501200 40 ext2 swap ext2 # (Cyl. # (Cyl. # (Cyl. 3 - 28) 29 - 550) 551 - 1023) We strongly recommend the following multi-partition layout: A boot partition – A boot partition is used to reserved the first 2 cylinders (1-2) to write the bootloader in order to boot the disk from SRM. A root partition – The root partition is where the / (root directory) resides. Always starts at cylinder 3.
Linux Installation and Configuration Guide for AlphaServer 41 21. Type “c” for partition c. 22. First cylinder: Type “29”. 23. Last cylinder: Type “550”. 24. Type “n” to add a new BSD partition – the /usr partition in this case. 25. Type “d” for partition d. 26. First cylinder: Type “551”. 27. Last cylinder: Type “1023” ; last cylinder - one. Do NOT accept the program generated default of "1024" here, because of possible disk corruption. 28. Type “p” to print the partition table.
Linux Installation and Configuration Guide for AlphaServer 42 You need to enter these commands, such that the drive reference on the second line needs to refer to the drive which you installed to: P00>>>set boot_file 2/boot/vmlinux.gz P00>>>set bootdef_dev dka0 P00>>>set boot_osflags "root=/dev/sda2" P00>>>boot dva0 -fi vmlinux.gz Note - When the system boots, you may see a series of warnings similar to the following: system.
Linux Installation and Configuration Guide for AlphaServer 43 4. Copy the file "aboot_dualncr-qlogic" from ftp://ftp.digital.com/pub/DEC/LinuxAlpha/Images/ to the \Linux directory on the PC and rename the file to aboot. 5. Copy the file "\disks\install" from the CD-ROM to the \Linux directory on the PC. 6. Insert a blank, formatted floppy into the PC. 7.
Linux Installation and Configuration Guide for AlphaServer 44 System Resource Manager Configuration There are several pieces of information that you need to configure in the SRM subsystem, as well as device identifiers that you should make note of, prior to beginning the installation process. The steps that follow take you through that process. Power up your system.
Linux Installation and Configuration Guide for AlphaServer 45 Boot the system using the "boot" command. The result should be that the system boots from the floppy. You will eventually be prompted to replace the BOOT floppy with the RAMDISK floppy. If during this process you encounter a problem, such as due to a typographic error in the setting of the SRM parameters, you will probably be stopped with an "aboot>" prompt.
Linux Installation and Configuration Guide for AlphaServer A /usr partition – The /usr partition is where the software of the system resides. This partition should use all of the space left on the hard drive. To perform the partitioning operation on the disk, when prompted, follow these steps: 1. Now you are at the fdisk command line 2. Type “m” for help. 3. Type “p” to print the partition table. 4.
Linux Installation and Configuration Guide for AlphaServer 47 29. Type “t” to change the partitions filesystem id. 30. Type “a” for partition a – boot partitions use a “boot” code. 31. Type “L” to list the codes you can use. 32. Enter “d” for boot type. 33. Type “t” to change the partitions filesystem id. 34. Type “b” for partition b – / (root) partitions use a “ext2” code. 35. Enter “8” for ext2 type. 36. Type “t” to change the partitions filesystem id. 37.
Linux Installation and Configuration Guide for AlphaServer 48 the floppy or CD-ROM. You should now be at the SRM prompt, "P00>>>". Enter the following commands to finalize the configuration. You need to enter these commands, such that the drive reference on the second line needs to refer to the drive which you installed to: P00>>>set boot_file 2/boot/vmlinux.gz P00>>>set bootdef_dev dka0 P00>>>set boot_osflags "root=/dev/sda2" P00>>>boot dva0 -fi vmlinux.
Linux Installation and Configuration Guide for AlphaServer 49 Compaq AlphaServer ES40 Hardware Options Tested Saleable Hardware Options Tested saleable hardware options for the ES40 is outlined in Table 1. All of the systems used come equipped with standard bus-interface devices for which drivers already exist for Linux. All bus-interface devices detailed use the PCI bus. Detailed information on each particular businterface device can be founds in a subsection of the appropriate software.
Linux Installation and Configuration Guide for AlphaServer 50 For Alpha Systems Supported Options List: http://www.digital.com/alphaserver/products/options.html Red Hat Version 6.0 Distribution Pre-Installation Creating The BOOT Floppy Before you can begin to install the Linux software on your AlphaServer or AlphaStation, you will need to create a BOOT floppy. This floppy contains the information required to initiate the installation of Linux.
Linux Installation and Configuration Guide for AlphaServer 51 $ cd /var/tmp/Linux $ ftp ftp.digital.com login: ftp Password: user@ ftp> bin ftp> cd /pub/DEC/Linux-Alpha/Images/ ftp> get generic-smp-2.2.12.img ftp> quit 2. Insert a blank, formatted floppy into the computer, and copy the BOOT kernel to it: $ dd if=generic-smp-2.2.12.img of=/dev/fd0 With this floppy in hand, you are now prepared to begin the installation process on your AlphaServer or AlphaStation.
Linux Installation and Configuration Guide for AlphaServer 52 bus 0, slot 1 -- vga -- ELSA GLoria Synergy bus 0, slot 15 -- dqa -- Acer Labs M1543C IDE bus 0, slot 15 -- dqb -- Acer Labs M1543C IDE starting drivers entering idle loop initializing keyboard starting console on CPU 1 initialized idle PCB initializing idle process PID lowering IPL CPU 1 speed is 500 MHz create powerup starting console on CPU 2 initialized idle PCB initializing idle process PID lowering IPL CPU 2 speed is 500 MHz create poweru
Linux Installation and Configuration Guide for AlphaServer 53 3. Configure the system SRM parameters to boot from your installation device. A table providing cross-referenced device names is located in Appendix C, for your convenience. Example commands for configuring to boot from the floppy device are shown here: P00>>>set bootdef_dev dva0 P00>>>set boot_file vmlinux.gz P00>>>set boot_osflags "root=/dev/hda" P00>>>show boot* boot_dev dva0.0.0.0.0 boot_file vmlinux.
Linux Installation and Configuration Guide for AlphaServer We strongly recommend the following multi-partition layout: A boot partition – A boot partition is used to reserved the first 2 cylinders (1-2) to write the bootloader in order to boot the disk from SRM. A root partition – The root partition is where the / (root directory) resides. Always starts at cylinder 3. We recommend creating a root partition of 300Mb minimum and 900Mb maximum.
Linux Installation and Configuration Guide for AlphaServer 55 24. Type “n” to add a new BSD partition – the /usr partition in this case. 25. Type “d” for partition d. 26. First cylinder: Type “8201”. 27. Last cylinder: Type “17365” ; last cylinder - one. Do NOT accept the program generated default of "17366" here, because of possible disk corruption). 28. Type “p” to print the partition table. You should notice that the fstype is set to unused for each of the partitions.
Linux Installation and Configuration Guide for AlphaServer 56 P00>>>boot dva0 –fi vmlinux.gz Note - When the system boots, you may see a series of warnings similar to the following: system.map - incorrect version This warning indicates that the kernel version that you installed (i.e. the latest version that you copied from Compaq's ftp site) was not built at the same time as the rest of the kernel. This will not impact your use of Linux in any way.
Linux Installation and Configuration Guide for AlphaServer 57 7. Run the following command from the DOS command shell: C:\Linux> rawrite Enter source file name: aboot Enter destination drive: a Label this floppy "AlphaServer Linux BOOT Floppy". 8. Run the following command from the DOS command shell: C:\Linux> rawrite Enter source file name: install Enter destination drive: a 9. Label this floppy "AlphaServer Linux RAMDISK Floppy".
Linux Installation and Configuration Guide for AlphaServer initialized idle PCB initializing semaphores initializing heap initial heap 200c0 memory low limit = 166000 heap = 200c0, 17fc0 initializing driver structures initializing idle process PID initializing file system initializing hardware initializing timer data structures lowering IPL CPU 0 speed is 500 MHz create dead_eater create poll create timer create powerup access NVRAM Memory size 4608 MB testing memory ...
Linux Installation and Configuration Guide for AlphaServer 59 AlphaServer ES40 Console V5.5-68, built on Jul 21 1999 at 17:02:39 P00>>> 2. Determine what devices your system has installed. In particular you will need to note your installation device (a floppy and/or CD-ROM), and your target disk drive. Entering the command "show devices" as shown below will print out the information about your system: P00>>>show dev dka0.0.0.4.1 dka100.1.0.4.1 dka200.2.0.4.1 dka300.3.0.4.1 dqa0.0.0.15.0 dva0.0.0.1000.
Linux Installation and Configuration Guide for AlphaServer 60 automatically after all of the software components are installed on the disk. Be certain not to skip the reboot after the disk partition process is completed. Disk Partitioning In preparation to partition your disk, you should boot your AlphaServer via the BOOT floppy and following the process for selecting a language, display color, keyboard type, and installation media.
Linux Installation and Configuration Guide for AlphaServer 8. Type “p” to print the partition table. You should see a “c” partition that takes up the whole disk. This will have to be removed to install Linux correctly 9. Type “d” to delete a BSD partition 10. Type “c” to delete the c partition 11. Type “p” to print the partition table and verify no partitions exist 12. Type “n” to add a new BSD partition – the boot partition in this case 13. Type “a” for partition a. 14. First cylinder: Type “1”. 15.
Linux Installation and Configuration Guide for AlphaServer 62 41. Enter “8” for ext2 type. 42. Type “p” to print the partition table – Please verify all your settings. 43. Type “w” to write the disklabel to the disk. 44. Type “q” to quit. For further information on creating partitions please refer to the Installation Guide provided by the software distribution vendor. At this point, the partitions have been created, and the system must be rebooted.
Linux Installation and Configuration Guide for AlphaServer 63 1. Type: swriteboot -f1 /dev/TdZ /boot/bootlx (where T is the type of drive, s for SCSI or h for IDE; and Z is the letter of the drive you are booting; ex: dka0=sda, dqa0=hda) 2. Type: mkswap /dev/TdZW (where T is the type of drive, s for SCSI or h for IDE; Z is the letter of the drive you are booting; ex: dka0=sda, dqa0=hda); and W is the swap partition number (I.e. mkswap /dev/sda3 or mkswap /dev/hda3.
Linux Installation and Configuration Guide for AlphaServer 64 Compaq AlphaStation XP1000 Hardware Options Tested Saleable Hardware Options Tested saleable hardware options for the XP1000 is outlined in Table 1. All of the systems used come equipped with standard bus-interface devices for which drivers already exist for Linux. All bus-interface devices detailed use the PCI bus. Detailed information on each particular businterface device can be founds in a subsection of the appropriate software.
Linux Installation and Configuration Guide for AlphaServer 65 For Alpha Systems Supported Options List: http://www.digital.com/alphaserver/products/options.html Red Hat Version 6.0 Distribution Pre-Installation Creating The BOOT Floppy Before you can begin to install the Linux software on your AlphaServer or AlphaStation, you will need to create a BOOT floppy. This floppy contains the information required to initiate the installation of Linux.
Linux Installation and Configuration Guide for AlphaServer 66 $ cd /var/tmp/Linux $ ftp ftp.digital.com login: ftp Password: user@ ftp> bin ftp> cd /pub/DEC/Linux-Alpha/Images/ ftp> get generic-up-2.2.12.img ftp> quit 2. Insert a blank, formatted floppy into the computer, and copy the BOOT kernel to it: $ dd if=generic-up-2.2.12.img of=/dev/fd0 With this floppy in hand, you are now prepared to begin the installation process on your AlphaServer or AlphaStation.
Linux Installation and Configuration Guide for AlphaServer 67 3. Configure the system SRM parameters to boot from your installation device. A table providing cross-referenced device names is located in Appendix C, for your convenience. Example commands for configuring to boot from the floppy device are shown here: >>>set bootdef_dev dva0 >>>set boot_file vmlinux.gz >>>set boot_osflags "root=/dev/hda" >>>show boot* boot_dev dva0.0.0.0.0 boot_file vmlinux.
Linux Installation and Configuration Guide for AlphaServer We strongly recommend the following multi-partition layout: A boot partition – A boot partition is used to reserved the first 2 cylinders (1-2) to write the bootloader in order to boot the disk from SRM. A root partition – The root partition is where the / (root directory) resides. Always starts at cylinder 3. We recommend creating a root partition of 300Mb minimum and 900Mb maximum.
Linux Installation and Configuration Guide for AlphaServer 69 24. Type “n” to add a new BSD partition – the /usr partition in this case. 25. Type “d” for partition d. 26. First cylinder: Type “551”. 27. Last cylinder: Type “1023” ; last cylinder - one. Do NOT accept the program generated default of "1024" here, because of possible disk corruption. 28. Type “p” to print the partition table. You should notice that the fstype is set to unused for each of the partitions.
Linux Installation and Configuration Guide for AlphaServer 70 >>>boot dva0 -fi vmlinux.gz Note - When the system boots, you may see a series of warnings similar to the following: system.map - incorrect version This warning indicates that the kernel version that you installed (i.e. the latest version that you copied from Compaq's ftp site) was not built at the same time as the rest of the kernel. This will not impact your use of Linux in any way.
Linux Installation and Configuration Guide for AlphaServer 71 7. Run the following command from the DOS command shell: C:\Linux> rawrite Enter source file name: aboot Enter destination drive: a Label this floppy "AlphaStation Linux BOOT Floppy". 8. Run the following command from the DOS command shell: C:\Linux> rawrite Enter source file name: install Enter destination drive: a 9. Label this floppy "AlphaStation Linux RAMDISK Floppy".
Linux Installation and Configuration Guide for AlphaServer 72 OpenVMS PALcode V1.61-22, Digital UNIX PALcode V1.54-20 FF.FE.FD.FC.FB.FA.F9.F8.F7.F6.F5.F3.F2.F1.F0.EF.EE.ED.EC.EB.EA.E9.F4.E8.E 7.E6.E5.E4. COMPAQ Professional Workstation XP1000 Console V5.5-7 built on Jul 22 1999 at 11:10:07 >>> 2. Determine what devices your system has installed. In particular you will need to note your installation device (a floppy and/or CD-ROM), and your target disk drive.
Linux Installation and Configuration Guide for AlphaServer 73 The software installation process requires that the system be rebooted at two critical places in the process. The first time is just after completing the partitioning of the disk, and the second happens automatically after all of the software components are installed on the disk. Be certain not to skip the reboot after the disk partition process is completed.
Linux Installation and Configuration Guide for AlphaServer 6. If you completed the last step correctly, you should see the following: “/tmp/sda contains no disklabel. Do you want to create a disklabel? (y/n)” – Answer Y. 7. Type “m” for more help. 8. Type “p” to print the partition table. You should see a “c” partition that takes up the whole disk. This will have to be removed to install Linux correctly 9. Type “d” to delete a BSD partition 10. Type “c” to delete the c partition 11.
Linux Installation and Configuration Guide for AlphaServer 75 39. Type “t” to change the partitions filesystem id. 40. Type “d” for partition d – /usr partitions use a “ext2” code. 41. Enter “8” for ext2 type. 42. Type “p” to print the partition table – Please verify all your settings. 43. Type “w” to write the disklabel to the disk. 44. Type “q” to quit. For further information on creating partitions please refer to the Installation Guide provided by the software distribution vendor.
Linux Installation and Configuration Guide for AlphaServer 76 This warning indicates that the kernel version that you installed (i.e. the latest version that you copied from Compaq's ftp site) was not built at the same time as the rest of the kernel. This will not impact your use of Linux in any way. This warning can be eliminated by installing the kernel sources, all currently recommended patches and rebuilding the kernel. Once the system is up, login and do the following: 1.
Linux Installation and Configuration Guide for AlphaServer 77 Appendix A Linux Links This is a partial list of available links. If you would like to submit additional sites, please e-mail to the author at chris.stewart@compaq.com. Every attempt will be made to include pertinent sites in future document revisions. • http://compaq.com/alphaserver/Linux : Compaq's AlphaServer information page. • ftp://ftp.digital.com/pub/DEC/Linux-Alpha/Images; Compaq’s Alpha kernel images site • http://ftp.digital.
Linux Installation and Configuration Guide for AlphaServer Appendix B AlphaServer Configurations Compaq AlphaServer DS10 • Uni Processor Alpha 21264 6/466MHz • 2MB L2 Cache • 2GB Max Memory • 2 Integrated 10/100 Ethernet Ports • 4 PCI slots • IDE or SCSI Disk Support Compaq AlphaServer DS20 • Dual Processor Capable Alpha 21264 6/500MHz • 4MB L2 Cache • 4GB max memory capable • NIC PCI Interface • 6 PCI Slots • SCSI Storage Compaq AlphaServer ES40 • Quad Processor Capable Alpha 2126
Linux Installation and Configuration Guide for AlphaServer 79 Appendix C SCSI and IDE Configurations SCSI Only Depending on the configuration, your internal drives may be either dkax or dkbx - where x is the value assigned by the SRM console (i.e. dkb100). Usually, the SCSI CDROM is on its own controller/channel, so the SRM will usually report it as dka500 or dkb500.
Linux Installation and Configuration Guide for AlphaServer 80 7. Type “m” for more help. 8. Type “p” to print the partition table. You should see a “c” partition that takes up the whole disk. This will have to be removed to install Linux correctly 9. Type “d” to delete a BSD partition 10. Type “c” to delete the c partition 11. Type “p” to print the partition table and verify no partitions exist 12. Type “n” to add a new BSD partition 13. Type “a” for partition a. 14. First cylinder: Type “3”. 15.
Linux Installation and Configuration Guide for AlphaServer 81 Glossary A Availability - Refers to the amount of time that an application is available to perform work, typically measured in percentage of uptime. B Bootstrap – The act of passing control over a computer to an operating system following system power-up.
Linux Installation and Configuration Guide for AlphaServer YaST – The setup and configuration utility provided by SuSE for their Linux distribution.