From: Michal Jaegermann <michal@gortel.phys.ualberta.ca>
Subject: Re: Any hope of booting a 2.4 kernel using MILO?
Date: Fri, 31 Oct 2003 19:58:49 +0000 (UTC) [thread overview]
Message-ID: <bnuetp$ii4$1@tabloid.srv.ualberta.ca> (raw)
In-Reply-To: EVvob.284$Er.31369@mencken.net.nih.gov
Eric Henry <eric@helix.nih.gov> wrote:
>
>> There is only one thing which may prevent you from using
>> an existing SRM consoles on LX.
>
> Probably true, but there is no "existing SRM console" on my machine.
True to that extent that LX NVRAM modules are too small to keep
both images "in" at the same time. False in general.
Some years ago I remember doing some experiments on LX when
I needed both sets of firmware around. I was loading SRM from
a floppy and not flashing it. Crude but it worked even if I do
not remember all details now. :-)
> I have acquired what I think is the correct firmware update
> image to implement the switch:
>
> http://ftp.digital.com/pub/DEC/Alpha/firmware/archive/alphapc164lx/lx164_v5_8.exe
I guess that this would be it but make sure that this is the latest
version available.
> but I wanted to see if I could possibly keep MILO for now.
You can but there are technical reasons to prefer SRM if only feasible.
Both sets of firmware load somethings called "PAL code" before allowing
OS to take over. This code is not the same for ARC, or similar, and SRM
and affects your machine performance.
> (I have a
> dual-disk system, with a working RedHat distro on one disk, and a newly
> installed Debian Woody on the other. Installing SRM/aboot would make one
> or the other of these inaccessible, because aboot has to go at the
> beginning of the disk, and I (or rather the disks)have not been
> partitioned to handle this painlessly.
Boot disk used with SRM has to have a "BSD label" type partitioning.
For ARC this is FAT. Firmware limitation. Other disks can be partioned
any way supported by your kernel and a root file system does not have to
reside on boot media. The only thing you need there are your boot
images. Boot from an old IDE disk, for example, if you do not want to
repartition. It does not matter if this is Red Hat or Debian or
Slackware or PLD or anything else.
>
> The 2.4.22 kernel I was attempting to boot was built with
> CONFIG_ALPHA_LEGACY_LOAD_ADDRESS set. Are there any other configuration
> flags that are critical for MILO-loadability?
Nope. Such kernel will not boot on some new machines with "big" SRM
consoles but you do not have to worry about that. :-)
>>
>>>Does there exist a MILO
>>>anywhere that will boot a 2.4 kernel?
>>
>>
>> Yes. With this proviso that a kernel has to be configured for that.
>> Say like ready binaries kernel-milo-2.4.18-27.7.x.hp.alpha.rpm at
>> ftp://ftp2.compaq.com/pub/linux/RedHat/7.2-alpha/updates/rpms/alpha/
>
> Thanks for the tip. I downloaded and installed this kernel, and booting
> it from MILO-2.0.x actually started, but ended with a kernel panic
> because it couldn't open the specified root device.
If you have a root file system on a SCSI disk then you need initrd for
your kernel. All SCSI drivers are loaded from there so you will not get
a disk access otherwise and a panic you describe. 'mkinitrd' utility
will make it but a corresponding initrd was likely created
"automagically" during an rpm installation anyway. Now you have to load
it. Write yourself etc/milo.conf (this is __relative__ to the top of a
partition from which you boot!!! and the same applies to all paths
mentioned there) file or you will likely mistype something in your boot
command. Something in this style in milo.conf should to it but adjust
all data to your situation:
image=/boot/vmlinuz-2.4.18-27.7.x.hp
label=boot
root=/dev/sda3
append="initrd=/boot/initrd-2.4.18-27.7.x.hp.img"
and at milo prompt type simply 'b sda3:' (or whatever is a partition
from which you are booting and on which a milo.conf with these lines
resides).
Of course this requires a milo which is able to pass 'initrd...'
stuff to your kernel. I am not sure if MILO-2.0.x will work for that.
Michal
next prev parent reply other threads:[~2003-10-31 19:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-30 15:59 Any hope of booting a 2.4 kernel using MILO? Eric Henry
2003-10-30 16:12 ` Måns Rullgård
2003-10-30 18:32 ` Michal Jaegermann
2003-10-31 16:16 ` Eric Henry
2003-10-31 19:58 ` Michal Jaegermann [this message]
2003-10-31 20:31 ` Måns Rullgård
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