Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@gortel.phys.ualberta.ca>
Subject: Re: aboot installation ?
Date: 19 Sep 2002 21:01:17 GMT	[thread overview]
Message-ID: <amddut$h5e$1@pulp.srv.ualberta.ca> (raw)
In-Reply-To: 3D8A117D.168B6974@phys.uconn.edu

Ionel Simbotin <simbotin@phys.uconn.edu> wrote:
> 
> 
> Is aboot something one needs to install
> before/during/after the Linux install?

'aboot' package is a series of tools and a piece of a data,
usually called bootlx but the name is not important, which
with these tools you write on a hard disk so firmware can
grab it and pass an execution to then next stage of booting.
Later it will load your kernel.

Strictly speaking you do not need to ever "install" it
as you can boot from other media.  It is a good idea, though.

> Is it even
> possible to install aboot before?

It is but this is not very useful. :-)


> "[....] modern Alphas which use SRM and aboot can boot
> directly from the Red Hat Linux CD 1 shipped in the
> boxed set."
> 
> Does this mean my Alpha has to somehow have aboot
> already installed BEFORE the Linux install?

There is a boot block already written on a distribution CD (one of
tools in 'aboot' package will do that on a CD image if you are
making your own CDs) and floppy images also have boot blocks on
them.  They are set to boot by a default into a small Linux system
mounted on a ramdisk.

> Or AFTER?
> I've been looking through the SRM/aboot howto but
> couldn't quite understand.

An installer will write that boot block on a hard disk
for you provided:
 - there is space left for that purpose
 - a partition table on a disk if of a "BSD disk label" type.

Even a skeleton 'aboot.conf' will be created to save you
typing.

Here is the catch which I do not think mentioned anywhere
in Red Hat docs.  If you are "recycling" an old disk and there
are leftovers of a "FAT" type partition table on it then
an installer will take that seriously and it will NOT change
a partition type.  To prevent that you should wipe out first
few sectors.  Something like that

   dd if=/dev/zero of=<disk_device> count=4

('count=1' should be enough but let's be generous), or an
equivalent - an OS type and CPU totally immaterial, should do
the trick.  Do not do something like that on a disk where you
want to still use old data.  'gpart' gives you ways to recover
from such experiments but this may be more that you wanted
to handle. :-)

OTOH you want "FAT" table if you boot via ARC/Milo but
this is "officially not supported" (it works but you are
on your own to make it work).

> I haven't got the box yet (we'll get it in a few days)
> so I can just put the CD in and see what happens....

A bit depends on your firmware.  Some older version have
troubles booting from CDs, or from ATAPI CDs, and then you
have to boot from a floppy (a network can be used as a boot
device as well but you have to setup properly a server for that).
With something reasonably recent you will type

  b <srm_device_name> -fl 0

and you will be on your way (use '-fl i' to see other boot options).
"<srm_device_name>" is what SRM will show you about your CD
when you will type "show dev" at SRM prompt.

  Michal


  parent reply	other threads:[~2002-09-19 21:01 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-16 16:22 Linux on Alpha -- any problems ? Ionel Simbotin
2002-09-16 17:29 ` Måns Rullgård
2002-09-16 17:44 ` Peter Mardahl
2002-09-16 22:51   ` Måns Rullgård
2002-09-18 16:20   ` Upgrading SRM firmware ? Ionel Simbotin
2002-09-18 22:12     ` Måns Rullgård
2002-09-19 17:21       ` Firmware update worked fine ! Ionel Simbotin
2002-09-19 18:03   ` aboot installation ? Ionel Simbotin
2002-09-19 19:11     ` Robert M. Riches Jr.
2002-09-19 19:15       ` Robert M. Riches Jr.
2002-09-19 19:52       ` Aha ! Ionel Simbotin
2002-09-19 21:01     ` Michal Jaegermann [this message]
2002-09-16 22:40 ` Linux on Alpha -- any problems ? Nigel Feltham
2002-09-17 15:52 ` James Chamberlain
2002-09-20  3:42 ` Dono Trepli
2002-09-21 10:46   ` Paul
2002-09-21 16:22     ` Dono Trepli
2002-09-21 17:17       ` Michal Jaegermann
read-only archive

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