Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@gortel.phys.ualberta.ca>
Subject: Re: Building Alpha Kernels
Date: Tue, 10 Feb 2004 16:09:34 +0000 (UTC)	[thread overview]
Message-ID: <c0avnu$f52$1@tabloid.srv.ualberta.ca> (raw)
In-Reply-To: ABWVb.119$u_6.145568@news.uswest.net

T. Ford <torinf@n.o.s.p.a.m.qwest.net> wrote:
> 
> The setup is 1 partition for swap, 1 partition for /, and 1 partition for
> /boot, and booting with aboot.  Once in aboot, you can run dir and it will
> list what is in / rather than what is in /boot.

Which simply means that aboot is directed to use a "wrong" partition.
This can be changed with a help of 'abootconf' run (more convenient
and a reason I suggested reading its manpage) or you can give
partitions explicitely in a boot command.

> In /, I have symlinks for
> my kernel images to the actual files in /boot.

??? In a time when you are trying to boot, apparently from /, this other
partition is not mounted - obviously enough - so these links point
nowhere.  You need _data_.  On the top of it, IIRC but I may be
mistaken, aboot does not handle symlinks.  It has coded in a _very
simple_ file system reader.  Just enough to grab something out of these
few file systems it can handle.  This is a boot loader and the simpler
the better.

Throw away these symlinks and boot from your /boot partition.  Because
this is a separate partition your files will be named something like
"/vmlinuz-...." or "3/vmlinuz-...." if an explicit partition
specifications are used.  The same goes for initrd.

> The same applies for the
> initrd images.

See above.

> a - I'm using the wrong syntax

Possibly.  You never showed us what you are really using.  But see
'man aboot.conf' and also http://www.alphalinux.org/faq/srm.html

> b - My initrd image is in the wrong place

Not really.  You may point your aboot into a wrong place but this
is not exactly the same thing.

> c - aboot is messed up

Not likely as it is used quite widely. :-)

> d - something else

Sure!

> The reason for wanting the initrd is exactly for the reason(s) you stated -
> wanting drivers that can load.  I got around it by compiling my particular
> drivers in rather than as modules.  In this case, the drivers are the IDE
> modules (2.6.2).

AFAIK IDE drivers as modules are still in a higly experimental stage.
Still you wrote something what I understood that ALL your drivers
required for mounting / are built-in in your kernel.  Hence you may
get away with no initrd at all.

  Michal



  reply	other threads:[~2004-02-10 16:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-07 17:02 Building Alpha Kernels T. Ford
2004-02-08  3:07 ` T. Ford
2004-02-08  5:44   ` Robert M. Riches Jr.
2004-02-08 20:35   ` Michal Jaegermann
2004-02-09  1:42     ` T. Ford
2004-02-10  0:15       ` Michal Jaegermann
2004-02-10  1:36         ` T. Ford
2004-02-10 16:09           ` Michal Jaegermann [this message]
2004-02-10 16:24             ` Måns Rullgård
2004-02-10 21:35               ` 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