I already sent a email out explaining this but it seems it got lost :-((
(This is not the first time I suspect I'm not sending/receiving all the
email...)

IMHO you have to tell lilo to load the mbr in another drive (lilo -b
/dev/hdc or something similar). I think that when you swith on the
computer, BIOS boots from your 100MHz ides, but as soon as kernel is
loaded it reorders ides so hda is one of the 66MHz ides, not the 100MHz
ones. This makes that when running lilo will default to load mbr in hda
(if not specified another unit) which is *not* the boot drive.

I copy the explanation sent before (please tell me if you got a email
from me on 12 Mar 2003 just to check if I'm relly losing emails...):







Let's have first some background before breaking it all ;-))

I have a board with 2 IDE ports (HighPoint's raid) and 2 "normal" IDE
ports. That's why I had to add those 2 disk-stanzas.... I will describe
the issues in my board (that might be quite similar to your case):

At startup, BIOS makes raid to be ide 0 and 1, and normal ones 2 and 3.
It then tryies to boot from first drive in the first ide available.
Let's say it is a master drive in ide 0. We should call it hda. So far
so good.

The "problem" is that Linux does not use BIOS to do it's I/O, so as soon
as it has been loaded into memory it won't use BIOS conventions. In my
case it thinks normal ide port's are 0 and 1, and raid ones are 2 and 3,
just the opposite as BIOS stated!!!

That's all. All you have to do to make thinks easier is to think is how
to force a remapping of ide's so as to be the same as BIOS, and you'll
get rid of many mistakes.

For example, if Linux mappings of hard disks does not match with BIOS
ones, and you run lilo to update mbr (OS boot menu) on hda, that drive
might not be first drive for BIOS, so it will boot another mbr and
you'll be wondering why you are booting with the same menu as always,
but nothing to do with the one you have spacified!! All this can be
solved by typing into lilo.conf the spells of remaping drives (or by
specifing boot=/dev/hd<your_BIOS_boot_drive>, but taking into account
that drive is the letter of BIOS remapped to what Linux wnted/was told
to).

Remapping can be done with disk's or map-drive spells (use disk's, cause
map-drive is mainly for DOS and the first one can be used with all OS
and it's clearer). Anyway, what you specify is:
 real_drive  -->  how_I_want_it_to_be_seen_by_the_OS


Now to your point:

Try to coment out those 2 stanzas and run lilo to see if Windows will
boot. Sincerely, I can't see a reason for them to be there provided
there is not a previous remapping of drives in lilo.conf. Anyway it
probably won't change much if all partitions in hdf are invisible to
Windows.








El mar, 18-03-2003 a las 17:41, Anne Wilson escribi�:
> On Wednesday 12 Mar 2003 10:49 pm, Joerg Mertin wrote:
> > Anne Wilson wrote:
> > > On Wednesday 12 Mar 2003 6:46 pm, Joerg Mertin wrote:
> > >>Hi Anne,
> > >>
> > >>so - here we go :)
> > >
> > > Well blow me down :-) Windows_2 boots!
> >
> > Glad to hear it works :) 
> 
> Joerg - strange things are happening.  When you told me to add the new windows 
> stanza, I saved the old file as lilo.conf.March 'just in case'.  I then added 
> the stanza to lilo.conf.  As I said, it worked.
> 
> Examining lilo.conf afterwards, I found that the odd mapping lines had 
> disappeared, and I then seemed to have WindowsOriginal stanza and Windows2 
> stanza identically set up.
> 
> I then deleted WindowsOriginal, and renamed Windows2 to Windows98.
> 
> To my surprise, when I get the lilo menu I still see WindowsOriginal and 
> Windows2.  I have no idea where it's reading these from.  The current 
> lilo.conf is attached.
> 
> Can you point me at an explanation?
> 
> Anne
> -- 
> Registered Linux User No.293302
> ----
> 

> boot=/dev/hde
> map=/boot/map
> vga=normal
> default=win4lin
> keytable=/boot/uk.klt
> prompt
> nowarn
> timeout=200
> message=/boot/message
> menu-scheme=wb:bw:wb:bw
> disk=/dev/hde bios=0x80
> image=/boot/vmlinuz-2.4.19-16mdk
>       label=Mandrake_9.0-2.
>       root=/dev/hdf1
>       initrd=/boot/initrd-2.4.19-16mdk.img
>       append="nobiospnp nopentium mem=512M devfs=mount hdc=ide-scsi"
>       read-only
> image=/boot/vmlinuz
>       label=failsafe
>       root=/dev/hdf1
>       initrd=/boot/initrd.img
>       append="failsafe nopentium mem=512M devfs=nomount hdc=ide-scsi"
>       read-only
> other=/dev/hde1
>       label=Windows98
>       table=/dev/hde
> other=/dev/fd0
>       label=floppy
>       unsafe
> image=/boot/win4lin
>       label=win4lin
>       root=/dev/hdf1
>       initrd=/boot/initrd.img
>       append="nobiospnp nopentium mem=512M devfs=mount hdc=ide-scsi"
>       read-only
> ----
> 

> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com
-- 
           Diego  Dominguez                 
              __/\__  
             |      | 
 Andalucia  /        \  Spain
            \        /
             |__  __| 
                \/    


___________________________________________________
Yahoo! Messenger - Nueva versi�n GRATIS
Super Webcam, voz, caritas animadas, y m�s...
http://messenger.yahoo.es

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to