Linux RAID subsystem development
 help / color / mirror / Atom feed
* Re: Can't boot from /dev/md0 (RAID-1) (more info)
@ 2002-06-30 17:22 Roy Sigurd Karlsbakk
  2002-06-30 18:42 ` Luca Berra
  2002-06-30 23:50 ` Alvin Oga
  0 siblings, 2 replies; 4+ messages in thread
From: Roy Sigurd Karlsbakk @ 2002-06-30 17:22 UTC (permalink / raw)
  To: linux-raid

see below for my original post

I've uploaded some files to http://karlsbakk.net/bugs/ that may help to
explain the problem. Still - I can't boot from nothing but floppy.

thanks

roy

On Sunday 30 June 2002 14:19, Roy Sigurd Karlsbakk wrote:
> hi
>
> 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.

-------------------------------------------------------

-- 
Roy Sigurd Karlsbakk, Datavaktmester

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


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

* Re: Can't boot from /dev/md0 (RAID-1) (more info)
  2002-06-30 17:22 Can't boot from /dev/md0 (RAID-1) (more info) Roy Sigurd Karlsbakk
@ 2002-06-30 18:42 ` Luca Berra
  2002-06-30 23:50 ` Alvin Oga
  1 sibling, 0 replies; 4+ messages in thread
From: Luca Berra @ 2002-06-30 18:42 UTC (permalink / raw)
  To: linux-raid

On Sun, Jun 30, 2002 at 07:22:44PM +0200, Roy Sigurd Karlsbakk wrote:
> see below for my original post
> 
> I've uploaded some files to http://karlsbakk.net/bugs/ that may help to
> explain the problem. Still - I can't boot from nothing but floppy.
> 
> thanks
> 
uhm,
some versions of lilo used to write to the mbr when told boot=/dev/md?
others to the first sector of the container partition.

you better put a standard mbr on the disk and mark as active the partitions
that are part of md0

L.

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

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

* Re: Can't boot from /dev/md0 (RAID-1) (more info)
  2002-06-30 17:22 Can't boot from /dev/md0 (RAID-1) (more info) Roy Sigurd Karlsbakk
  2002-06-30 18:42 ` Luca Berra
@ 2002-06-30 23:50 ` Alvin Oga
  2002-07-01 10:17   ` Roy Sigurd Karlsbakk
  1 sibling, 1 reply; 4+ messages in thread
From: Alvin Oga @ 2002-06-30 23:50 UTC (permalink / raw)
  To: Roy Sigurd Karlsbakk; +Cc: linux-raid


hi ya

how was the floppy made ??
	- does it have a initrd file ??
	- initrd is notlisted in your lilo.conf.hda
	- is the kernel on the bootable floppy the same as that
	referenced in lilo.conf ?

i'd take out all those explicit defines and see if it helps

simplified(?) lilo.conf
	boot=/dev/md0
		- not sure about boot= for /dev/hda vs /dev/md0
	map=/boot/map
	install=/boot/boot.b
	prompt
	timeout=50
	lbad32

	image=/boot/vmlinuz	   
	   root=/dev/md0
	   label=raid
	   read-only

-- you'd also want to use /dev/hda  and /dev/hdc ...

c ya
alvin

On Sun, 30 Jun 2002, Roy Sigurd Karlsbakk wrote:

> see below for my original post
> 
> I've uploaded some files to http://karlsbakk.net/bugs/ that may help to
> explain the problem. Still - I can't boot from nothing but floppy.
> 


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

* Re: Can't boot from /dev/md0 (RAID-1) (more info)
  2002-06-30 23:50 ` Alvin Oga
@ 2002-07-01 10:17   ` Roy Sigurd Karlsbakk
  0 siblings, 0 replies; 4+ messages in thread
From: Roy Sigurd Karlsbakk @ 2002-07-01 10:17 UTC (permalink / raw)
  To: Alvin Oga; +Cc: linux-raid

Please listen

I've tried all this

see the dmesg output

On Monday 01 July 2002 01:50, Alvin Oga wrote:
> hi ya
>
> how was the floppy made ??
> 	- does it have a initrd file ??
> 	- initrd is notlisted in your lilo.conf.hda
> 	- is the kernel on the bootable floppy the same as that
> 	referenced in lilo.conf ?
>
> i'd take out all those explicit defines and see if it helps
>
> simplified(?) lilo.conf
> 	boot=/dev/md0
> 		- not sure about boot= for /dev/hda vs /dev/md0
> 	map=/boot/map
> 	install=/boot/boot.b
> 	prompt
> 	timeout=50
> 	lbad32
>
> 	image=/boot/vmlinuz
> 	   root=/dev/md0
> 	   label=raid
> 	   read-only
>
> -- you'd also want to use /dev/hda  and /dev/hdc ...
>
> c ya
> alvin
>
> On Sun, 30 Jun 2002, Roy Sigurd Karlsbakk wrote:
> > see below for my original post
> >
> > I've uploaded some files to http://karlsbakk.net/bugs/ that may help to
> > explain the problem. Still - I can't boot from nothing but floppy.

-- 
Roy Sigurd Karlsbakk, Datavaktmester

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


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

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

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-30 17:22 Can't boot from /dev/md0 (RAID-1) (more info) Roy Sigurd Karlsbakk
2002-06-30 18:42 ` Luca Berra
2002-06-30 23:50 ` Alvin Oga
2002-07-01 10:17   ` Roy Sigurd Karlsbakk

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