Hi,

I have a test system on which I am setting up mirrored disks before taking the plunge 
and
doing it for real on my server. I am having a problem with getting lilo to work on both
mirrred disks hda and hdc. I am using the lilo from redhat6.1 which is version 21 with
raid1 patch

I have /boot on /dev/md0 swap on /dev/md1 and / on /dev/md2 and lilo.conf looks like:

boot=/dev/md0
map=/boot/map
install=/boot/boot.b
prompt
verbose=1
timeout=50
image=/boot/vmlinuz-2.2.12-20
        label=linux
        root=/dev/md2
        read-only
        initrd=/boot/initrd

When I run lilo I get the following message end with a strange message abount 
/tmp/dev.0.

When I try it I find that I can boot fine from hda but if I try to boot from hdc I get 
the
first couple of characters from the initial lilo prompt and then it stops.

Anyone any ideas ? Thanks


[root@firebucket /root]# lilo -v
LILO version 21, Copyright 1992-1998 Werner Almesberger

boot = /dev/hda, map = /boot/map.0301
Reading boot sector from /dev/hda
Merging with /boot/boot.b
Secondary loader: 8 sectors.
Boot image: /boot/vmlinuz-2.2.12-20
Setup length is 7 sectors.
Mapped 1277 sectors.
Mapping RAM disk /boot/initrd
RAM disk: 558 sectors.
Added linux *
/boot/boot.0300 exists - no backup copy made.
Map file size: 13312 bytes.
Writing boot sector.
boot = /dev/hdc, map = /boot/map.1601
Reading boot sector from /dev/hdc
Merging with /boot/boot.b
Device 0x0900: BIOS drive 0x80, 15 heads, 4470 cylinders,
               63 sectors. Partition offset: 63 sectors.
Secondary loader: 8 sectors.
Device 0x0900: BIOS drive 0x80, 15 heads, 4470 cylinders,
               63 sectors. Partition offset: 63 sectors.
Boot image: /boot/vmlinuz-2.2.12-20
Device 0x0900: BIOS drive 0x80, 15 heads, 4470 cylinders,
               63 sectors. Partition offset: 63 sectors.
Setup length is 7 sectors.
Mapped 1277 sectors.
Mapping RAM disk /boot/initrd
Device 0x0900: BIOS drive 0x80, 15 heads, 4470 cylinders,
               63 sectors. Partition offset: 63 sectors.
RAM disk: 558 sectors.
Added linux
    <dev=0x80,hd=7,cyl=6,sct=38>
    "ro root=902"
/boot/boot.1600 exists - no backup copy made.
Map file size: 13312 bytes.
Writing boot sector.
Created temporary device /tmp/dev.0 (0x0000)
open /tmp/dev.0: No such device
Removed temporary file /tmp/dev.0

--
Lyndon David   Internet and Intranet development
Sentinet Ltd   http://www.sentinet.co.uk

Reply via email to