linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Can't boot from /dev/md0 (RAID-1)
@ 2002-06-30 13:37 Roy Sigurd Karlsbakk
  2002-06-30 16:22 ` Luca Berra
  0 siblings, 1 reply; 5+ messages in thread
From: Roy Sigurd Karlsbakk @ 2002-06-30 13:37 UTC (permalink / raw)
  To: linux-raid

I hope this is not OT - didn't find any LILO mailing list. after trying 
virtually everything - can anyone help me with a tip?


Running 2.4.19-pre10-ac2, RedHat 7.3 (LILO version 21.4-4), I have root on 
/dev/md0 on RAID-1 on /dev/hda1 and /dev/hdb1. I've tried the howto at 
http://www.tldp.org/HOWTO/mini/Boot+Root+Raid+LILO-3.html#ss3.1, but it still 
doesn't help me. lilo just tells me "L 99 99 99 99 ..." some half a page, and 
then stops.I'm trying. All the time it prints this, it seems to be searching 
the floppy for some reason.


The lilo.conf suggested by the above HOWTO, is this


# lilo.conf.hda - primary ide master
disk=/dev/md0
bios=0x80
sectors=63
heads=16
cylinders=39770
partition=/dev/md1
start=63
boot=/dev/hda
map=/boot/map
install=/boot/boot.b


image=/boot/bzImage
        root=/dev/md0
        read-only
        label=LinuxRaid


sector/head/cylinder is corrected to the actual data reported from 'fdisk 
-ul'. 


When trying to set. boot=/dev/hdm (which is the first drive on the on-board 
chipset), lilo installs, and I get LI instead of L 99 99 ... Same result with 
LBA32.


I also have another box with Linux, running SuSE 7.2 (LILO version 21.7-5) 
with RAID-1 on two drives. Here everything works fine


thanks for all help


roy

-- 
Roy Sigurd Karlsbakk, Datavaktmester

Computers are like air conditioners.
They stop working when you open Windows.


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

* Re: Can't boot from /dev/md0 (RAID-1)
  2002-06-30 13:37 Roy Sigurd Karlsbakk
@ 2002-06-30 16:22 ` Luca Berra
  2002-06-30 18:04   ` Jakob Oestergaard
  0 siblings, 1 reply; 5+ messages in thread
From: Luca Berra @ 2002-06-30 16:22 UTC (permalink / raw)
  To: linux-raid

On Sun, Jun 30, 2002 at 03:37:44PM +0200, Roy Sigurd Karlsbakk wrote:
> I hope this is not OT - didn't find any LILO mailing list. after trying 
> virtually everything - can anyone help me with a tip?
> 
> 
> Running 2.4.19-pre10-ac2, RedHat 7.3 (LILO version 21.4-4), I have root on 
> /dev/md0 on RAID-1 on /dev/hda1 and /dev/hdb1. I've tried the howto at 
> http://www.tldp.org/HOWTO/mini/Boot+Root+Raid+LILO-3.html#ss3.1, but it still 
please someone update that blasted howto, lilo has been supporting boot from md
for ages.

use:
boot=/dev/md0
map=/boot/map
install=/boot/boot.b

image=/boot/bzImage
    root=/dev/md0
    read-only
    label=LinuxRaid

-- 
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

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

* Re: Can't boot from /dev/md0 (RAID-1)
  2002-06-30 16:22 ` Luca Berra
