Thanks for the feedback.  I've added a few hints to the readme file at:
http://www.elliott-turbo.com/lilo/

Hints: 1) Use boot=/dev/mdX and root=/dev/mdY as appropriate...
    lilo will figure out the underlying partitions for you
 2) Add default=<label> to make mirrors fully functional...
    otherwise booting from mirror won't show list with TAB or have a
    working default (normally it would pick the first entry in order)

We should fix #2 in LILO itself

Rich B
----- Original Message -----
From: "Marc MERLIN" <[EMAIL PROTECTED]>
To: "Richard Bollinger" <[EMAIL PROTECTED]>
Cc: "John Coffman" <[EMAIL PROTECTED]>
Sent: Tuesday, May 30, 2000 9:41 PM
Subject: Re: getting lilo to create map with raid 1 on root fs


> A little feedback on this patch
...
> Note 1:
> boot=/dev/md0 wasn't very obvious. I didn't realize it would really do:
See Hint #1
...
> Note 2:
> My linuxsafe label has image=/vmlinuz. I really want image=/safe/vmlinuz,
with
> /safe being on my md1 partition. If I do, I get the dreaded:
...
> Fatal: Sorry, don't know how to handle device 0x0901

I tried to reproduce your error, but it seems to work for me :-(.  Are you
sure you're running with my changes?  Your message is what I'd expect to see
with only the RedHat patched version installed.

Script started on Wed May 31 08:05:37 2000
rb-ls1:/etc# cat lilo.conf
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/md0
default=Linux    # seems to be required to make 2nd drive fully functional
#compact        # faster, but won't work on all systems.
delay = 50
vga = normal    # force sane state
# ramdisk = 0     # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /vmlinuz
  root = /dev/md0
  label = Linux
  read-only # Non-UMSDOS filesystems should be mounted read-only for
checking
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /vmlinuz.0
  root = /dev/md0
  label = vmlinuz.0
  read-only # Non-UMSDOS filesystems should be mounted read-only for
checking
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /usr/src/linux/arch/i386/boot/bzImage
  root = /dev/md0
  label = bzImage
  read-only # Non-UMSDOS filesystems should be mounted read-only for
checking
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /usr/src/linux/arch/i386/boot/bzImage
  root = /dev/md1
  label = test
  read-only # Non-UMSDOS filesystems should be mounted read-only for
checking
# Linux bootable partition config ends
rb-ls1:/etc# lilo
boot = /dev/hda, map = /boot/map.0301
Added Linux *
Added vmlinuz.0
Added bzImage
Added test
boot = /dev/hdc, map = /boot/map.1601
Added Linux
Added vmlinuz.0
Added bzImage
Added test
rb-ls1:/etc# exit
exit

Script done on Wed May 31 08:05:48 2000


> Note 3:
> If I yank  disk #1, disk #2  boots fine, but is apparently  missing the
lilo
> kernel list,  so tab  gives me  nothing and it  doesn't know  how to  boot
a
> kernel, but if I type my label, it boots fine.
> (it looks like the  raid 1 lilo code forgets to duplicate  some stuff on
the
> second disk)
See Hint #2:

Reply via email to