Koozali.org: home of the SME Server

lilo.conf contents for software RAID1

Offline raem

  • *
  • 3,972
  • +4/-0
lilo.conf contents for software RAID1
« on: August 31, 2004, 05:51:21 AM »
Hi All
I have a problem with a server after replacing a faulty drive and rebuilding the software RAID1 array. It won't boot up if the newly replaced ide drive (hda) is enabled. It does boot up OK with only hdc enabled in the bios. It looks like the lilo.conf is not right. Could someone post the contents of a good /etc/lilo.conf for a server configured with ide drives on Primary Master and Secondary Master. Thanks.
...

Offline funkusmunkus

  • *
  • 220
  • +0/-0
lilo.conf contents for software RAID1
« Reply #1 on: August 31, 2004, 06:40:25 AM »
I hope this is what your looking for Ray, what your asking does go a little over my head, anyway this is the lilo.conf taken from the 5.6 server at work with a raid setup( now if it is the correct one your after I'm not sure) but here it is anyway:

#------------------------------------------------------------
# BE CAREFUL WHEN MODIFYING THIS FILE! It is updated automatically
# by the SME server software. A few settings are altered by the
# template processing of the file and white space is removed,
# but otherwise changes to the file are preserved.
#
# For more information, see http://www.e-smith.org/custom/ and
# the template fragments in /etc/e-smith/templates/etc/lilo.conf/.
#
# copyright (C) 2002 Mitel Networks Corporation
#------------------------------------------------------------
prompt
timeout=50
default=Mitel-SME-smp
boot=/dev/md0
map=/boot/map
install=/boot/boot.b
message=/boot/mitel.pcx
linear
image=/boot/vmlinuz-2.4.18-5smp
        label=Mitel-SME-smp
        initrd=/boot/initrd-2.4.18-5smp.img
        read-only
        root=/dev/md1
image=/boot/vmlinuz-2.4.18-5
        label=Mitel-SME-up
        initrd=/boot/initrd-2.4.18-5.img
        read-only
        root=/dev/md1



hope that helps
Cheers
R. A.
.........

Offline raem

  • *
  • 3,972
  • +4/-0
lilo.conf contents for software RAID1
« Reply #2 on: August 31, 2004, 06:49:38 AM »
Dear funkusmunkus
>.....this is the lilo.conf taken from the 5.6 server at work with a raid setup

That's what I am after, but it does look like a v6.x server lilo.conf. Are you sure it was from a v5.6 server ? It's not a problem becasuse I really wanted it from a 6.x machine anyway.

Thanks
...

Offline funkusmunkus

  • *
  • 220
  • +0/-0
lilo.conf contents for software RAID1
« Reply #3 on: August 31, 2004, 06:53:39 AM »
Well until i actually get around to upgrading to 6.0.1  ;-) and not get the DNS udp flood, I'm stuck with 5.6
.........

Offline raem

  • *
  • 3,972
  • +4/-0
lilo.conf contents for software RAID1
« Reply #4 on: August 31, 2004, 07:36:41 AM »
funkusmunkus

That steered me in the right direction. I fixed lilo.conf
ran
lilo
and now reboots with both drives enabled.
Thanks
...