* Re: SRM boot - Avanti
@ 1998-10-02 17:51 A van Kessel
0 siblings, 0 replies; 6+ messages in thread
From: A van Kessel @ 1998-10-02 17:51 UTC (permalink / raw)
To: axp-list
The bootloader has to be in consecutive blocks, that is correct.
For the rest, the SRM imposes no extra constraints on the position.
It can be in any "gap" between filesystems, (or before the first, or
after the last. The most logical place is IMHO before the first
partition.
IIRC the disklabel has block#2 (byte offset 512-1023) reserved as an "options" block (somebody correct me if Im wrong?).
In my experience with NoName the bootblock et.al can very well
be managed/manipulated using dd. It does require a working system,
but this does not have to be an alpha.
It does require some courage (and precautions) but just dd and cat
and the appropriate milo did it for me.Altering the disklabeled partition table is not difficult either, but
you do have to recalc the checksum after changes.
BTW the checksum is at the same offset as the 55aa magic that RH5.1
writes to the disk when it nukes it. It also nukes the starting sec#/ nsectors
/ flag field, as noted befor.
Adriaan van Kessel.
^ permalink raw reply [flat|nested] 6+ messages in thread
* SRM boot - Avanti
@ 1998-10-01 20:56 Brian McQuay
1998-10-02 6:58 ` B. James Phillippe
0 siblings, 1 reply; 6+ messages in thread
From: Brian McQuay @ 1998-10-01 20:56 UTC (permalink / raw)
To: axp-list
I've got an Avanti AlphaStation 200 4/233
I don't like using the damn floppy to boot milo. Is it possible to boot
milo from a small sda partition? How do I get SRM to boot that partition?
If this is even possible. I can't compile aboot because of the following
error.
e2writeboot.c:243: dereferencing pointer to incomplete type
e2writeboot.c:243: parse error before `swap32'
e2writeboot.c:244: dereferencing pointer to incomplete type
e2writeboot.c:244: parse error before `)'
e2writeboot.c:56: warning: `bootstrap_size' might be used uninitialized in this
function
make[1]: *** [e2writeboot.o] Error 1
make[1]: Leaving directory `/root/aboot-0.5/tools'
make: *** [tools/e2writeboot] Error 2
Is aboot the only way that it'll work? If so what am i doing wrong with
the compile or what to change in Makefile? Thanks for any info.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SRM boot - Avanti
1998-10-01 20:56 Brian McQuay
@ 1998-10-02 6:58 ` B. James Phillippe
1998-10-02 14:08 ` Nikita Schmidt
0 siblings, 1 reply; 6+ messages in thread
From: B. James Phillippe @ 1998-10-02 6:58 UTC (permalink / raw)
To: axp-list
On Thu, 1 Oct 1998, Brian McQuay wrote:
> I've got an Avanti AlphaStation 200 4/233
> I don't like using the damn floppy to boot milo. Is it possible to boot
> milo from a small sda partition? How do I get SRM to boot that partition?
I'm not sure I understand exactly what you're trying to do. You must use
aboot if you wish to boot with the SRM console. You must use MILO if you
wish to boot with the ARC console. AFAIK, MILO requires a DOS FAT
filesystem to exist somewhere, either on floppy or on the fixed disk. SRM
does not require any DOS filesystem, but does require the use of BSD
disklabels instead of PC-style partition tables, and some reserved space on
the beginning of the target drive. Richard Payne has compiled a list of
links for AS 200 installation for both consoles. The URL for that is
http://adam.cheshire.net/~rdp/alpha/as200.html. The current RedHat-5.1
aboot RPM should be sufficient for booting 2.0 kernels. If you upgrade to
2.1, you'll need Maciej Rozycki's patched aboot RPM. The source for that
is:
ftp://ftp.amg.gda.pl/pub/OS/Linux/people/macro/SRPMS.glibc21/aboot-0.5-6.src.rpm
I hope this helps,
-bp
--
B. James Phillippe . bryan@terran.org
UNIX Software Engineer . http://www.terran.org/~bryan
Member since 1.1.59 . finger:bryan@earth.terran.org
MOTM: Waiting for the DSL to go in :)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SRM boot - Avanti
1998-10-02 6:58 ` B. James Phillippe
@ 1998-10-02 14:08 ` Nikita Schmidt
1998-10-02 14:20 ` Jeff Noxon
1998-10-02 15:51 ` B. James Phillippe
0 siblings, 2 replies; 6+ messages in thread
From: Nikita Schmidt @ 1998-10-02 14:08 UTC (permalink / raw)
To: axp-list
On Thursday, 1 Oct, B. James Phillippe wrote:
>
> I'm not sure I understand exactly what you're trying to do. You must use
> aboot if you wish to boot with the SRM console.
`Can' is the correct word. You can still use MILO if you wish.
> You must use MILO if you
> wish to boot with the ARC console. AFAIK, MILO requires a DOS FAT
> filesystem to exist somewhere, either on floppy or on the fixed disk.
No, it's an ARC/AlphaBIOS requirement. MILO understands ext2, FAT and
iso9660 equally well.
> SRM
> does not require any DOS filesystem, but does require the use of BSD
> disklabels instead of PC-style partition tables, and some reserved space on
> the beginning of the target drive.
In fact, SRM itself doesn't care about partitions; I believe it doesn't
understand any partitioning schemes. A small partition at the very
beginning of the disk is a common place to put the bootloader to, although
with the aid of programs like e2writeboot one can easily keep the
bootloader on any ext2 partition.
Nikita
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SRM boot - Avanti
1998-10-02 14:08 ` Nikita Schmidt
@ 1998-10-02 14:20 ` Jeff Noxon
1998-10-02 15:51 ` B. James Phillippe
1 sibling, 0 replies; 6+ messages in thread
From: Jeff Noxon @ 1998-10-02 14:20 UTC (permalink / raw)
To: axp-list
On Fri, Oct 02, 1998 at 03:08:42PM +0100, Nikita Schmidt wrote:
> In fact, SRM itself doesn't care about partitions; I believe it doesn't
> understand any partitioning schemes. A small partition at the very
> beginning of the disk is a common place to put the bootloader to, although
> with the aid of programs like e2writeboot one can easily keep the
> bootloader on any ext2 partition.
You are correct. However, it will not work with FAT because it stores
its information right where FAT would record its 4th partition and checksum
data. BSD disklabels are really the only answer. :-(
Jeff
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SRM boot - Avanti
1998-10-02 14:08 ` Nikita Schmidt
1998-10-02 14:20 ` Jeff Noxon
@ 1998-10-02 15:51 ` B. James Phillippe
1 sibling, 0 replies; 6+ messages in thread
From: B. James Phillippe @ 1998-10-02 15:51 UTC (permalink / raw)
To: axp-list
On Fri, 2 Oct 1998, Nikita Schmidt wrote:
> On Thursday, 1 Oct, B. James Phillippe wrote:
> >
> > I'm not sure I understand exactly what you're trying to do. You must use
> > aboot if you wish to boot with the SRM console.
>
> `Can' is the correct word. You can still use MILO if you wish.
Based on some of the things I've seen people mention lately, I've been
wondering if this was possible. But nowhere in any of the documentation
that I've seen is it mentioned that it's possible. There must be some
reason for this? Is it only as of late that it's possible, or is there
some disadvantage to using MILO with SRM? When I installed my Alpha, I was
literally informed that aboot was my only option for SRM. The SRM-HOWTO
still says this. What's the catch?
> > You must use MILO if you
> > wish to boot with the ARC console. AFAIK, MILO requires a DOS FAT
> > filesystem to exist somewhere, either on floppy or on the fixed disk.
>
> No, it's an ARC/AlphaBIOS requirement. MILO understands ext2, FAT and
> iso9660 equally well.
Yes, I should have explained that better. I meant that "MILO needed to be
installed on a DOS FAT in order for ARC to load it". The ARC console can
only load the stage-two loader from a DOS FAT. This is the result of
Micro$oft being involved in the development (to whatever extent) of ARC.
> > SRM
> > does not require any DOS filesystem, but does require the use of BSD
> > disklabels instead of PC-style partition tables, and some reserved space on
> > the beginning of the target drive.
>
> In fact, SRM itself doesn't care about partitions; I believe it doesn't
> understand any partitioning schemes. A small partition at the very
> beginning of the disk is a common place to put the bootloader to, although
> with the aid of programs like e2writeboot one can easily keep the
> bootloader on any ext2 partition.
Yes, it does not understand partitions or filesystems. It reads certain
bytes of data containing the offset and size of the stage-two loader. It
expects to find this information within the first 512 bytes of the device
(like 16 bytes starting at 480, and a flag word and checksum), which
conflicts with the existance of a PC partition table. I was under the
impression that e2writeboot was only advised for floppies because of the
fragmentation requirements (the second stage loader must occupy contiguous
blocks), and should not be used for filesystems on fixed disks?
Thanks for the clarifications, btw.
-bp
--
B. James Phillippe . bryan@terran.org
UNIX Software Engineer . http://www.terran.org/~bryan
Member since 1.1.59 . finger:bryan@earth.terran.org
MOTM: Waiting for the DSL to go in :)
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1998-10-02 17:54 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-10-02 17:51 SRM boot - Avanti A van Kessel
-- strict thread matches above, loose matches on Subject: below --
1998-10-01 20:56 Brian McQuay
1998-10-02 6:58 ` B. James Phillippe
1998-10-02 14:08 ` Nikita Schmidt
1998-10-02 14:20 ` Jeff Noxon
1998-10-02 15:51 ` B. James Phillippe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox