Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1FM611-0003ev-ME for mharc-grub-devel@gnu.org; Wed, 22 Mar 2006 11:16:55 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FM610-0003eo-7T for grub-devel@gnu.org; Wed, 22 Mar 2006 11:16:54 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FM60z-0003eb-HC for grub-devel@gnu.org; Wed, 22 Mar 2006 11:16:53 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FM60z-0003eY-AB for grub-devel@gnu.org; Wed, 22 Mar 2006 11:16:53 -0500 Received: from [66.187.233.31] (helo=mx1.redhat.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FM61O-0001Le-7I for grub-devel@gnu.org; Wed, 22 Mar 2006 11:17:18 -0500 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k2MGGgQj016137 for ; Wed, 22 Mar 2006 11:16:42 -0500 Received: from devserv.devel.redhat.com (devserv.devel.redhat.com [172.16.58.1]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.11.6) with ESMTP id k2MGGg4E028464 for ; Wed, 22 Mar 2006 11:16:42 -0500 Received: from vroomfondel.internal.datastacks.com (dhcp68.install.boston.redhat.com [10.13.0.68]) by devserv.devel.redhat.com (8.12.11/8.12.11) with ESMTP id k2MGGfp4029977 for ; Wed, 22 Mar 2006 11:16:42 -0500 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by vroomfondel.internal.datastacks.com (8.13.5/8.13.4) with ESMTP id k2MGGegH028929 for ; Wed, 22 Mar 2006 11:16:41 -0500 From: Peter Jones To: The development of GRUB 2 In-Reply-To: <44209DCE.4070208@personnelware.com> References: <44209DCE.4070208@personnelware.com> Content-Type: text/plain Organization: Red Hat, Inc. Date: Wed, 22 Mar 2006 11:16:39 -0500 Message-Id: <1143044200.24732.10.camel@vroomfondel.internal.datastacks.com> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 (2.6.0-1) Content-Transfer-Encoding: 7bit Subject: Re: software raid1 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Mar 2006 16:16:54 -0000 On Tue, 2006-03-21 at 18:43 -0600, Carl Karsten wrote: > I have been messing around with software raid1 - mirroring 2 drives - including > the boot sectors. The goal is to be able to remove either drive and still have a > functioning system. > > I realize that this is "not supported" given that "Add support for software > RAID" is on the http://grub.enbug.org/TodoList but I have heard it can be done > with some trickery: install grub on both drives and rely on the fact that > /dev/hda1 and /dev/hda2 and /dev/md0 are all "the same thing" as long as md0 is > the only one that gets written to. > > I did run into one problem: if you have ide master and slave, and you pull the > master, the slave dissapears and the box/bios won't see it so it won't boot from > it. so I am guessing I have to make each drive the master on a seperate ide bus > so that pulling one won't take out the other. If you swap the drives, you can boot the second one. Sometimes this is possible with only a BIOS change, sometimes you have to re-cable them. Depends on your BIOS. It should be possible, if they're both bootable in the BIOS, to install grub on the MBR of each half, and then swapping the drives shouldn't be required, you'd just have to make BIOS boot the second (or, rather, non-failed) disk. > Before I spend too much time trying to make this work, anyone know of a HowTo > that outlines this? Not exactly -- I've got patches for GRUB Legacy's grub-install if you're interested in looking at them. They're in the Fedora grub package, or I can mail them to you if you need. (Also, if Marco or Yoshinori are interested in such a patch for Legacy, I could prepare it for submission upstream.) -- Peter