@ 2002-06-30 18:04   ` Jakob Oestergaard
  0 siblings, 0 replies; 5+ messages in thread
From: Jakob Oestergaard @ 2002-06-30 18:04 UTC (permalink / raw)
  To: linux-raid

On Sun, Jun 30, 2002 at 06:22:25PM +0200, Luca Berra wrote:
> On Sun, Jun 30, 2002 at 03:37:44PM +0200, Roy Sigurd Karlsbakk wrote:
> > I hope this is not OT - didn't find any LILO mailing list. after trying 
> > virtually everything - can anyone help me with a tip?
> > 
> > 
> > Running 2.4.19-pre10-ac2, RedHat 7.3 (LILO version 21.4-4), I have root on 
> > /dev/md0 on RAID-1 on /dev/hda1 and /dev/hdb1. I've tried the howto at 
> > http://www.tldp.org/HOWTO/mini/Boot+Root+Raid+LILO-3.html#ss3.1, but it still 
> please someone update that blasted howto, lilo has been supporting boot from md
> for ages.

This has been in the Software-RAID HOWTO since january 2000.

> 
> use:
> boot=/dev/md0
> map=/boot/map
> install=/boot/boot.b

This is indeed the correct way to do things.

Actually, on a Debian box I set up recently I needed to do the
following:

  boot=/dev/md0
  raid-extra-boot=/dev/sda,/dev/sdb

This tells LILO exactly where to write the MBRs - this is not usually
needed though.

-- 
................................................................
:   jakob@unthought.net   : And I see the elder races,         :
:.........................: putrid forms of man                :
:   Jakob Østergaard      : See him rise and claim the earth,  :
:        OZ9ABN           : his downfall is at hand.           :
:.........................:............{Konkhra}...............:
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: Can't boot from /dev/md0 (RAID-1)
       [not found] <200206302046.g5UKkgpS006815@ns2.is.bizsystems.com>
@ 2002-07-01 10:07 ` Roy Sigurd Karlsbakk
  2002-07-01 11:21   ` Jakob Oestergaard
  0 siblings, 1 reply; 5+ messages in thread
From: Roy Sigurd Karlsbakk @ 2002-07-01 10:07 UTC (permalink / raw)
  To: michael; +Cc: Kernel mailing list, linux-raid

On Sunday 30 June 2002 23:46, Michael wrote:
> > I hope this is not OT - didn't find any LILO mailing list. after
> > trying virtually everything - can anyone help me with a tip?
>
> The problem you're having is not with raid but with LILO in general.
> I don't remember the specifics, but I've experienced the same thing
> and it was an error in how I used lilo or the version of the boot
> record -- something strange like that. Raid is not part of the
> problem.
>
> Read the docs that come with the LILO distribution in the source. The
> man page does not have as much info. You may also be suffering from
> differing version of the MBR -- a major source of pain and suffering.

I've read the fscking manual - all I can find - for both grub and lilo, and 
I've tried all possible configurations I can think of.

point is - I beleive there's a BIOS/linux misunderstanding somewhere

roy

-- 
Roy Sigurd Karlsbakk, Datavaktmester

Computers are like air conditioners.
They stop working when you open Windows.


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

* Re: Can't boot from /dev/md0 (RAID-1)
  2002-07-01 10:07 ` Can't boot from /dev/md0 (RAID-1) Roy Sigurd Karlsbakk
@ 2002-07-01 11:21   ` Jakob Oestergaard
  0 siblings, 0 replies; 5+ messages in thread
From: Jakob Oestergaard @ 2002-07-01 11:21 UTC (permalink / raw)
  To: Roy Sigurd Karlsbakk; +Cc: michael, Kernel mailing list, linux-raid

On Mon, Jul 01, 2002 at 12:07:07PM +0200, Roy Sigurd Karlsbakk wrote:
...
> 
> I've read the fscking manual - all I can find - for both grub and lilo, and 
> I've tried all possible configurations I can think of.
> 
> point is - I beleive there's a BIOS/linux misunderstanding somewhere

Did you try the   raid-extra-boot  option for LILO ?  I really don't
know if this is the problem you are seeing, but it's worth a shot I
think.

-- 
................................................................
:   jakob@unthought.net   : And I see the elder races,         :
:.........................: putrid forms of man                :
:   Jakob Østergaard      : See him rise and claim the earth,  :
:        OZ9ABN           : his downfall is at hand.           :
:.........................:............{Konkhra}...............:
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2002-07-01 11:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200206302046.g5UKkgpS006815@ns2.is.bizsystems.com>
2002-07-01 10:07 ` Can't boot from /dev/md0 (RAID-1) Roy Sigurd Karlsbakk
2002-07-01 11:21   ` Jakob Oestergaard
2002-06-30 13:37 Roy Sigurd Karlsbakk
2002-06-30 16:22 ` Luca Berra
2002-06-30 18:04   ` Jakob Oestergaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).