Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: Booting from SRM...
@ 1998-01-04  5:23 Michael Mysz
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Mysz @ 1998-01-04  5:23 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 4029 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread
* Booting from SRM...
@ 1998-01-02 18:16 Andy Whitcroft
  0 siblings, 0 replies; 3+ messages in thread
From: Andy Whitcroft @ 1998-01-02 18:16 UTC (permalink / raw)


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.
I am trying to convert it to run Linux. But, have run into the
following problem:

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>

*****
I have tried to create the boot & root floppies in the following
ways, but still get the same results. BTW, I am using the avanti-s.img
and ramdisk.img from the redHat 4.2 cdrom in all methods listed
below:

1) formated floppy with UDB, and did a dd to tranfer the images.
2) used dd on DU to tranfer images.
3) format dos floppies, and used rawrite inside dos to transfer images.
4) Using my UDM I mounted the floppy, copied the vmlinux.gz,
uncompressed
   it, then re-compressed it, and copied it back.

In all cases, no luck! Any suggestions????

Andy
andy@interserv.com

-- 
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-01-07 11:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <34AD2F11.3A45350@interserv.com>
1998-01-07 11:50 ` Booting from SRM bert hubert
1998-01-04  5:23 Michael Mysz
  -- strict thread matches above, loose matches on Subject: below --
1998-01-02 18:16 Andy Whitcroft

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox