Hi

On Tue, 23 May 2000, Piete Brooks wrote:

> > When running LILO only /dev/hdb is updated.
> 
> How come ?

Wish I knew.... It all happened after I was testing to see what would
happen under various failure conditions. I had three identical drives that
I was experimenting with by removing and replacing from the RAID1 array. 

At one stage I - (could kick myself now...) had all three drives connected
simultaneously and I suspect that this is when the problem ocurred. 

It seems that one of the drives was marked as a spare drive and ever since
then LILO does not see /dev/hda.

> What does lilo.conf have ?

boot=/dev/md1
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
default=linux

image=/boot/vmlinuz-2.2.12-20
        label=linux
        initrd=/boot/initrd-2.2.12-20.img
        read-only
        root=/dev/md1

> 
> > Should /dev/hdb fail, I cannot boot from /dev/hda and get a message that
> > no valid boot disk was found.
> 
> Plausible
>


Output from /sbin/lilo -v -v -v :

LILO version 21, Copyright 1992-1998 Werner Almesberger

Caching device /dev/hda (0x0300)
Caching device /dev/hda1 (0x0301)
Caching device /dev/hda2 (0x0302)
Caching device /dev/hda3 (0x0303)
Caching device /dev/hda4 (0x0304)
Caching device /dev/hda5 (0x0305)
Caching device /dev/hda6 (0x0306)
Caching device /dev/hda7 (0x0307)
Caching device /dev/hda8 (0x0308)
Caching device /dev/hdb (0x0340)
Caching device /dev/hdb1 (0x0341)
Caching device /dev/hdb2 (0x0342)
Caching device /dev/hdb3 (0x0343)
Caching device /dev/hdb4 (0x0344)
Caching device /dev/hdb5 (0x0345)
Caching device /dev/hdb6 (0x0346)
Caching device /dev/hdb7 (0x0347)
Caching device /dev/hdb8 (0x0348)
Caching device /dev/sda (0x0800)
Caching device /dev/sda1 (0x0801)
Caching device /dev/sda2 (0x0802)
Caching device /dev/sda3 (0x0803)
Caching device /dev/sda4 (0x0804)
Caching device /dev/sda5 (0x0805)
Caching device /dev/sda6 (0x0806)
Caching device /dev/sda7 (0x0807)
Caching device /dev/sda8 (0x0808)
Caching device /dev/sdb (0x0810)
Caching device /dev/sdb1 (0x0811)
Caching device /dev/sdb2 (0x0812)
Caching device /dev/sdb3 (0x0813)
Caching device /dev/sdb4 (0x0814)
Caching device /dev/sdb5 (0x0815)
Caching device /dev/sdb6 (0x0816)
Caching device /dev/sdb7 (0x0817)
Caching device /dev/sdb8 (0x0818)
boot = /dev/hdb, map = /boot/map.0346
Reading boot sector from /dev/hdb
Merging with /boot/boot.b
Device 0x0901: BIOS drive 0x80, 255 heads, 788 cylinders,
               63 sectors. Partition offset: 5542488 sectors.
Secondary loader: 8 sectors.
Device 0x0901: BIOS drive 0x80, 255 heads, 788 cylinders,
               63 sectors. Partition offset: 5542488 sectors.
Boot image: /boot/vmlinuz-2.2.12-20
Device 0x0901: BIOS drive 0x80, 255 heads, 788 cylinders,
               63 sectors. Partition offset: 5542488 sectors.
Setup length is 7 sectors.
Mapped 1219 sectors.
Mapping RAM disk /boot/initrd-2.2.12-20.img
Device 0x0901: BIOS drive 0x80, 255 heads, 788 cylinders,
               63 sectors. Partition offset: 5542488 sectors.
RAM disk: 569 sectors.
Added linux *
    <dev=0x80,hd=169,cyl=104,sct=97>
    "ro root=901"
/boot/boot.0340 exists - no backup copy made.
Map file size: 13312 bytes.
Writing boot sector.


Many Thanks for the help

Regards

John

Reply via email to