[clug] Mirroring boot disk on Debian
Stephen Jenkin
sjenkin at canb.auug.org.au
Mon Nov 22 04:57:50 GMT 2004
Thanks to all who replied.
This is the best resource that I found.
http://www.bigwebmaster.com/General/Howtos/Software-RAID-HOWTO-7.html
Created an initial install in /dev/hda1 and also setup /dev/md1 as
[/dev/hda2, /dev/hdc2]
Alter the install/config was over, copied root filesystem to /dev/md1
filesystem [exclude /proc and mkdir it later].
Altered necessary files: /etc/lilo.conf and /etc/fstab.
Secret formula NOT in any web resources:
- added line 'md' to /etc/mkinitrd/modules
Then rerun 'mkinitrd' [used own /boot/initrd.img - default is OK]
So that the 'md' disks were available after 'initrd' was finished with...
Then select the new /dev/md1 image on the lilo boot...
[As you can see, booting from LILO, not grub]
Debian is 'testing' or 'sarge'. Pretty up-to-date...
regards
stevej
On Wed, 17 Nov 2004, Stephen Jenkin wrote:
> Anyone done this or can give me pointers??
>
> I've had two goes & am not happy with the result...
>
> Debian (sarge/testing) has install options of LVM or Neil Brown's MDADM
> [multi-disk. Not quite mirroring...]
> Debian doesn't support booting from either. [or so it says]
>
> The sarge-installer's version of LVM concatenated the disks, [raid 0], did
> not seem to offer me raid 1 :-(
>
> Found a package 'raidtools2' & read the doco - gives two methods of
> creating bootable mirrored disk. Is this "the one true way"??
> [apologies in advance, not meant to offend, just my humour]
>
> TIA
> steve
>
> Steve Jenkin, Unix Sys Admin
> 0412 786 915 (+61 412 786 915)
> PO Box 48, Kippax ACT 2615, AUSTRALIA
>
> sjenkin at canb.auug.org.au http://www.tip.net.au/~sjenkin
>
> --
> linux mailing list
> linux at lists.samba.org
> http://lists.samba.org/mailman/listinfo/linux
>
Steve Jenkin, Unix Sys Admin
0412 786 915 (+61 412 786 915)
PO Box 48, Kippax ACT 2615, AUSTRALIA
sjenkin at canb.auug.org.au http://www.tip.net.au/~sjenkin
More information about the linux
mailing list