Cristian,

Oops, I read tge manpage wrong.  It says it will default to the first
kernel image mentioned.  -D will work, setting the default for that run
of lilo.  If you run lilo again without the -D it will go back to the
way it was.  You could also put default = dos in the global config
section of lilo.conf, but if you spell dos wrong it will give you an
innocuous looking error and not work.  Any error message from lilo that
is not a warning is, in fact an abort. :-)

On Sun, 7 Mar 1999, cristian wrote:

> Lawson wrote:
> 
> >  Without other instructions lilo defaults to the first os in
> lilo.conf.
> > 
> > Or read man lilo.conf for other ways to do it.
> 
> Hi, 
> 
> A strange thing happened to me when I tried to change the default of
> Lilo from linux to dos. I put in lilo.conf "dos" the first and "linux"
> second and it had no effect. So I changed back lilo.conf.
> 
> At the advice of someone named "Frontal" I did:
> 
> Lilo -D dos
> 
> and it worked. Now I have Lilo with dos as default.
> 
> I was courious and I looked in lilo.conf. It is unchanged, linux is
> first and dos second. And is still booting dos as default. I don't know
> why all strange things are happening to me. When I installed linux the
> setup asked if I want Lilo in hda or in hda3(my linux partition) and I
> answered in hda3. Is this of any importance ?

You haven't changed the stock mbr, so if you use fdisk to make dos the
bootable partition, it will boot up dos without lilo, and you'd have to
use dos fdisk to change it back.  It shouldn't be a problem.
> 
> By the way, would it be possible more than 2 OS in lilo.conf ?
>
As many as you like, at least as far as lilo is concerned.  But if an
os is not an "image" it is an "other", and it must supply its own boot
loader in sector 0 of its partitoin.
> 
> Best regards
> 

Lawson 




___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]

Reply via email to