From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,f393f8bf8dfbcf62 X-Google-Attributes: gid111c93,public From: Jay Ponder Subject: SRM Install of RH5.1 -- Help and a Question Date: 1998/09/08 Message-ID: <35F604DB.41C6@dasher.wustl.edu>#1/1 X-Deja-AN: 389331390 Content-Transfer-Encoding: 7bit References: Content-Type: text/plain; charset=us-ascii Organization: Washington University in St. Louis Mime-Version: 1.0 Newsgroups: comp.os.linux.alpha I recently purchased 3 of the Onsale AS200 4/233's (16Mb, PowerStorm 3D10 card, etc.). Since I have some local machines running DEC Unix and experience with the SRM console, I decided to try to install/boot from SRM. I have/had absolutely no previous experience with Linux. Contrary to some of the postings I've seen here and elsewhere, much of this was actually pretty easy. However, I do have an important question, please see the bottom!! As per postings about installing from the ARC console, I first updated the firmware as below. I don't know if this is really necessary for an SRM install, but it doesn't seem to hurt. UPDATE SRM FIRMWARE: 1. download "mkboot.exe" and "as200_v6_8.exe" from ftp://gatekeeper.dec.com/pub/DEC/Alpha/firmware 2. rename "as200_v6.8.exe" to "fwupdate.exe" 3. (on a Win95 machine) execute the following command while a 3 1/2" Win95 formatted floppy is in drive A: c:\mkboot c:\fwupdate.exe (substitute correct path to both mkboot and fwupdate.exe) 4. follow instructions 5. place the disk into the AlphaStation and execute "b -fl 0,a0 dva0" 6. on the menu that will eventually come up, select the SRM update 7. after the process has completed, turn off power, wait 20 seconds, then restart Since we have the RedHat Linux/Alpha CD's, an external CD to connect to the Onsale box (actually a DEC RRD42, but I'm sure many others work...), and a nearby machine with floppy and CD running DEC Unix, we used the procedure below. INSTALL REDHAT 5.1 FROM LINUX/ALPHA CD: 1. on another Unix machine, in our case running DEC Unix, prepare two floppies using the dd command; one each containing the avanti-s.img and ramdisk.img files from the RedHat 5.1 CD. our exact command to write the floppies was: dd if=avanti-s.img of=/dev/fd0 bs=1440k, and similar for the ramdisk.img floppy. See appendix B of the RedHat 5.1 Installation manual. 2. put the kernel floppy (avanti-s.img) in the AS200 and at the SRM prompt issue, all on one line: boot dva0 -file vmlinux.gz -flags "root=/dev/fd0 load_ramdisk=1 prompt_ramdisk=1" 3. this will boot the kernel and eventually ask you to insert the other floppy (ramdisk.img) 4. now you get the Linux installation menu (I said it was easy...) and I did a very standard install, including all the RPM packages and partitioning my 2Gb disk into only 2 partitions; a 1.7 Gb / (root) partition on partition 1, and a 300 Mb swap area on 5. 5. continue with the complete installation, using the defaults that the setup detects for the video card, etc. I've had no problems whatsoever with the video to this point (but then I don't yet have X running, of course....) 6. finally, when asked to put the kernel disk back in, put in the avanti-s.img (kernel) floppy and hit ENTER 7. this completes the installation, and gives the machine back to the SRM console Now for my question.... I'm quite certain that I now have Linux correctly installed on my disk, but I can't figure out how to boot from the SRM prompt! I've tried various permutations and mutations of the command (vmlinux replaced by cmlinux, 1 replaced by 2, etc.): boot dka0 -file 1/vmlinux.gz No version of the above seems to find a correct bootstrap. Does anyone know where the Linux kernel resides on my disk at this point? And can I boot it directly from SRM? From what I can figure out in retrospect, it seems that the people who install from ARC console are making some tiny "DOS" partition where they put a boot/load program that is first invoked and which then boots Linux from their root partition. Is this correct, and if so, do I actually need to reinstall and put some SRM equivalent of this in some tiny, artificial partition on my disk as well? Any help much appreciated, Jay P. -------- Jay W. Ponder Phone: (314) 362-4195 Biochemistry, Box 8231 Fax: (314) 362-7183 Washington University Medical School 660 South Euclid Avenue Email: ponder@dasher.wustl.edu St. Louis, Missouri 63110 USA WWW: http://dasher.wustl.edu/