Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* milo.conf
@ 2000-01-04  5:00 Some Dork
  2000-01-06  5:00 ` milo.conf Dr. Unk
  2000-01-06  5:00 ` milo.conf Dr. Unk
  0 siblings, 2 replies; 6+ messages in thread
From: Some Dork @ 2000-01-04  5:00 UTC (permalink / raw)


Can anyone point me to documentation that describes how milo finds the
milo.conf file.
The syntax I am using is...
     MILO> boot sda1 linux

linux is defined in the milo.conf file, but milo doesn't seem to be able
to find it until
after it tries to boot the kernel.  after the above line is typed i get

Available Configurations:  linux

At this point if I type linux at the boot prompt, it works.

Any help would be appreciated.

Thanks,

Mike




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

* Re: milo.conf
  2000-01-04  5:00 milo.conf Some Dork
@ 2000-01-06  5:00 ` Dr. Unk
  2000-01-06  5:00 ` milo.conf Dr. Unk
  1 sibling, 0 replies; 6+ messages in thread
From: Dr. Unk @ 2000-01-06  5:00 UTC (permalink / raw)


























--
Take two shots of vodka and call me in the morning.


Sent via Deja.com http://www.deja.com/
Before you buy.



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

* Re: milo.conf
  2000-01-04  5:00 milo.conf Some Dork
  2000-01-06  5:00 ` milo.conf Dr. Unk
@ 2000-01-06  5:00 ` Dr. Unk
  2000-01-06  5:00   ` milo.conf Michal Jaegermann
  1 sibling, 1 reply; 6+ messages in thread
From: Dr. Unk @ 2000-01-06  5:00 UTC (permalink / raw)


As far as I know, I've never seen a file called milo.conf (only lilo.conf on
x86's).  I know the following works: MILO> boot sda1:vmlinux.gz
root=/dev/sda2

If that's how your system is setup.

--
Take two shots of vodka and call me in the morning.


Sent via Deja.com http://www.deja.com/
Before you buy.



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

* Re: milo.conf
  2000-01-06  5:00 ` milo.conf Dr. Unk
@ 2000-01-06  5:00   ` Michal Jaegermann
  2000-01-07  5:00     ` milo.conf Mike Langas
  0 siblings, 1 reply; 6+ messages in thread
From: Michal Jaegermann @ 2000-01-06  5:00 UTC (permalink / raw)


Dr. Unk (dr_unk@hotmail.com) wrote:
: As far as I know, I've never seen a file called milo.conf

That can be true.

: (only lilo.conf on
: x86's).

Let's fix that terrible deprivation!

image=/vmlinux.gz
        label=oops
        root=/dev/sda2
        append=""

Put this into a file 'etc/milo.conf' on **that partition** on which your
"image" file happens to live.  Now you have seen one.

You may put into a string assigned to 'append' string all other
arguments you may need to boot (multiple ethernet cards setup, scsi
controller parameters, whatever...).

You may have multiple stanzas like the one above; better with different
labels, of course. :-)

: I know the following works: MILO> boot sda1:vmlinux.gz
: root=/dev/sda2

So now try to boot from a milo prompt:  'b sda1:' and see what
transpires.  Unfortunately I have not seen a milo yet for which
'timeout=...' for an automatic booting a default entry would work.

There is another catch.  If /dev/sda1 happens to be a FAT partition
then 'etc/milo.conf' there will be seen by milo as 'etc/milo.con'
(an infamous 8+3 and milo knows nothing about vfat) so it will be
not found without hacking milo (entirely possible).  With iso9660
we have the same problem so a name like 'milo.cnf' would be,
in a retrospect, nicer.

  Michal




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

* Re: milo.conf
  2000-01-06  5:00   ` milo.conf Michal Jaegermann
@ 2000-01-07  5:00     ` Mike Langas
  2000-01-07  5:00       ` milo.conf Michal Jaegermann
  0 siblings, 1 reply; 6+ messages in thread
From: Mike Langas @ 2000-01-07  5:00 UTC (permalink / raw)


Michal,

I'm a little unclear on some of the things you said in your last post.

Are you implying I can put milo on a partition that is something other
than FAT?
Does etc/milo.conf have to exist on the partion with the milo image or
the kernel image?

The reason I ask is that the default install placed the milo.conf file
on the same partition as the kernel.

After the install I end up with milo and linload on a 1440K FAT
partition (sda1) and my / partition is ext2 (sda2).  the milo.conf file
is on sda2.   At the milo prompt I type 'b sda2:'  I then get a list of
defined labels in the milo.conf file.  When I type in one of the label
names the system boots.  The problem is that I want the system to boot
automatically.

Some of the documentation says you can type something like 'b sda2:
label_name'
to tell milo what label to use.  This is the part that doesn't seem to
be working for me.

If milo.conf is supposed to go on the same partition as the milo image,
it seems like we
end up with a catch 22.  Milo has to be on a FAT partition with the
milo.conf file, but the FAT file system can't handle the 4 digit
extension.

Is there another way?

Thanks again for the help.

Mike




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

* Re: milo.conf
  2000-01-07  5:00     ` milo.conf Mike Langas
@ 2000-01-07  5:00       ` Michal Jaegermann
  0 siblings, 0 replies; 6+ messages in thread
From: Michal Jaegermann @ 2000-01-07  5:00 UTC (permalink / raw)


Mike Langas (mlangas@uswest.net) wrote:

: Are you implying I can put milo on a partition that is something other
: than FAT?

Milo has to live on a partition type which is recognized by a firmware
which is loading it.  So this limits your choices to FAT and iso9660
(plain, no "Rock Ridge extensions" or anything like that).  This
"partition" may be actually on a floppy, but hard disk is usually
more convenient and iso9660 file system on a hard disk is not a great
idea. :-)  It is read only.

: Does etc/milo.conf have to exist on the partion with the milo image or
: the kernel image?

This 'milo.conf' has to be on the same partition with your boot image,
i.e. kernel stuff.  Milo is a loader.  That means that if you have
your kernel on a root partition, as usually is the case, then you will
use /etc/milo.conf and if you kernel you want to boot lives in
/boot/test/vmlinux-my-latest-experimental-stuff-which-may-not-work.gz
you may add to /etc/milo.conf a stanza with the above name and a short
label and save yourself a lot of typing.  I assume, of course that
/boot/test is a part of your root partition and not mounted from
somewhere else.  If it would you could have one 'milo.conf' in /etc
and another one on this "experimental" partition and you would get
labels from one or another depending on which partition you have
chosen to boot from milo prompt.  You can mount your '/' from the
same partition on all cases - of course.

Note that in such situation not only locations of 'milo.conf' would
be relative to partitions on which you put it but also boot image
names.  This is read by milo, when nothing is mounted yet, so there
is yet no subdirectory on which this eventually end up.

: The reason I ask is that the default install placed the milo.conf file
: on the same partition as the kernel.

And this is correct; unless this is something like RH 6.1, which puts
boot images in /boot, AND you told installer to mount /boot from its
own partition.  I did not try if an installer is smart enough to
realize what is going on. :-)  It is probably not a problem in practice
as people who would to that likely realize also what is going on
and can boot in any case.

: After the install I end up with milo and linload on a 1440K FAT
: partition (sda1) and my / partition is ext2 (sda2).  the milo.conf file
: is on sda2.   At the milo prompt I type 'b sda2:'  I then get a list of
: defined labels in the milo.conf file.  When I type in one of the label
: names the system boots.  The problem is that I want the system to boot
: automatically.

You do that by putting your __full__ boot command line into
OSLOADOPTIONS of a default menu entry in ARC (AlphaBIOS, ARCBIOS, the
same thing with a different eye candy) and setting a non-zero timeout
(say 15 seconds).  Then even after 'shutdown -r' milo will reuse the last
boot command and after some countdown will reboot automatically.

If you are booting from SRM, and not from ARC, then you do not have
a FAT partition and you are dealing with 'aboot.conf' and not
'milo.conf'.  :-)  Automatic booting is then a tad different but also
trivial.

: Some of the documentation says you can type something like 'b sda2:
: label_name'
: to tell milo what label to use.

No, this does not work - at least for all milos which I have seen.
But nobody is forcing you to use that "simplified" method.  'milo.conf'
makes an __interactive__ reboot simpler.

: If milo.conf is supposed to go on the same partition as the milo image,
: it seems like we
: end up with a catch 22.

Nobody said that; "a system boot image" is something totally different
from milo.

  Michal




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

end of thread, other threads:[~2000-01-07  5:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-04  5:00 milo.conf Some Dork
2000-01-06  5:00 ` milo.conf Dr. Unk
2000-01-06  5:00 ` milo.conf Dr. Unk
2000-01-06  5:00   ` milo.conf Michal Jaegermann
2000-01-07  5:00     ` milo.conf Mike Langas
2000-01-07  5:00       ` milo.conf Michal Jaegermann

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