From owner-freebsd-questions@FreeBSD.ORG Sat Apr 29 08:08:40 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE62F16A402 for ; Sat, 29 Apr 2006 08:08:40 +0000 (UTC) (envelope-from ijeff@sandbox.ca) Received: from sandbox.ca (zaphod.sandbox.ca [199.246.50.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12DA743D45 for ; Sat, 29 Apr 2006 08:08:39 +0000 (GMT) (envelope-from ijeff@sandbox.ca) Received: from sandbox.ca (localhost.sandbox.ca [127.0.0.1]) by sandbox.ca (8.12.6/8.12.6) with ESMTP id k3T88bx1027874; Sat, 29 Apr 2006 04:08:37 -0400 (EDT) (envelope-from ijeff@sandbox.ca) Received: from localhost (ijeff@localhost) by sandbox.ca (8.12.6/8.12.6/Submit) with ESMTP id k3T88ap3027871; Sat, 29 Apr 2006 04:08:36 -0400 (EDT) Date: Sat, 29 Apr 2006 04:08:36 -0400 (EDT) From: Ian Jefferson To: Joe Gross In-Reply-To: <20060429065654.GA55926@felix.stimpy.net> Message-ID: <20060429040355.Y27839@sandbox.ca> References: <20060429065654.GA55926@felix.stimpy.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.0-igj_main_2005_08_07 X-Spam-Checker-Version: SpamAssassin 3.1.0-igj_main_2005_08_07 (2005-09-13) on zaphod.sandbox.ca Cc: freebsd-questions@freebsd.org Subject: Re: Problem creating DR bootable disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Apr 2006 08:08:40 -0000 I just moved my 6.0 Release from one slice to another. The procedure is similar. You could look at my response to expanding a partition, same idea. So relocating a copy of 6.0 (at least) works OK for booting. What happens when you pull the raid card? I'm guessing that bios is ignored pretty early in the boot processs. Your disks might get renumbered somehow. Choice of boot manager? IJ On Fri, 28 Apr 2006, Joe Gross wrote: > I'm running FreeBSD 6.1-RC #0 with a generic kernel and an Asus A8V > motherboard. I have three IDE disks in my system. Two are on a 3ware > 7200 RAID card in a RAID1 configuration. This is currently used to > boot. > > The third disk is intended to be a DR disk, with a nightly script to > mount, sync, change twed0 to ad0 in fstab, and unmount. If something > untoward would happen to the main RAID, I could simply reset the boot > list in the BIOS and boot off the DR disk that has an image from early > that morning. This is also a handy way to "shuffle" the OS onto larger > disks as I upgrade. > > I was using this in 4.10 with an Asus a7v133 board and fortunately > never had to utilize the DR capability. It did pass tests for booting > off the new disk and I did several disk upgrade shuffles over the > years. > > For 4.10 the script I used to initialize the DR disk and add boot > blocks was: > > #!/bin/sh > dd if=/dev/zero of=/dev/ad0 bs=1k count=1 > fdisk -BI ad0 > disklabel -B -w -r ad0s1 auto > disklabel -R -r ad0s1 disklabel.250 > disklabel -B -r ad0s1 > newfs -U -i 20480 /dev/ad0s1a > > This doesn't work with 6.0. When I try to boot off the secondary disk > it gets through the initial loader and then spews what looks like a > repeating register dump. Nothing short of a power cycle will kill > it. I can't say exactly what it says since it's scrolling too fast to > read. > > Everything I've read indicates the procedure hasn't changed in > 6.0. Any suggestions on where to look or what to try? > > Thanks for the help, > > Joe > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >