Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Boot via SRM on poweron
@ 1992-10-20 17:39 Oleg Shein #2
  0 siblings, 0 replies; 3+ messages in thread
From: Oleg Shein #2 @ 1992-10-20 17:39 UTC (permalink / raw)


Hi!

How can I boot via SRM bypassing interactive aboot mode?
I set boot evironment variables from srm
>>> set boot_osfile 0/vmlinux.gz
>>> set boot_osflags root=/dev/sda2
but it didn't affect.
Are there any way to save settings in SRM for boot device, file and flags?
I have unused 0 partition (2 MB length) and install aboot loader with the
'swriteboot /dev/sda /bool/bootlx /vmlinuz.gz' command, but are able to
boot setting appropriate number from /etc/aboot.conf.
$ cat /etc/aboot.conf
0: 0/vmlinux.gz root=/dev/sda2
1: 2/vmlinux.gz root=/dev/sda2

--

Sincerely,
Oleg Shein #2                        // os2@kpi.kharkov.ua
System administrator,   Kharkov State Polytechnic University, Ukraine

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

* Re: Boot via SRM on poweron
       [not found] <ABiR2gkuaU@os2.kharkov.ua>
@ 1996-10-20 15:19 ` jestabro
  1996-10-21 16:38   ` Michael Schwingen
  0 siblings, 1 reply; 3+ messages in thread
From: jestabro @ 1996-10-20 15:19 UTC (permalink / raw)


>>> "Oleg Shein #2" said:
> 
> How can I boot via SRM bypassing interactive aboot mode?
> I set boot evironment variables from srm
> >>> set boot_osfile 0/vmlinux.gz
> >>> set boot_osflags root=/dev/sda2
> but it didn't affect.
> Are there any way to save settings in SRM for boot device, file and flags?
> I have unused 0 partition (2 MB length) and install aboot loader with the
> 'swriteboot /dev/sda /bool/bootlx /vmlinuz.gz' command, but are able to
> boot setting appropriate number from /etc/aboot.conf.
> $ cat /etc/aboot.conf
> 0: 0/vmlinux.gz root=/dev/sda2
> 1: 2/vmlinux.gz root=/dev/sda2

I think it should work if you do the following:

	set boot_file "1/vmlinux.gz"
	set boot_osflags "root=/dev/sda2"
	set bootdef_dev DKA0
	init

(this assumes that SCSI disk "sda" is unit 0; if it's unit 1, then DKA100, 
etc).

Also, note that you can't have a "0 partition"; both minlabel and fdisk start
numbering partitions with "1".

After you cycle power, do:

	show boot*

to see all the boot* variables. They should be how you set them.

This is the normal way it works if you're booting a kernel out of a
filesystem; I'm not sure that that is what the "swriteboot" command you gave
above actually does. Use "2/vmlinux.gz" to tell aboot to boot it from
sda2. I've never bothered to have an "unused" partition #1; aboot fits fine
in front of partition 1 if you offset the start of partition 1, say 512-1024
sectors (easy to do this in minlabel). Then I use #1 for swap and #2 for the
root file system.

Good luck.

--Jay++

-------------------------------------------------------------------------------
  American Non Sequitur Society: we don't make sense, but we do like pizza...

Jay A Estabrook                         Alpha Migration Tools - LINUX Project
Digital Equipment Corp.                 (508) 952-4202 or (DTN) 227-4202
151 Taylor Street - TAY1-2              enet: jestabro@amt.tay1.dec.com
Littleton, MA 01460-1407                decnet: tallis::jestabro
-------------------------------------------------------------------------------

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

* Re: Boot via SRM on poweron
  1996-10-20 15:19 ` Boot via SRM on poweron jestabro
@ 1996-10-21 16:38   ` Michael Schwingen
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Schwingen @ 1996-10-21 16:38 UTC (permalink / raw)


> > 0: 0/vmlinux.gz root=/dev/sda2
> > 1: 2/vmlinux.gz root=/dev/sda2
> 
> I think it should work if you do the following:
> 
> 	set boot_file "1/vmlinux.gz"
> 	set boot_osflags "root=/dev/sda2"
> 	set bootdef_dev DKA0
> 	init

Or - if you are using a Jensen:
set boot_osflags "1:3"
set bbotdef_dev DKA0

to get entry '3' from aboot.conf, where aboot.conf is located on partition
'1'.

> Also, note that you can't have a "0 partition"; both minlabel and fdisk start
> numbering partitions with "1".

Right, but aboot uses the '0' to mean a kernel that is written directly
behind the aboot code, without any partitioning of filesystem being
necessary for this to work.

cu
Michael

-- 
Michael Schwingen                       <m.schwingen@stochastik.rwth-aachen.de>
Institut fuer Statistik und Wirtschaftsmathematik, | In the beginning there was
Wuellnerstr. 3, 52056 Aachen                       | nothing, which exploded.

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

end of thread, other threads:[~1996-10-21 16:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <ABiR2gkuaU@os2.kharkov.ua>
1996-10-20 15:19 ` Boot via SRM on poweron jestabro
1996-10-21 16:38   ` Michael Schwingen
1992-10-20 17:39 Oleg Shein #2

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