From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <63b574c4f344652e296ee24500c0bd36.axp-list@archive.invalid> X-Archive-Original-Message-ID: <3.0.5.32.19980103234520.00808100@ellpspace.math.ualberta.ca> Date: Sat, 03 Jan 1998 23:23:36 -0600 From: Michael Mysz Subject: Re: Booting from SRM... I am new to Linux/Alpha, with an AlphaStation 200, and was able to install RedHat 4.2 (and now RH 5.0) from CD-ROM and boot from SRM, thanks to many contributors on axp-list (especially Gerard Hickey, wherever he is now). I keep an installation log, so if you pardon the length of this email I hope you will find some useful information. >Andy Whitcroft wrote: > > Hi All -- > > I have an Alphastation 200 4/233 ( the avanti/mustang I am told ), > which has only the SRM console, and is currently running DU...> > When I try to boot from the SRM console using aboot version 0.5, and > SRM version 1.35. It successfully reads and executes the aboot code > but once I get into aboot I get the following ( as close as I can > remember ): > > ... > aboot> booting plain ... > aboot> invalid format error 13 > aboot> booting compressed ... > > GUNZIP: Unrecgognized format, cannot uncompress > Enter kernel name ( and any parameters ). > aboot> > > etc... > ***** > Andy > andy@interserv.com ---------------------------------------------- ALPHASTATION 200 REDHAT 4.2 CD-ROM INSTALLATION CD-ROM is device SRM>dka400 Disk drive is device SRM>dka0 SRM ver 6.4 on an AlphaStation 200 original Digital Unix configuration/setup (** Andy, you may need to update your SRM) (1) Install base RH 4.2 directly from CD-ROM Load from SRM with -fl i for aboot kernel prompt SRM> boot dka400 -fl i aboot> /kernels/avanti-s.gz root=/dev/scd0 INSTALL fdisk partition disk in any reasonable configuration {FOR SOME REASON SRM BOOT DOES NOT OPERATE PROPERLY UNDER FDISK PARTITIONS. THE PURPOSE OF THIS INITIAL STEP IS TO REMOVE DIGITAL UNIX AND INSTALL BASE REDHAT LINUX SO DISK CAN EVENTUALLY BE PARTITIONED USING _MINLABEL_} Install only base system - to save time. (2) Login to sda2 as root and install minlabel from CR-ROM SRM> boot dka400 -fl i aboot> /kernels/avanti-s.gz root=/dev/sda2 login> root password> xxxx > cd/ > mount -t iso9660 /dev/scd0 /mnt/cdrom > rpm -Uvh /mnt/cdrom/RedHat/RPMS/minlabel-1.2-1.axp.rpm > minlabel /dev/sda In minlabel (i)nitialize 8 partitions (z)ero all partitions (c)hange partitions to populate ones needed {GERARD HICKEY SUGGESTED THIS AS THE BEST METHOD OF CREATING MINLABEL PARTITIONS. YOU SHOULD LEAVE 2MB OFFSET BEFORE 1ST PARTITION FOR SRM BOOT. ALSO, SOME PROGRAMS ASSUME /dev/sda2 IS ROOT SO IT MIGHT BE SAFE TO CREATE /dev/sda1=swap THEN /dev/sda2=root.} e.g. (i)nitializing 1GB drive created 1018 cylinders, 2013 sectors/cyl, 512 bytes/sector. Cyl#: size(cyl): offset: fstype: size(MB): cylinders: /dev/… 1: 263000: 4026: swap: 128MB: 2-132: /sda1 -swap 2: 154000: 268000: ext2: 75MB: 133-209: /sda2 -/root 3: 461000: 423000: ext2: 225MB: 210-439: /sda3 -/usr 4: 1163000: 886000: ext2: 568MB: 440-1017: /sda4 5:-8: zero REBOOT (3) Install full RH 4.2 from CD-ROM under new partitions SRM> boot dka400 -fl i aboot> /kernels/avanti-s.gz root=/dev/scd0 INSTALL components... At end, RH copies kernel from "floppy" {NOTE: THIS IS WHERE RH 5.0 FAILS; THE KERNEL IS NOT CREATED FROM CD-ROM. YOU HAVE TO MANUALLY CP AVANTI-S KERNEL TO /ROOT. REDHAT 4.2, HOWEVER, INSTALLS FLAWLESSLY} REBOOT (IF NOT PART OF THE RH PACKAGES INSTALLED, INSTALL ABOOT} (4) Install aboot RPM from CR-ROM SRM> boot dka400 -fl i aboot> /kernels/avanti-s.gz root=/dev/sda2 login> root password> xxxx > cd/ > mount -t iso9660 /dev/scd0 /mnt/cdrom > rpm -Uvh /mnt/cdrom/RedHat/RPMS/aboot-0.5-1.axp.rpm The rpm automatically configures /sbin/swriteboot and /boot/bootlx Write aboot to disk by typing: > /sbin/swriteboot /dev/sda /boot/bootlx REBOOT (5) Now configure SRM boot defaults, type at SRM prompt SRM> set bootdef_dev dka0 set boot_file 2/vmlinux.gz set boot_osflags "root=/dev/sda2" Now at SRM type> boot ! Good Luck :) Michael Mysz m_mysz@ameritech.net Arlington Heights, IL -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com