On Wed, Jul 18, 2007 at 04:23:38PM -0700, Mike Bird wrote: > On Wednesday 18 July 2007 15:50, besonen wrote: > > is it true that with software raid 1 that i cannot have the boot drive > > protected? > > No. However, getting the mirror of the boot drive to be bootable > under grub in readiness for when the boot drive fails does not seem > to me to be quite as easy/reliable as it was under LILO. Maybe a > grub expert can post a reliable recipe here.
hmmm... my system boots from grub just fine with no magic. This is using a raid1 /boot partition mirrored over 4 drives (for convenience). I can manually edit the boot stanzas to boot from any of the partitions in that array and it works fine. my grub stanza title Xen 3.0.3-1-i386 / Debian GNU/Linux, kernel 2.6.18-4-xen-686 root (hd0,0) kernel /xen-3.0.3-1-i386.gz module /vmlinuz-2.6.18-4-xen-686 root=/dev/md1 ro console=tty0 pciback.hide=(0000:02:08.0) module /initrd.img-2.6.18-4-xen-686 savedefault note the root line (hd0,0). that could just as easily be (hd1,0) or (hd2,0) or (hd3,0). I know I tested it when I built the array, but now you've got me worried that maybe it doesn't work. ack. my pertinent array looks like this: md0 : active raid1 hda1[0] hde1[3] hdg1[2] hdc1[1] 248896 blocks [4/4] [UUUU] and is mounted on /boot. Am I missing something? A
signature.asc
Description: Digital signature