Re: Problem with raid boot
From: Connor T (madman_dan_at_hotmail.com)
Date: 10/31/05
- Next message: Connor T: "how to make a floppy which will boot up from /dev/hdc1?"
- Previous message: Mark: "Re: KVM Switch doesn't work"
- Next in thread: Enrique Perez-Terron: "Re: Problem with raid boot"
- Reply: Enrique Perez-Terron: "Re: Problem with raid boot"
- Reply: Michael Heiming: "Re: Problem with raid boot"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 31 Oct 2005 12:52:02 -0800
Ok, many apolologies for taking so long to come back to this, but i've
just tried this, got lilo installed, and it seems to update on both
hdd's when i run lilo -v.
So, I have /dev/md0 happily running. I turned the pc off, disconnected
the primary hdd, and powered back on. The system came up, but LILO
only got to the LI stage, which is apparently something to do with
drive geometry differences? Admittedly the drives are _not_ identical.
Any ideas?
Michael Heiming wrote:
> In comp.os.linux.setup Michael Heiming <michael+USENET@www.heiming.de>:
> > In comp.os.linux.setup Peter T. Breuer <ptb@oboe.it.uc3m.es>:
> >> Connor T <madman_dan@hotmail.com> wrote:
> [..]
>
> >>> ( Centos is a RHEL clone )
>
> [..]
>
> >> In the obvious way! I believe lilo has an option to do that
> >> automatically, or does do it autmatically.
>
> > Yep, just point the loader to the md device containing "/" and
> > rerun 'lilo -v', you should see it writing on both disks and
> > both will be perfectly bootable, at least with RHEL.
>
> In addition, look at this example of a working softraid 1
> configuration:
>
> Presuming "root=/dev/md5", put in lilo.conf:
>
> boot=/dev/md5
>
> Now run 'lilo -v':
>
> # lilo -v
> LILO version 21.4-4, Copyright (C) 1992-1998 Werner Almesberger
> 'lba32' extensions Copyright (C) 1999,2000 John Coffman
>
> boot = /dev/sdb, map = /boot/map.0811
> Reading boot sector from /dev/sdb
> Merging with /boot/boot.b
> [..]
> /boot/boot.0810 exists - no backup copy made.
> Writing boot sector.
> boot = /dev/sda, map = /boot/map.0801
> Reading boot sector from /dev/sda
> Merging with /boot/boot.b
> [..]
>
> As you can see, lilo happily writes the boot sector to both disks
> and the system can boot from both. This example uses SCSI disks,
> but that doesn't matter, it works as fine with IDE. Just be aware
> that not all distro allow this out of the box.
>
> [..]
>
> --
> Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
> mail: echo zvpunry@urvzvat.qr | perl -pe 'y/a-z/n-za-m/'
> #bofh excuse 376: Budget cuts forced us to sell all the power
> cords for the servers.
- Next message: Connor T: "how to make a floppy which will boot up from /dev/hdc1?"
- Previous message: Mark: "Re: KVM Switch doesn't work"
- Next in thread: Enrique Perez-Terron: "Re: Problem with raid boot"
- Reply: Enrique Perez-Terron: "Re: Problem with raid boot"
- Reply: Michael Heiming: "Re: Problem with raid boot"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|